|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef ELECTRON_TRUTH_DECORATOR_ALG_HH
6 #define ELECTRON_TRUTH_DECORATOR_ALG_HH
9 #include "GaudiKernel/ToolHandle.h"
14 #include "AthLinks/ElementLink.h"
27 ISvcLocator* pSvcLocator );
35 this,
"electronContainer",
"Electrons",
36 "Key for the input electron collection"};
41 this,
"acc_ftagTruthOriginLabel",
"ftagTruthOriginLabel",
42 "Accessor for the truth origin label of the truth particle"};
44 this,
"acc_ftagTruthTypeLabel",
"ftagTruthTypeLabel",
45 "Accessor for the truth type label of the truth particle"};
47 this,
"acc_ftagTruthSourceLabel",
"ftagTruthSourceLabel",
48 "Accessor for the truth source label of the truth particle"};
50 this,
"acc_ftagTruthVertexIndex",
"ftagTruthVertexIndex",
51 "Accessor for the truth vertex index of the truth particle"};
53 this,
"acc_ftagTruthParentBarcode",
"ftagTruthParentBarcode",
54 "Accessor for the truth parent barcode of the truth particle"};
59 this,
"dec_ftagTruthOriginLabel",
"ftagTruthOriginLabel",
60 "Exclusive origin label of the electron"};
62 this,
"dec_ftagTruthTypeLabel",
"ftagTruthTypeLabel",
63 "Exclusive truth type label of the electron"};
65 this,
"dec_ftagTruthSourceLabel",
"ftagTruthSourceLabel",
66 "Exclusive truth label for the immedate parent of the truth particle"};
68 this,
"dec_ftagTruthVertexIndex",
"ftagTruthVertexIndex",
69 "Truth vertex index of the electron"};
71 this,
"dec_ftagTruthBarcode",
"ftagTruthBarcode",
72 "Barcode of linked truth particle"};
74 this,
"dec_ftagTruthParentBarcode",
"ftagTruthParentBarcode",
75 "Barcode of parent of linked truth particle"};
79 this,
"trackTruthOriginTool",
"InDet::InDetTrackTruthOriginTool",
80 "track truth origin tool"};
SoftElectronTruthDecoratorAlg(const std::string &name, ISvcLocator *pSvcLocator)
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
This file contains "getter" functions used for accessing tagger inputs from the EDM.
virtual StatusCode execute(const EventContext &) const override
const std::set< int > m_valid_types
Helper class to provide constant type-safe access to aux data.
SG::ReadHandleKey< xAOD::ElectronContainer > m_ElectronContainerKey
An algorithm that can be simultaneously executed in multiple threads.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
::StatusCode StatusCode
StatusCode definition for legacy code.
WDHK m_dec_parent_barcode
ToolHandle< InDet::InDetTrackTruthOriginTool > m_trackTruthOriginTool
RDHK m_acc_parent_barcode
virtual StatusCode initialize() override
Acc< ElementLink< xAOD::TruthParticleContainer > > m_truthParticleLink
Base class for elements of a container that can have aux data.
Acc< unsigned int > m_classifierParticleType