![]() |
ATLAS Offline Software
|
an algorithm to merge truth particles collections in the overlay store More...
#include <MergeTruthParticlesTool.h>
Public Member Functions | |
| MergeTruthParticlesTool (const std::string &type, const std::string &name, const IInterface *parent) | |
| StatusCode | initialize () override final |
| Initialize. | |
| virtual StatusCode | prepareEvent (const EventContext &ctx, unsigned int nInputEvents) override final |
| called before the subevts loop. | |
| virtual StatusCode | mergeEvent (const EventContext &ctx) override final |
| called at the end of the subevts loop. | |
| virtual StatusCode | processBunchXing (int bunchXing, SubEventIterator bSubEvents, SubEventIterator eSubEvents) override final |
| called for each active bunch-crossing to process current SubEvents bunchXing is in ns | |
| virtual StatusCode | processAllSubEvents (const EventContext &ctx) override final |
| Merge the Truth TruthParticleContainers using the PileUpMergeSvc. | |
Private Member Functions | |
| virtual StatusCode | processTruthParticleContainer (const xAOD::TruthParticleContainer *inputTruthParticleContainer, xAOD::TruthParticleContainer *outputTruthParticleContainer, int eventNumber) |
| TruthParticleContainer Loop. | |
| StatusCode | record (const xAOD::TruthParticleContainer *pTruthParticles, const std::string &truthParticleContainerName) const |
Private Attributes | |
| ServiceHandle< PileUpMergeSvc > | m_pMergeSvc {this, "PileUpMergeSvc", "PileUpMergeSvc", ""} |
| Gaudi::Property< std::string > | m_inputTruthParticleCollKey {this, "InputTruthParticleCollKey", "TruthPileupParticles", ""} |
| Gaudi::Property< std::string > | m_inTimeOutputTruthParticleCollKey {this, "InTimeOutputTruthParticleCollKey", "TruthPileupParticles", ""} |
| Gaudi::Property< bool > | m_includeSignalTruthParticles {this, "IncludeSignalTruthParticles", false, ""} |
| xAOD::TruthParticleContainer * | m_inTimeOutputTruthParticleContainer {} |
| bool | m_first_event {true} |
structors and AlgTool implementation | |
| virtual bool | toProcess (int bunchXing) const override |
| the method this base class helps implementing | |
| virtual bool | filterPassed () const override |
| dummy implementation of passing filter | |
| virtual void | resetFilter () override |
| dummy implementation of filter reset | |
| Gaudi::Property< int > | m_firstXing |
| Gaudi::Property< int > | m_lastXing |
| Gaudi::Property< int > | m_vetoPileUpTruthLinks |
| bool | m_filterPassed {true} |
an algorithm to merge truth particles collections in the overlay store
Definition at line 23 of file MergeTruthParticlesTool.h.
| MergeTruthParticlesTool::MergeTruthParticlesTool | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Definition at line 12 of file MergeTruthParticlesTool.cxx.
|
inlineoverridevirtualinherited |
|
finaloverridevirtual |
Initialize.
Reimplemented from PileUpToolBase.
Definition at line 19 of file MergeTruthParticlesTool.cxx.
|
finaloverridevirtual |
called at the end of the subevts loop.
Not (necessarily) able to access SubEvents
Definition at line 70 of file MergeTruthParticlesTool.cxx.
|
finaloverridevirtual |
called before the subevts loop.
Not (necessarily) able to access SubEvents
Definition at line 26 of file MergeTruthParticlesTool.cxx.
|
finaloverridevirtual |
Merge the Truth TruthParticleContainers using the PileUpMergeSvc.
Reimplemented from PileUpToolBase.
Definition at line 109 of file MergeTruthParticlesTool.cxx.
|
finaloverridevirtual |
called for each active bunch-crossing to process current SubEvents bunchXing is in ns
Reimplemented from PileUpToolBase.
Definition at line 36 of file MergeTruthParticlesTool.cxx.
|
privatevirtual |
TruthParticleContainer Loop.
Definition at line 158 of file MergeTruthParticlesTool.cxx.
|
private |
Definition at line 85 of file MergeTruthParticlesTool.cxx.
|
inlineoverridevirtualinherited |
dummy implementation of filter reset
Reimplemented in MergeTruthJetsTool.
Definition at line 51 of file PileUpToolBase.h.
|
inlineoverridevirtualinherited |
the method this base class helps implementing
Reimplemented in MergeHijingParsTool, and MergeTrackRecordCollTool.
Definition at line 32 of file PileUpToolBase.h.
|
protectedinherited |
Definition at line 60 of file PileUpToolBase.h.
|
private |
Definition at line 55 of file MergeTruthParticlesTool.h.
|
protectedinherited |
Definition at line 54 of file PileUpToolBase.h.
|
private |
Definition at line 53 of file MergeTruthParticlesTool.h.
|
private |
Definition at line 51 of file MergeTruthParticlesTool.h.
|
private |
Definition at line 52 of file MergeTruthParticlesTool.h.
|
private |
Definition at line 54 of file MergeTruthParticlesTool.h.
|
protectedinherited |
Definition at line 56 of file PileUpToolBase.h.
|
private |
Definition at line 50 of file MergeTruthParticlesTool.h.
|
protectedinherited |
Definition at line 58 of file PileUpToolBase.h.