 |
ATLAS Offline Software
|
Go to the documentation of this file.
8 #ifndef TAU_ANALYSIS_ALGORITHMS__TAU_TRUTH_DECORATIONS_ALG_H
9 #define TAU_ANALYSIS_ALGORITHMS__TAU_TRUTH_DECORATIONS_ALG_H
36 Gaudi::Property<std::vector<std::string>>
m_doubleDecorations {
this,
"doubleDecorations", {},
"the list decorations with type double to copy"};
37 Gaudi::Property<std::vector<std::string>>
m_floatDecorations {
this,
"floatDecorations", {},
"the list decorations with type float to copy"};
38 Gaudi::Property<std::vector<std::string>>
m_intDecorations {
this,
"intDecorations", {},
"the list decorations with type int to copy"};
39 Gaudi::Property<std::vector<std::string>>
m_unsignedIntDecorations {
this,
"unsignedIntDecorations", {},
"the list decorations with type unsigned int to copy"};
40 Gaudi::Property<std::vector<std::string>>
m_charDecorations {
this,
"charDecorations", {},
"the list decorations with type char to copy"};
41 Gaudi::Property<std::string>
m_prefix {
this,
"prefix",
"truth_",
"the prefix to be added to all output decorations"};
51 this,
"decayModeDecoration",
"truth_DecayMode",
"the decoration for the tau decay mode"};
53 this,
"particleTypeDecoration",
"truth_ParticleType",
"the decoration for the tau particle type"};
56 this,
"partonTruthLabelIDDecoration",
"truth_PartonTruthLabelID",
"the decoration for the tau parton truth label ID from the linked jet"};
std::unordered_map< std::unique_ptr< SG::ConstAccessor< double > >, SG::WriteDecorHandleKey< xAOD::TauJetContainer > > m_doubleWriteHandleKeys
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
SG::WriteDecorHandleKey< xAOD::TauJetContainer > m_truthDecayModeKey
Gaudi::Property< std::vector< std::string > > m_doubleDecorations
the decoration for the tau scale factor
Gaudi::Property< std::vector< std::string > > m_unsignedIntDecorations
Gaudi::Property< std::string > m_prefix
std::unordered_map< std::unique_ptr< SG::ConstAccessor< unsigned int > >, SG::WriteDecorHandleKey< xAOD::TauJetContainer > > m_unsignedIntWriteHandleKeys
StatusCode initialize() override
SG::WriteDecorHandleKey< xAOD::TauJetContainer > m_truthParticleTypeKey
std::unordered_map< std::unique_ptr< SG::ConstAccessor< float > >, SG::WriteDecorHandleKey< xAOD::TauJetContainer > > m_floatWriteHandleKeys
std::unordered_map< std::unique_ptr< SG::ConstAccessor< char > >, SG::WriteDecorHandleKey< xAOD::TauJetContainer > > m_charWriteHandleKeys
Gaudi::Property< std::vector< std::string > > m_floatDecorations
Property holding a SG store/key/clid from which a ReadHandle is made.
Select isolated Photons, Electrons and Muons.
StatusCode execute(const EventContext &ctx) const override
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Property< std::vector< std::string > > m_intDecorations
an algorithm to decorate truth matched information
AnaReentrantAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
the base class for EventLoop reentrant algorithms
std::unordered_map< std::unique_ptr< SG::ConstAccessor< int > >, SG::WriteDecorHandleKey< xAOD::TauJetContainer > > m_intWriteHandleKeys
SG::ReadHandleKey< xAOD::TauJetContainer > m_tausKey
the tau collection we run on
SG::WriteDecorHandleKey< xAOD::TauJetContainer > m_partonTruthLabelIDKey
Gaudi::Property< std::vector< std::string > > m_charDecorations