ATLAS Offline Software
Loading...
Searching...
No Matches
FlavorTagDiscriminants::TruthParticleDecoratorAlg Class Reference

#include <TruthParticleDecoratorAlg.h>

Inheritance diagram for FlavorTagDiscriminants::TruthParticleDecoratorAlg:
Collaboration diagram for FlavorTagDiscriminants::TruthParticleDecoratorAlg:

Public Member Functions

 TruthParticleDecoratorAlg (const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize () override
virtual StatusCode execute (const EventContext &) const override
virtual StatusCode sysInitialize () override
 Override sysInitialize.
virtual bool isClonable () const override
 Specify if the algorithm is clonable.
virtual unsigned int cardinality () const override
 Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.
virtual StatusCode sysExecute (const EventContext &ctx) override
 Execute an algorithm.
virtual const DataObjIDColl & extraOutputDeps () const override
 Return the list of extra output dependencies.
virtual bool filterPassed (const EventContext &ctx) const
virtual void setFilterPassed (bool state, const EventContext &ctx) const
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual StatusCode sysStart () override
 Handle START transition.
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles.
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles.
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T, V, H > &t)
void updateVHKA (Gaudi::Details::PropertyBase &)
MsgStream & msg () const
bool msgLvl (const MSG::Level lvl) const

Protected Member Functions

void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce (T &h)
void extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps)
 Add StoreName to extra input/output deps as needed.

Private Types

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t

Private Member Functions

Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey>

Private Attributes

SG::ReadHandleKey< xAOD::TruthParticleContainerm_TruthContainerKey
SG::ReadHandleKey< xAOD::TruthVertexContainerm_TruthPVsKey
SG::WriteDecorHandleKey< xAOD::TruthParticleContainerm_dec_origin_label
SG::WriteDecorHandleKey< xAOD::TruthParticleContainerm_dec_type_label
SG::WriteDecorHandleKey< xAOD::TruthParticleContainerm_dec_source_label
SG::WriteDecorHandleKey< xAOD::TruthParticleContainerm_dec_vertex_index
SG::WriteDecorHandleKey< xAOD::TruthParticleContainerm_dec_parent_uniqueID
ToolHandle< InDet::InDetTrackTruthOriginToolm_truthOriginTool
Gaudi::Property< float > m_truthVertexMergeDistance
Gaudi::Property< bool > m_use_barcode
SG::ConstAccessor< int > m_uid {"uid"}
DataObjIDColl m_extendedExtraObjects
 Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default)
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
bool m_varHandleArraysDeclared

Detailed Description

Definition at line 21 of file TruthParticleDecoratorAlg.h.

Member Typedef Documentation

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ TruthParticleDecoratorAlg()

FlavorTagDiscriminants::TruthParticleDecoratorAlg::TruthParticleDecoratorAlg ( const std::string & name,
ISvcLocator * pSvcLocator )

Definition at line 23 of file TruthParticleDecoratorAlg.cxx.

25 : AthReentrantAlgorithm(name, loc) {}

Member Function Documentation

◆ cardinality()

unsigned int AthCommonReentrantAlgorithm< Gaudi::Algorithm >::cardinality ( ) const
overridevirtualinherited

Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.

Override this to return 0 for reentrant algorithms.

Definition at line 75 of file AthCommonReentrantAlgorithm.cxx.

64{
65 return 0;
66}

◆ declareGaudiProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T, V, H > & hndl,
const SG::VarHandleKeyType &  )
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKey>

Definition at line 156 of file AthCommonDataStore.h.

158 {
160 hndl.value(),
161 hndl.documentation());
162
163 }
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)

◆ declareProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( Gaudi::Property< T, V, H > & t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

145 {
146 typedef typename SG::HandleClassifier<T>::type htype;
148 }
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>

◆ detStore()

const ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::detStore ( ) const
inlineinherited

The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 95 of file AthCommonDataStore.h.

◆ evtStore()

ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::evtStore ( )
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 85 of file AthCommonDataStore.h.

◆ execute()

StatusCode FlavorTagDiscriminants::TruthParticleDecoratorAlg::execute ( const EventContext & ctx) const
overridevirtual

Definition at line 53 of file TruthParticleDecoratorAlg.cxx.

53 {
54 ATH_MSG_DEBUG( "Executing " << name() << "... " );
55
57
58 // read collections
59 SG::ReadHandle<TPC> truth_particles(m_TruthContainerKey,ctx);
60 CHECK( truth_particles.isValid() );
61 ATH_MSG_DEBUG( "Retrieved " << truth_particles->size() << " truth_particles..." );
62 SG::ReadHandle<xAOD::TruthVertexContainer> truth_PVs(m_TruthPVsKey, ctx);
63 CHECK( truth_PVs.isValid() );
64 ATH_MSG_DEBUG( "Retrieved " << truth_PVs->size() << " truth PVs..." );
65
66 // get the truth primary vertex
67 if (truth_PVs->size() != 1) {
68 ATH_MSG_ERROR( "Truth PVs != 1" );
69 return StatusCode::FAILURE;
70 }
71 const xAOD::TruthVertex* truth_PV = truth_PVs->at(0);
72
73
74 // instantiate decorators
75 SG::WriteDecorHandle<TPC, int> dec_origin_label(m_dec_origin_label, ctx);
76 SG::WriteDecorHandle<TPC, int> dec_type_label(m_dec_type_label, ctx);
77 SG::WriteDecorHandle<TPC, int> dec_source_label(m_dec_source_label, ctx);
78 SG::WriteDecorHandle<TPC, int> dec_vertex_index(m_dec_vertex_index, ctx);
79 SG::WriteDecorHandle<TPC, int> dec_parent_uniqueID(m_dec_parent_uniqueID, ctx);
80
81 // sort the particles by pt to ensure the vertex clustering is deterministic
82 std::vector<const xAOD::TruthParticle*> sorted_truth_particles;
83 for (const auto tp : *truth_particles) { sorted_truth_particles.push_back(tp); }
84 std::sort(sorted_truth_particles.begin(), sorted_truth_particles.end(), TruthDecoratorHelpers::sort_particles);
85
86 // first loop - decorate origin label, just store truth vertex for now
87 auto tp_truth_vertices = std::vector<const xAOD::TruthVertex*>();
88 for ( const auto& truth_particle : sorted_truth_particles ) {
89
90 // for efficiency, skip unstable and low pt particles (< 500 MeV)
91 // c-hadrons are exempt and always labelled so we can trace the b->c decay chains
92 if ( (!MC::isStable(truth_particle) or truth_particle->pt() < 500) and !truth_particle->isCharmHadron()) {
93 dec_origin_label(*truth_particle) = InDet::ExclusiveOrigin::Pileup;
94 dec_type_label(*truth_particle) = TruthDecoratorHelpers::TruthType::Label::NoTruth;
95 dec_source_label(*truth_particle) = TruthDecoratorHelpers::TruthSource::Label::NoTruth;
96 tp_truth_vertices.push_back(nullptr);
97 dec_vertex_index(*truth_particle) = -1;
98 dec_parent_uniqueID(*truth_particle) = HepMC::UNDEFINED_ID;
99 continue;
100 }
101
102 // get parent hadron and decorate uniqueID
103 auto truth_parent = TruthDecoratorHelpers::get_parent_hadron(truth_particle);
104 // ATLASRECTS-8290: replace m_uid with HepMC::uniqueID
105 dec_parent_uniqueID(*truth_particle) = truth_parent ? m_uid(*truth_parent) : HepMC::UNDEFINED_ID;
106
107 // get truth origin and use it for exclusive origin and secondary origin
108 int truth_origin = m_truthOriginTool->getTruthOrigin(truth_particle);
109
110 int truth_origin_label = InDet::ExclusiveOrigin::getExclusiveOrigin(truth_origin);
111 dec_origin_label(*truth_particle) = truth_origin_label;
112
113 int truth_source_label = TruthDecoratorHelpers::get_source_type(truth_origin);
114 dec_source_label(*truth_particle) = truth_source_label;
115
116
117 // get the truth vertex of the particle and store for now
118 auto truth_vertex = TruthDecoratorHelpers::get_truth_vertex(truth_particle);
119 tp_truth_vertices.push_back(truth_vertex);
120
121 // decorate truth type
122 dec_type_label(*truth_particle) = TruthDecoratorHelpers::get_truth_type(truth_particle);
123 }
124
125 // check sorted_truth_particles and tp_truth_vertices have the same length
126 if ( sorted_truth_particles.size() != tp_truth_vertices.size() ) {
127 ATH_MSG_ERROR( "sorted_truth_particles and tp_truth_vertices have different lengths" );
128 return StatusCode::FAILURE;
129 }
130
131 // decorate particle with truth vertex info
132 auto seen_vertices = std::vector<const xAOD::TruthVertex*>();
133 for ( size_t i = 0; i != tp_truth_vertices.size(); i++) {
134 auto this_vert = tp_truth_vertices.at(i);
135 auto this_tp = sorted_truth_particles.at(i);
136 dec_vertex_index(*this_tp) = TruthDecoratorHelpers::get_vertex_index(this_vert, truth_PV, seen_vertices, m_truthVertexMergeDistance); // This is a position in an array of xAOD::TruthVertex objects
137 }
138 return StatusCode::SUCCESS;
139 }
#define ATH_MSG_ERROR(x)
#define ATH_MSG_DEBUG(x)
#define CHECK(...)
Evaluate an expression and check for errors.
ToolHandle< InDet::InDetTrackTruthOriginTool > m_truthOriginTool
SG::WriteDecorHandleKey< xAOD::TruthParticleContainer > m_dec_origin_label
SG::ReadHandleKey< xAOD::TruthVertexContainer > m_TruthPVsKey
SG::WriteDecorHandleKey< xAOD::TruthParticleContainer > m_dec_parent_uniqueID
SG::WriteDecorHandleKey< xAOD::TruthParticleContainer > m_dec_type_label
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_TruthContainerKey
SG::WriteDecorHandleKey< xAOD::TruthParticleContainer > m_dec_source_label
SG::WriteDecorHandleKey< xAOD::TruthParticleContainer > m_dec_vertex_index
const xAOD::TruthVertex * get_truth_vertex(const xAOD::TruthParticle *truth)
const xAOD::TruthParticle * get_parent_hadron(const xAOD::TruthParticle *truth_particle, bool user_called=true, int depth=0)
int get_truth_type(const xAOD::TruthParticle *truth_particle)
int get_vertex_index(const xAOD::TruthVertex *vertex, const xAOD::TruthVertex *truth_PV, std::vector< const xAOD::TruthVertex * > &seen_vertices, const float truthVertexMergeDistance)
bool sort_particles(const xAOD::IParticle *particle_A, const xAOD::IParticle *particle_B)
constexpr int UNDEFINED_ID
bool isStable(const T &p)
Identify if the particle is stable, i.e. has not decayed.
void sort(typename DataModel_detail::iterator< DVL > beg, typename DataModel_detail::iterator< DVL > end)
Specialization of sort for DataVector/List.
TruthVertex_v1 TruthVertex
Typedef to implementation.
Definition TruthVertex.h:15
TruthParticleContainer_v1 TruthParticleContainer
Declare the latest version of the truth particle container.

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::extraDeps_update_handler ( Gaudi::Details::PropertyBase & ExtraDeps)
protectedinherited

Add StoreName to extra input/output deps as needed.

use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given

◆ extraOutputDeps()

const DataObjIDColl & AthCommonReentrantAlgorithm< Gaudi::Algorithm >::extraOutputDeps ( ) const
overridevirtualinherited

Return the list of extra output dependencies.

This list is extended to include symlinks implied by inheritance relations.

Definition at line 94 of file AthCommonReentrantAlgorithm.cxx.

90{
91 // If we didn't find any symlinks to add, just return the collection
92 // from the base class. Otherwise, return the extended collection.
93 if (!m_extendedExtraObjects.empty()) {
95 }
97}
An algorithm that can be simultaneously executed in multiple threads.

◆ filterPassed()

virtual bool AthCommonReentrantAlgorithm< Gaudi::Algorithm >::filterPassed ( const EventContext & ctx) const
inlinevirtualinherited

Definition at line 96 of file AthCommonReentrantAlgorithm.h.

96 {
97 return execState( ctx ).filterPassed();
98 }
virtual bool filterPassed(const EventContext &ctx) const

◆ initialize()

StatusCode FlavorTagDiscriminants::TruthParticleDecoratorAlg::initialize ( )
overridevirtual

Definition at line 27 of file TruthParticleDecoratorAlg.cxx.

27 {
28 ATH_MSG_INFO( "Inizializing " << name() << "... " );
29
30 // Initialize Container keys
31 ATH_MSG_DEBUG( "Inizializing containers:" );
33 ATH_MSG_DEBUG( " ** " << m_TruthPVsKey );
34
35 ATH_CHECK( m_TruthContainerKey.initialize() );
36 ATH_CHECK( m_TruthPVsKey.initialize() );
37
38 ATH_CHECK( m_dec_origin_label.initialize() );
39 ATH_CHECK( m_dec_type_label.initialize() );
40 ATH_CHECK( m_dec_source_label.initialize() );
41 ATH_CHECK( m_dec_vertex_index.initialize() );
42 ATH_CHECK( m_dec_parent_uniqueID.initialize() );
43
44 // Retrieve tools
45 ATH_CHECK( m_truthOriginTool.retrieve() );
46
47 // ATLASRECTS-8290: this should be removed eventually
48 if (m_use_barcode) m_uid = SG::ConstAccessor<int>("barcode");
49
50 return StatusCode::SUCCESS;
51 }
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_INFO(x)

◆ inputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::inputHandles ( ) const
overridevirtualinherited

Return this algorithm's input handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ isClonable()

◆ msg()

MsgStream & AthCommonMsg< Gaudi::Algorithm >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

24 {
25 return this->msgStream();
26 }

◆ msgLvl()

bool AthCommonMsg< Gaudi::Algorithm >::msgLvl ( const MSG::Level lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

30 {
31 return this->msgLevel(lvl);
32 }

◆ outputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles ( ) const
overridevirtualinherited

Return this algorithm's output handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ renounce()

std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounce ( T & h)
inlineprotectedinherited

Definition at line 380 of file AthCommonDataStore.h.

381 {
382 h.renounce();
384 }
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)

◆ renounceArray()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounceArray ( SG::VarHandleKeyArray & handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364 {
366 }

◆ setFilterPassed()

virtual void AthCommonReentrantAlgorithm< Gaudi::Algorithm >::setFilterPassed ( bool state,
const EventContext & ctx ) const
inlinevirtualinherited

Definition at line 100 of file AthCommonReentrantAlgorithm.h.

100 {
102 }
virtual void setFilterPassed(bool state, const EventContext &ctx) const

◆ sysExecute()

StatusCode AthCommonReentrantAlgorithm< Gaudi::Algorithm >::sysExecute ( const EventContext & ctx)
overridevirtualinherited

Execute an algorithm.

We override this in order to work around an issue with the Algorithm base class storing the event context in a member variable that can cause crashes in MT jobs.

Definition at line 85 of file AthCommonReentrantAlgorithm.cxx.

77{
78 return BaseAlg::sysExecute (ctx);
79}

◆ sysInitialize()

StatusCode AthCommonReentrantAlgorithm< Gaudi::Algorithm >::sysInitialize ( )
overridevirtualinherited

Override sysInitialize.

Override sysInitialize from the base class.

Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc

Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc

Reimplemented from AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >.

Reimplemented in HypoBase, and InputMakerBase.

Definition at line 61 of file AthCommonReentrantAlgorithm.cxx.

107 {
109
110 if (sc.isFailure()) {
111 return sc;
112 }
113
114 ServiceHandle<ICondSvc> cs("CondSvc",name());
115 for (auto h : outputHandles()) {
116 if (h->isCondition() && h->mode() == Gaudi::DataHandle::Writer) {
117 // do this inside the loop so we don't create the CondSvc until needed
118 if ( cs.retrieve().isFailure() ) {
119 ATH_MSG_WARNING("no CondSvc found: won't autoreg WriteCondHandles");
120 return StatusCode::SUCCESS;
121 }
122 if (cs->regHandle(this,*h).isFailure()) {
124 ATH_MSG_ERROR("unable to register WriteCondHandle " << h->fullKey()
125 << " with CondSvc");
126 }
127 }
128 }
129 return sc;
130}
#define ATH_MSG_WARNING(x)
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::sysStart ( )
overridevirtualinherited

Handle START transition.

We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.

◆ updateVHKA()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::updateVHKA ( Gaudi::Details::PropertyBase & )
inlineinherited

Definition at line 308 of file AthCommonDataStore.h.

308 {
309 // debug() << "updateVHKA for property " << p.name() << " " << p.toString()
310 // << " size: " << m_vhka.size() << endmsg;
311 for (auto &a : m_vhka) {
313 for (auto k : keys) {
314 k->setOwner(this);
315 }
316 }
317 }

Member Data Documentation

◆ m_dec_origin_label

SG::WriteDecorHandleKey< xAOD::TruthParticleContainer > FlavorTagDiscriminants::TruthParticleDecoratorAlg::m_dec_origin_label
private
Initial value:
{
this, "ftagTruthOriginLabel", m_TruthContainerKey, "ftagTruthOriginLabel",
"Exclusive origin label of the truth particle"}

Definition at line 40 of file TruthParticleDecoratorAlg.h.

40 {
41 this, "ftagTruthOriginLabel", m_TruthContainerKey, "ftagTruthOriginLabel",
42 "Exclusive origin label of the truth particle"};

◆ m_dec_parent_uniqueID

SG::WriteDecorHandleKey< xAOD::TruthParticleContainer > FlavorTagDiscriminants::TruthParticleDecoratorAlg::m_dec_parent_uniqueID
private
Initial value:
{
this, "ftagTruthParentBarcode", m_TruthContainerKey, "ftagTruthParentBarcode",
"UniqueID of parent of linked truth particle"}

Definition at line 52 of file TruthParticleDecoratorAlg.h.

52 {
53 this, "ftagTruthParentBarcode", m_TruthContainerKey, "ftagTruthParentBarcode",
54 "UniqueID of parent of linked truth particle"};

◆ m_dec_source_label

SG::WriteDecorHandleKey< xAOD::TruthParticleContainer > FlavorTagDiscriminants::TruthParticleDecoratorAlg::m_dec_source_label
private
Initial value:
{
this, "ftagTruthSourceLabel", m_TruthContainerKey, "ftagTruthSourceLabel",
"Exclusive truth label for the source of secondary particles"}

Definition at line 46 of file TruthParticleDecoratorAlg.h.

46 {
47 this, "ftagTruthSourceLabel", m_TruthContainerKey, "ftagTruthSourceLabel",
48 "Exclusive truth label for the source of secondary particles"};

◆ m_dec_type_label

SG::WriteDecorHandleKey< xAOD::TruthParticleContainer > FlavorTagDiscriminants::TruthParticleDecoratorAlg::m_dec_type_label
private
Initial value:
{
this, "ftagTruthTypeLabel", m_TruthContainerKey, "ftagTruthTypeLabel",
"Exclusive truth type label of the truth particle"}

Definition at line 43 of file TruthParticleDecoratorAlg.h.

43 {
44 this, "ftagTruthTypeLabel", m_TruthContainerKey, "ftagTruthTypeLabel",
45 "Exclusive truth type label of the truth particle"};

◆ m_dec_vertex_index

SG::WriteDecorHandleKey< xAOD::TruthParticleContainer > FlavorTagDiscriminants::TruthParticleDecoratorAlg::m_dec_vertex_index
private
Initial value:
{
this, "ftagTruthVertexIndex", m_TruthContainerKey, "ftagTruthVertexIndex",
"ftagTruth vertex index of the truth particle"}

Definition at line 49 of file TruthParticleDecoratorAlg.h.

49 {
50 this, "ftagTruthVertexIndex", m_TruthContainerKey, "ftagTruthVertexIndex",
51 "ftagTruth vertex index of the truth particle"};

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_extendedExtraObjects

DataObjIDColl AthCommonReentrantAlgorithm< Gaudi::Algorithm >::m_extendedExtraObjects
privateinherited

Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.

Empty if no symlinks were found.

Definition at line 114 of file AthCommonReentrantAlgorithm.h.

◆ m_TruthContainerKey

SG::ReadHandleKey< xAOD::TruthParticleContainer > FlavorTagDiscriminants::TruthParticleDecoratorAlg::m_TruthContainerKey
private
Initial value:
{
this, "truthContainer", "TruthParticles",
"Key for the input truth particle collection"}

Definition at line 32 of file TruthParticleDecoratorAlg.h.

32 {
33 this, "truthContainer", "TruthParticles",
34 "Key for the input truth particle collection"};

◆ m_truthOriginTool

ToolHandle<InDet::InDetTrackTruthOriginTool> FlavorTagDiscriminants::TruthParticleDecoratorAlg::m_truthOriginTool
private
Initial value:
{
this, "trackTruthOriginTool", "InDet::InDetTrackTruthOriginTool",
"track truth origin tool"}

Definition at line 57 of file TruthParticleDecoratorAlg.h.

57 {
58 this, "trackTruthOriginTool", "InDet::InDetTrackTruthOriginTool",
59 "track truth origin tool"};

◆ m_TruthPVsKey

SG::ReadHandleKey< xAOD::TruthVertexContainer > FlavorTagDiscriminants::TruthParticleDecoratorAlg::m_TruthPVsKey
private
Initial value:
{
this, "TruthPrimaryVertices", "TruthPrimaryVertices",
"Key for the input truth PV collection"}

Definition at line 35 of file TruthParticleDecoratorAlg.h.

35 {
36 this, "TruthPrimaryVertices", "TruthPrimaryVertices",
37 "Key for the input truth PV collection"};

◆ m_truthVertexMergeDistance

Gaudi::Property<float> FlavorTagDiscriminants::TruthParticleDecoratorAlg::m_truthVertexMergeDistance
private
Initial value:
{
this, "truthVertexMergeDistance", 0.1,
"Merge any truth vertices within this distance [mm]"}

Definition at line 61 of file TruthParticleDecoratorAlg.h.

61 {
62 this, "truthVertexMergeDistance", 0.1,
63 "Merge any truth vertices within this distance [mm]"};

◆ m_uid

SG::ConstAccessor<int> FlavorTagDiscriminants::TruthParticleDecoratorAlg::m_uid {"uid"}
private

Definition at line 69 of file TruthParticleDecoratorAlg.h.

69{"uid"};

◆ m_use_barcode

Gaudi::Property<bool> FlavorTagDiscriminants::TruthParticleDecoratorAlg::m_use_barcode
private
Initial value:
{
this, "useBarcode", false, "use barcode rather than UID"
}

Definition at line 66 of file TruthParticleDecoratorAlg.h.

66 {
67 this, "useBarcode", false, "use barcode rather than UID"
68 };

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

std::vector<SG::VarHandleKeyArray*> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_vhka
privateinherited

Definition at line 398 of file AthCommonDataStore.h.


The documentation for this class was generated from the following files: