Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Guillermo Nicolas Hamity
athena
Commits
f051d344
Commit
f051d344
authored
2 years ago
by
scott snyder
Committed by
scott snyder
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
VP1BPhysSystems: Remove dependency on EventInfo.
Remove dependency on old EventInfo class.
parent
d2af3b34
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
graphics/VP1/VP1Systems/VP1BPhysSystems/CMakeLists.txt
+2
-2
2 additions, 2 deletions
graphics/VP1/VP1Systems/VP1BPhysSystems/CMakeLists.txt
graphics/VP1/VP1Systems/VP1BPhysSystems/src/VP1BPhysSystem.cxx
+4
-13
4 additions, 13 deletions
...ics/VP1/VP1Systems/VP1BPhysSystems/src/VP1BPhysSystem.cxx
with
6 additions
and
15 deletions
graphics/VP1/VP1Systems/VP1BPhysSystems/CMakeLists.txt
+
2
−
2
View file @
f051d344
# Copyright (C) 2002-202
0
CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-202
2
CERN for the benefit of the ATLAS collaboration
# Declare the package name:
atlas_subdir
(
VP1BPhysSystems
)
...
...
@@ -22,4 +22,4 @@ atlas_add_library( VP1BPhysSystems VP1BPhysSystems/*.h src/*.h src/*.cxx src/*.q
PUBLIC_HEADERS VP1BPhysSystems
PRIVATE_INCLUDE_DIRS
${
ROOT_INCLUDE_DIRS
}
${
COIN3D_INCLUDE_DIRS
}
LINK_LIBRARIES GeoPrimitives VP1Base VP1TrackSystems GL
PRIVATE_LINK_LIBRARIES
${
ROOT_LIBRARIES
}
${
COIN3D_LIBRARIES
}
EventInfo
Particle StoreGateLib TrkExInterfaces TrkParameters TrkTrack VP1Utils
)
PRIVATE_LINK_LIBRARIES
${
ROOT_LIBRARIES
}
${
COIN3D_LIBRARIES
}
Particle StoreGateLib TrkExInterfaces TrkParameters TrkTrack VP1Utils
)
This diff is collapsed.
Click to expand it.
graphics/VP1/VP1Systems/VP1BPhysSystems/src/VP1BPhysSystem.cxx
+
4
−
13
View file @
f051d344
/*
Copyright (C) 2002-202
0
CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-202
2
CERN for the benefit of the ATLAS collaboration
*/
/////////////////////////////////////////////////////////////////////////
...
...
@@ -36,8 +36,6 @@
#include
"StoreGate/StoreGateSvc.h"
#include
"EventInfo/EventInfo.h"
#include
"EventInfo/EventID.h"
#include
"TrkTrack/Track.h"
#include
"TrkTrack/TrackCollection.h"
...
...
@@ -204,16 +202,9 @@ void VP1BPhysSystem::actualBuild() {
if
(
m_tree
==
nullptr
)
return
;
//retrieving event info
const
EventInfo
*
eventInfo
;
StatusCode
sc
=
m_sg
->
retrieve
(
eventInfo
);
if
(
!
sc
.
isSuccess
())
{
message
(
"Error: Could not retrieve EventInfo"
);
return
;
}
const
EventID
*
eventID
=
eventInfo
->
event_ID
();
// Get EventInfo
int
evtNum
=
eventID
->
event_number
();
int
runNum
=
eventID
->
run_number
();
const
EventContext
&
ctx
=
Gaudi
::
Hive
::
currentContext
();
int
evtNum
=
ctx
.
eventID
().
event_number
();
int
runNum
=
ctx
.
eventID
().
run_number
();
//retrieve TrackParticle candidates
const
Rec
::
TrackParticleContainer
*
partCont
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment