![]() |
ATLAS Offline Software
|
an algorithm to merge truth jet collections in the overlay store More...
#include <MergeTruthJetsTool.h>
Public Member Functions | |
| MergeTruthJetsTool (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 JetContainers using the PileUpMergeSvc. | |
| virtual void | resetFilter () override final |
| implementation of filter reset | |
Private Member Functions | |
| virtual double | processJetContainer (const xAOD::JetContainer *inputJetContainer, xAOD::JetContainer *outputJetContainer, const double &ptCut, const float &timeOfBCID, int eventNumber) |
| JetContainer Loop. | |
Private Attributes | |
| ServiceHandle< PileUpMergeSvc > | m_pMergeSvc {this, "PileUpMergeSvc", "PileUpMergeSvc", ""} |
| Gaudi::Property< std::string > | m_inputJetCollKey {this, "InputTruthJetCollKey", "AntiKt4TruthJets", ""} |
| Gaudi::Property< std::string > | m_inTimeOutputJetCollKey {this, "InTimeOutputTruthJetCollKey", "InTimeAntiKt4TruthJets", ""} |
| Gaudi::Property< std::string > | m_outOfTimeOutputJetCollKey {this, "OutOfTimeTruthJetCollKey", "OutOfTimeAntiKt4TruthJets", ""} |
| Gaudi::Property< double > | m_inTimePtCut {this, "InTimePtCut", 10.0*Gaudi::Units::GeV, ""} |
| Gaudi::Property< double > | m_outOfTimePtCut {this, "OutOfTimePtCut", 15.0*Gaudi::Units::GeV, ""} |
| Gaudi::Property< bool > | m_activateFilter {this, "ActivateFilter", false, ""} |
| Gaudi::Property< bool > | m_includeSignalJets {this, "IncludeSignalJets", false, ""} |
| std::unique_ptr< xAOD::JetContainer > | m_inTimeOutputJetContainer {} |
| std::unique_ptr< xAOD::JetAuxContainer > | m_inTimeOutputJetAuxContainer {} |
| std::unique_ptr< xAOD::JetContainer > | m_outOfTimeOutputJetContainer {} |
| std::unique_ptr< xAOD::JetAuxContainer > | m_outOfTimeOutputJetAuxContainer {} |
| bool | m_first_event {true} |
| double | m_signal_max_pT {-1.0} |
| double | m_pileup_max_pT {-1.0} |
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 | |
| Gaudi::Property< int > | m_firstXing |
| Gaudi::Property< int > | m_lastXing |
| Gaudi::Property< int > | m_vetoPileUpTruthLinks |
| bool | m_filterPassed {true} |
an algorithm to merge truth jet collections in the overlay store
Definition at line 24 of file MergeTruthJetsTool.h.
| MergeTruthJetsTool::MergeTruthJetsTool | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Definition at line 11 of file MergeTruthJetsTool.cxx.
|
inlineoverridevirtualinherited |
|
finaloverridevirtual |
Initialize.
Reimplemented from PileUpToolBase.
Definition at line 18 of file MergeTruthJetsTool.cxx.
|
finaloverridevirtual |
called at the end of the subevts loop.
Not (necessarily) able to access SubEvents
Definition at line 94 of file MergeTruthJetsTool.cxx.
|
finaloverridevirtual |
called before the subevts loop.
Not (necessarily) able to access SubEvents
Definition at line 25 of file MergeTruthJetsTool.cxx.
|
finaloverridevirtual |
Merge the Truth JetContainers using the PileUpMergeSvc.
Reimplemented from PileUpToolBase.
Definition at line 120 of file MergeTruthJetsTool.cxx.
|
finaloverridevirtual |
called for each active bunch-crossing to process current SubEvents bunchXing is in ns
Reimplemented from PileUpToolBase.
Definition at line 42 of file MergeTruthJetsTool.cxx.
|
privatevirtual |
JetContainer Loop.
Definition at line 203 of file MergeTruthJetsTool.cxx.
|
inlinefinaloverridevirtual |
implementation of filter reset
Reimplemented from PileUpToolBase.
Definition at line 49 of file MergeTruthJetsTool.h.
|
inlineoverridevirtualinherited |
the method this base class helps implementing
Reimplemented in MergeHijingParsTool, and MergeTrackRecordCollTool.
Definition at line 32 of file PileUpToolBase.h.
|
private |
Definition at line 60 of file MergeTruthJetsTool.h.
|
protectedinherited |
Definition at line 60 of file PileUpToolBase.h.
|
private |
Definition at line 66 of file MergeTruthJetsTool.h.
|
protectedinherited |
Definition at line 54 of file PileUpToolBase.h.
|
private |
Definition at line 61 of file MergeTruthJetsTool.h.
|
private |
Definition at line 55 of file MergeTruthJetsTool.h.
|
private |
Definition at line 63 of file MergeTruthJetsTool.h.
|
private |
Definition at line 56 of file MergeTruthJetsTool.h.
|
private |
Definition at line 62 of file MergeTruthJetsTool.h.
|
private |
Definition at line 58 of file MergeTruthJetsTool.h.
|
protectedinherited |
Definition at line 56 of file PileUpToolBase.h.
|
private |
Definition at line 65 of file MergeTruthJetsTool.h.
|
private |
Definition at line 57 of file MergeTruthJetsTool.h.
|
private |
Definition at line 64 of file MergeTruthJetsTool.h.
|
private |
Definition at line 59 of file MergeTruthJetsTool.h.
|
private |
Definition at line 68 of file MergeTruthJetsTool.h.
|
private |
Definition at line 54 of file MergeTruthJetsTool.h.
|
private |
Definition at line 67 of file MergeTruthJetsTool.h.
|
protectedinherited |
Definition at line 58 of file PileUpToolBase.h.