![]() |
ATLAS Offline Software
|
a PileUpTool to merge MC truth collection in the overlay store More...
#include <NewMergeMcEventCollTool.h>
Public Member Functions | |
| NewMergeMcEventCollTool (const std::string &type, const std::string &name, const IInterface *parent) | |
| virtual StatusCode | initialize () override final |
| 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, 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 |
| Algorithm Approach. | |
Private Member Functions | |
| StatusCode | processEvent (const McEventCollection *pMcEvtColl, McEventCollection *outputMcEventCollection, int pileupType, long timeOffset=0) |
| void | printDetailsOfMergedMcEventCollection (McEventCollection *outputMcEventCollection) const |
Private Attributes | |
| ServiceHandle< PileUpMergeSvc > | m_pMergeSvc {this, "PileUpMergeSvc", "PileUpMergeSvc", ""} |
| StringProperty | m_truthCollInputKey {this,"TruthCollInputKey", "TruthEvent", ""} |
| Gaudi::Property< int > | m_pileUpType {this, "PileUpType", -1, ""} |
| SG::WriteHandle< McEventCollection > | m_outputMcEventCollection {} |
| SG::WriteHandleKey< McEventCollection > | m_truthCollOutputKey {this, "TruthCollOutputKey","TruthEvent",""} |
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} |
a PileUpTool to merge MC truth collection in the overlay store
Definition at line 24 of file NewMergeMcEventCollTool.h.
| NewMergeMcEventCollTool::NewMergeMcEventCollTool | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Definition at line 8 of file NewMergeMcEventCollTool.cxx.
|
inlineoverridevirtualinherited |
|
finaloverridevirtual |
Reimplemented from PileUpToolBase.
Definition at line 15 of file NewMergeMcEventCollTool.cxx.
|
finaloverridevirtual |
called at the end of the subevts loop.
Not (necessarily) able to access SubEvents
Definition at line 72 of file NewMergeMcEventCollTool.cxx.
|
finaloverridevirtual |
called before the subevts loop.
PileUpTools Approach.
Not (necessarily) able to access SubEvents
Definition at line 24 of file NewMergeMcEventCollTool.cxx.
|
private |
Definition at line 153 of file NewMergeMcEventCollTool.cxx.
|
finaloverridevirtual |
Algorithm Approach.
Reimplemented from PileUpToolBase.
Definition at line 80 of file NewMergeMcEventCollTool.cxx.
|
finaloverridevirtual |
called for each active bunch-crossing to process current SubEvents bunchXing is in ns
Reimplemented from PileUpToolBase.
Definition at line 52 of file NewMergeMcEventCollTool.cxx.
|
private |
Definition at line 115 of file NewMergeMcEventCollTool.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.
|
protectedinherited |
Definition at line 54 of file PileUpToolBase.h.
|
protectedinherited |
Definition at line 56 of file PileUpToolBase.h.
|
private |
Definition at line 57 of file NewMergeMcEventCollTool.h.
|
private |
Definition at line 55 of file NewMergeMcEventCollTool.h.
|
private |
Definition at line 51 of file NewMergeMcEventCollTool.h.
|
private |
Definition at line 53 of file NewMergeMcEventCollTool.h.
|
private |
Definition at line 59 of file NewMergeMcEventCollTool.h.
|
protectedinherited |
Definition at line 58 of file PileUpToolBase.h.