|
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
40 this,
"taus",
"TauJets",
"the tau collection to run on"};
45 this,
"preselection",
"",
"the preselection to apply"};
49 Gaudi::Property<std::vector<std::string>>
m_doubleDecorations {
this,
"doubleDecorations", {},
"the list decorations with type double to copy"};
50 Gaudi::Property<std::vector<std::string>>
m_floatDecorations {
this,
"floatDecorations", {},
"the list decorations with type float to copy"};
51 Gaudi::Property<std::vector<std::string>>
m_intDecorations {
this,
"intDecorations", {},
"the list decorations with type int to copy"};
52 Gaudi::Property<std::vector<std::string>>
m_charDecorations {
this,
"charDecorations", {},
"the list decorations with type char to copy"};
53 Gaudi::Property<std::string>
m_prefix {
this,
"prefix",
"truth_",
"the prefix to be added to all output decorations"};
56 std::vector<std::pair<std::unique_ptr<SG::AuxElement::ConstAccessor<double>>, std::unique_ptr<SysWriteDecorHandle<float>>>>
m_doubleWriteHandles;
57 std::vector<std::pair<std::unique_ptr<SG::AuxElement::ConstAccessor<float>>, std::unique_ptr<SysWriteDecorHandle<float>>>>
m_floatWriteHandles;
58 std::vector<std::pair<std::unique_ptr<SG::AuxElement::ConstAccessor<int>>, std::unique_ptr<SysWriteDecorHandle<int>>>>
m_intWriteHandles;
59 std::vector<std::pair<std::unique_ptr<SG::AuxElement::ConstAccessor<char>>, std::unique_ptr<SysWriteDecorHandle<char>>>>
m_charWriteHandles;
62 this,
"decayModeDecoration",
"truth_DecayMode",
"the decoration for the tau decay mode"};
64 this,
"particleTypeDecoration",
"truth_ParticleType",
"the decoration for the tau particle type"};
a class managing the property to configure the list of systematics to process
Gaudi::Property< std::vector< std::string > > m_doubleDecorations
the decoration for the tau scale factor
Gaudi::Property< std::string > m_prefix
StatusCode initialize() override
SysReadHandle< xAOD::TauJetContainer > m_tauHandle
the tau collection we run on
Gaudi::Property< std::vector< std::string > > m_floatDecorations
Select isolated Photons, Electrons and Muons.
std::vector< std::pair< std::unique_ptr< SG::AuxElement::ConstAccessor< char > >, std::unique_ptr< SysWriteDecorHandle< char > > > > m_charWriteHandles
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
the (new) base class for EventLoop algorithms
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode execute() override
Gaudi::Property< std::vector< std::string > > m_intDecorations
std::vector< std::pair< std::unique_ptr< SG::AuxElement::ConstAccessor< int > >, std::unique_ptr< SysWriteDecorHandle< int > > > > m_intWriteHandles
an algorithm to decorate truth matched information
SysWriteDecorHandle< int > m_truthDecayModeDecoration
a data handle for reading systematically varied selection properties from objects
SysReadSelectionHandle m_preselection
the preselection we apply to our input
SysWriteDecorHandle< int > m_truthParticleTypeDecoration
std::vector< std::pair< std::unique_ptr< SG::AuxElement::ConstAccessor< float > >, std::unique_ptr< SysWriteDecorHandle< float > > > > m_floatWriteHandles
SysListHandle m_systematicsList
the systematics list we run
std::vector< std::pair< std::unique_ptr< SG::AuxElement::ConstAccessor< double > >, std::unique_ptr< SysWriteDecorHandle< float > > > > m_doubleWriteHandles
Gaudi::Property< std::vector< std::string > > m_charDecorations