Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena-acts
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
Show more breadcrumbs
Dimitra Amperiadou
athena-acts
Commits
a0132023
Commit
a0132023
authored
9 years ago
by
Jovan Mitrevski
Committed by
Graeme Stewart
9 years ago
Browse files
Options
Downloads
Patches
Plain Diff
stop producing empty pile-up containers when not requested (xAODTruthCnv-00-01-15)
parent
1647a8e3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Event/xAOD/xAODTruthCnv/src/xAODTruthCnvAlg.cxx
+10
-6
10 additions, 6 deletions
Event/xAOD/xAODTruthCnv/src/xAODTruthCnvAlg.cxx
with
10 additions
and
6 deletions
Event/xAOD/xAODTruthCnv/src/xAODTruthCnvAlg.cxx
+
10
−
6
View file @
a0132023
...
...
@@ -105,12 +105,16 @@ namespace xAODMaker {
xTruthEventContainer
->
setStore
(
xTruthEventAuxContainer
);
ATH_MSG_DEBUG
(
"Recorded TruthEventContainer with key: "
<<
m_xaodTruthEventContainerName
);
// Pile-up events
xAOD
::
TruthPileupEventContainer
*
xTruthPileupEventContainer
=
new
xAOD
::
TruthPileupEventContainer
();
CHECK
(
evtStore
()
->
record
(
xTruthPileupEventContainer
,
m_xaodTruthPUEventContainerName
)
);
xAOD
::
TruthPileupEventAuxContainer
*
xTruthPileupEventAuxContainer
=
new
xAOD
::
TruthPileupEventAuxContainer
();
CHECK
(
evtStore
()
->
record
(
xTruthPileupEventAuxContainer
,
m_xaodTruthPUEventContainerName
+
"Aux."
)
);
xTruthPileupEventContainer
->
setStore
(
xTruthPileupEventAuxContainer
);
ATH_MSG_DEBUG
(
"Recorded TruthPileupEventContainer with key: "
<<
m_xaodTruthPUEventContainerName
);
xAOD
::
TruthPileupEventContainer
*
xTruthPileupEventContainer
=
0
;
xAOD
::
TruthPileupEventAuxContainer
*
xTruthPileupEventAuxContainer
=
0
;
if
(
m_doAllPileUp
||
m_doInTimePileUp
)
{
xTruthPileupEventContainer
=
new
xAOD
::
TruthPileupEventContainer
();
CHECK
(
evtStore
()
->
record
(
xTruthPileupEventContainer
,
m_xaodTruthPUEventContainerName
)
);
xTruthPileupEventAuxContainer
=
new
xAOD
::
TruthPileupEventAuxContainer
();
CHECK
(
evtStore
()
->
record
(
xTruthPileupEventAuxContainer
,
m_xaodTruthPUEventContainerName
+
"Aux."
)
);
xTruthPileupEventContainer
->
setStore
(
xTruthPileupEventAuxContainer
);
ATH_MSG_DEBUG
(
"Recorded TruthPileupEventContainer with key: "
<<
m_xaodTruthPUEventContainerName
);
}
// Particles
xAOD
::
TruthParticleContainer
*
xTruthParticleContainer
=
new
xAOD
::
TruthParticleContainer
();
CHECK
(
evtStore
()
->
record
(
xTruthParticleContainer
,
m_xaodTruthParticleContainerName
)
);
...
...
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