ATLAS Offline Software
Loading...
Searching...
No Matches
ParticleJetTools::JetTruthVertexSummaryDecoratorAlg Class Reference

#include <JetTruthVertexSummaryDecoratorAlg.h>

Inheritance diagram for ParticleJetTools::JetTruthVertexSummaryDecoratorAlg:
Collaboration diagram for ParticleJetTools::JetTruthVertexSummaryDecoratorAlg:

Public Member Functions

 JetTruthVertexSummaryDecoratorAlg (const std::string &name, ISvcLocator *loc)
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

Gaudi::Property< float > m_drThreshold
Gaudi::Property< bool > m_onlyID
Gaudi::Property< float > m_lxyIDThreshold
Gaudi::Property< float > m_zIDThreshold
SG::ReadHandleKey< xAOD::TruthParticleContainerm_TruthContainerKey
SG::ReadHandleKey< xAOD::JetContainerm_JetContainerKey
SG::ReadDecorHandleKey< xAOD::TruthParticleContainerm_vertexValid
SG::ReadDecorHandleKey< xAOD::TruthParticleContainerm_vertexID
SG::ReadDecorHandleKey< xAOD::TruthParticleContainerm_vertexSimpleDecayType
SG::WriteDecorHandleKey< xAOD::IParticleContainerm_decoNumBVerts
SG::WriteDecorHandleKey< xAOD::IParticleContainerm_decoNumCVerts
SG::WriteDecorHandleKey< xAOD::IParticleContainerm_decoNumTauVerts
SG::WriteDecorHandleKey< xAOD::IParticleContainerm_decoNumStrangeVerts
SG::WriteDecorHandleKey< xAOD::IParticleContainerm_decoNumPionVerts
SG::WriteDecorHandleKey< xAOD::IParticleContainerm_decoNumMaterialIntVerts
SG::WriteDecorHandleKey< xAOD::IParticleContainerm_decoNumOtherVerts
SG::WriteDecorHandleKey< xAOD::IParticleContainerm_decoNumVerts
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 22 of file JetTruthVertexSummaryDecoratorAlg.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

◆ JetTruthVertexSummaryDecoratorAlg()

ParticleJetTools::JetTruthVertexSummaryDecoratorAlg::JetTruthVertexSummaryDecoratorAlg ( const std::string & name,
ISvcLocator * loc )

Definition at line 18 of file JetTruthVertexSummaryDecoratorAlg.cxx.

19 : 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 ParticleJetTools::JetTruthVertexSummaryDecoratorAlg::execute ( const EventContext & ctx) const
overridevirtual

Definition at line 56 of file JetTruthVertexSummaryDecoratorAlg.cxx.

56 {
57 ATH_MSG_DEBUG("Executing " << name() << "... ");
58
59 // read collections
60 SG::ReadHandle<xAOD::TruthParticleContainer> truth_particles(m_TruthContainerKey, ctx);
61 SG::ReadHandle<xAOD::JetContainer> jets(m_JetContainerKey, ctx);
62 ATH_CHECK(truth_particles.isValid());
63 ATH_CHECK(jets.isValid());
64 ATH_MSG_DEBUG("Retrieved " << truth_particles->size() << " truth_particles...");
65
66 // get jets sorted by descending pt
67 std::vector<const xAOD::Jet*> sorted_jets;
68 for (const auto jet : *jets) { sorted_jets.push_back(jet); }
70 sorted_jets.begin(), sorted_jets.end(),
71 [](const xAOD::Jet* j1, const xAOD::Jet* j2) {
72 return j1->pt() > j2->pt();
73 }
74 );
75
76
77 SG::ReadDecorHandle<xAOD::TruthParticleContainer, int> acc_vertexId(m_vertexID, ctx);
78 SG::ReadDecorHandle<xAOD::TruthParticleContainer, int> acc_vertexValid(m_vertexValid, ctx);
79
80 // Select one representative truth particle per fat vertex: the inpart
81 // (parent) particle. Inparts carry vertexValid=1 and vertexDecayID>=0,
82 // while internal chain particles carry only vertexDecayID>=0 (not valid).
83 // Since there is at most one inpart per fat vertex, this filter yields
84 // exactly one representative per vertex without needing an ID dedupe.
85 std::vector<const xAOD::TruthParticle*> tps_vec;
86 for (const auto tp : *truth_particles) {
87 if(acc_vertexId(*tp) < 0) continue;
88 if(!acc_vertexValid(*tp)) continue;
89 tps_vec.push_back(tp);
90 }
91
92 SG::WriteDecorHandle<xAOD::IParticleContainer, int> decoNumBVerts(m_decoNumBVerts, ctx);
93 SG::WriteDecorHandle<xAOD::IParticleContainer, int> decoNumCVerts(m_decoNumCVerts, ctx);
94 SG::WriteDecorHandle<xAOD::IParticleContainer, int> decoNumTauVerts(m_decoNumTauVerts, ctx);
95 SG::WriteDecorHandle<xAOD::IParticleContainer, int> decoNumStrangeVerts(m_decoNumStrangeVerts, ctx);
96 SG::WriteDecorHandle<xAOD::IParticleContainer, int> decoNumPionVerts(m_decoNumPionVerts, ctx);
97 SG::WriteDecorHandle<xAOD::IParticleContainer, int> decoNumMaterialIntVerts(m_decoNumMaterialIntVerts, ctx);
98 SG::WriteDecorHandle<xAOD::IParticleContainer, int> decoNumOtherVerts(m_decoNumOtherVerts, ctx);
99 SG::WriteDecorHandle<xAOD::IParticleContainer, int> decoNumVerts(m_decoNumVerts, ctx);
100
101 SG::ReadDecorHandle<xAOD::TruthParticleContainer, int> acc_vertexSimpleType(m_vertexSimpleDecayType, ctx);
102
103 // Iterate jets in descending pT order. Each truth particle is assigned
104 // exclusively to the highest-pT jet it matches (to avoid double-counting vertices).
105 for(const auto jet : sorted_jets){
106 std::vector<const xAOD::TruthParticle*> searched;
107 int num_b = 0;
108 int num_c = 0;
109 int num_tau = 0;
110 int num_strange = 0;
111 int num_pion = 0;
112 int num_material_int = 0;
113 int num_other = 0;
114 int num_verts = 0;
115
116 // iterate TPs and associate
117 for(const xAOD::TruthParticle* tp : tps_vec){
118 // If we only want verts in the ID, check if we sit inside the ID bounds defined by the user
119 if (m_onlyID) {
120 const xAOD::TruthVertex* prod_vtx = tp->prodVtx();
121 if (!tp->hasProdVtx() || !prod_vtx) {
122 searched.push_back(tp);
123 continue;
124 }
125 if (prod_vtx->perp() > m_lxyIDThreshold ||
126 std::abs(prod_vtx->z()) > m_zIDThreshold) {
127 searched.push_back(tp);
128 continue;
129 }
130 }
131
132 // Then check if we match to this jet
133 if(jet->p4().DeltaR(tp->p4()) > m_drThreshold) continue;
134
135 searched.push_back(tp);
136 num_verts++;
137 int simple_type_i = acc_vertexSimpleType(*tp);
138 FatVertex::SimpleVertexType simple_type = static_cast<FatVertex::SimpleVertexType>(simple_type_i);
139 switch(simple_type){
142 case FatVertex::SimpleVertexType::TauDecay: num_tau++; break;
143 case FatVertex::SimpleVertexType::StrangeDecay: num_strange++; break;
144 case FatVertex::SimpleVertexType::PionDecay: num_pion++; break;
145 case FatVertex::SimpleVertexType::MaterialInteraction: num_material_int++; break;
147 case FatVertex::SimpleVertexType::Other: num_other++; break;
148 default: break;
149 }
150 }
151 // Erase everything we've searched and found to no longer care about (e.g. we've decorated it,
152 // or its not something we care about, for *speed*)
153 std::unordered_set<const xAOD::TruthParticle*> searched_set(searched.begin(), searched.end());
154 tps_vec.erase(std::remove_if(tps_vec.begin(), tps_vec.end(),
155 [&](const xAOD::TruthParticle* x) { return searched_set.count(x); }),
156 tps_vec.end());
157
158 decoNumBVerts(*jet) = num_b;
159 decoNumCVerts(*jet) = num_c;
160 decoNumTauVerts(*jet) = num_tau;
161 decoNumStrangeVerts(*jet) = num_strange;
162 decoNumPionVerts(*jet) = num_pion;
163 decoNumMaterialIntVerts(*jet) = num_material_int;
164 decoNumOtherVerts(*jet) = num_other;
165 decoNumVerts(*jet) = num_verts;
166
167 }
168 return StatusCode::SUCCESS;
169 }
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_DEBUG(x)
#define x
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_decoNumStrangeVerts
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_decoNumBVerts
SG::ReadDecorHandleKey< xAOD::TruthParticleContainer > m_vertexSimpleDecayType
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_decoNumVerts
SG::ReadDecorHandleKey< xAOD::TruthParticleContainer > m_vertexID
SG::ReadDecorHandleKey< xAOD::TruthParticleContainer > m_vertexValid
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_TruthContainerKey
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_decoNumMaterialIntVerts
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_decoNumOtherVerts
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_decoNumPionVerts
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_decoNumTauVerts
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_decoNumCVerts
float z() const
Vertex longitudinal distance along the beam line form the origin.
float perp() const
Vertex transverse distance from the beam line.
void sort(typename DataModel_detail::iterator< DVL > beg, typename DataModel_detail::iterator< DVL > end)
Specialization of sort for DataVector/List.
DataModel_detail::iterator< DVL > remove_if(typename DataModel_detail::iterator< DVL > beg, typename DataModel_detail::iterator< DVL > end, Predicate pred)
Specialization of remove_if for DataVector/List.
Jet_v1 Jet
Definition of the current "jet version".
TruthVertex_v1 TruthVertex
Typedef to implementation.
Definition TruthVertex.h:15
TruthParticle_v1 TruthParticle
Typedef to implementation.

◆ 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 ParticleJetTools::JetTruthVertexSummaryDecoratorAlg::initialize ( )
overridevirtual

Definition at line 21 of file JetTruthVertexSummaryDecoratorAlg.cxx.

21 {
22 ATH_MSG_INFO("Initializing " << name() << "... ");
23
24 ATH_CHECK(m_TruthContainerKey.initialize());
25 ATH_CHECK(m_JetContainerKey.initialize());
26
29 m_vertexID = m_TruthContainerKey.key() + "." + m_vertexID.key();
30
32 ATH_CHECK(m_vertexValid.initialize());
33 ATH_CHECK(m_vertexID.initialize());
34
43
44 ATH_CHECK(m_decoNumBVerts.initialize());
45 ATH_CHECK(m_decoNumCVerts.initialize());
46 ATH_CHECK(m_decoNumTauVerts.initialize());
47 ATH_CHECK(m_decoNumStrangeVerts.initialize());
48 ATH_CHECK(m_decoNumPionVerts.initialize());
50 ATH_CHECK(m_decoNumOtherVerts.initialize());
51 ATH_CHECK(m_decoNumVerts.initialize());
52
53 return StatusCode::SUCCESS;
54 }
#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_ERROR(x)
#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_decoNumBVerts

SG::WriteDecorHandleKey<xAOD::IParticleContainer> ParticleJetTools::JetTruthVertexSummaryDecoratorAlg::m_decoNumBVerts
private
Initial value:
{
this, "ftagJetNumBVertices", "ftagJetNumBVertices",
"Number of b vertices in jet"
}

Definition at line 64 of file JetTruthVertexSummaryDecoratorAlg.h.

64 {
65 this, "ftagJetNumBVertices", "ftagJetNumBVertices",
66 "Number of b vertices in jet"
67 };

◆ m_decoNumCVerts

SG::WriteDecorHandleKey<xAOD::IParticleContainer> ParticleJetTools::JetTruthVertexSummaryDecoratorAlg::m_decoNumCVerts
private
Initial value:
{
this, "ftagJetNumCVertices", "ftagJetNumCVertices",
"Number of c vertices in jet"
}

Definition at line 68 of file JetTruthVertexSummaryDecoratorAlg.h.

68 {
69 this, "ftagJetNumCVertices", "ftagJetNumCVertices",
70 "Number of c vertices in jet"
71 };

◆ m_decoNumMaterialIntVerts

SG::WriteDecorHandleKey<xAOD::IParticleContainer> ParticleJetTools::JetTruthVertexSummaryDecoratorAlg::m_decoNumMaterialIntVerts
private
Initial value:
{
this, "ftagJetNumMaterialIntVertices", "ftagJetNumMaterialIntVertices",
"Number of material interaction vertices in jet"
}

Definition at line 84 of file JetTruthVertexSummaryDecoratorAlg.h.

84 {
85 this, "ftagJetNumMaterialIntVertices", "ftagJetNumMaterialIntVertices",
86 "Number of material interaction vertices in jet"
87 };

◆ m_decoNumOtherVerts

SG::WriteDecorHandleKey<xAOD::IParticleContainer> ParticleJetTools::JetTruthVertexSummaryDecoratorAlg::m_decoNumOtherVerts
private
Initial value:
{
this, "ftagJetNumOtherVertices", "ftagJetNumOtherVertices",
"Number of other vertices in jet"
}

Definition at line 88 of file JetTruthVertexSummaryDecoratorAlg.h.

88 {
89 this, "ftagJetNumOtherVertices", "ftagJetNumOtherVertices",
90 "Number of other vertices in jet"
91 };

◆ m_decoNumPionVerts

SG::WriteDecorHandleKey<xAOD::IParticleContainer> ParticleJetTools::JetTruthVertexSummaryDecoratorAlg::m_decoNumPionVerts
private
Initial value:
{
this, "ftagJetNumPionVertices", "ftagJetNumPionVertices",
"Number of pion vertices in jet"
}

Definition at line 80 of file JetTruthVertexSummaryDecoratorAlg.h.

80 {
81 this, "ftagJetNumPionVertices", "ftagJetNumPionVertices",
82 "Number of pion vertices in jet"
83 };

◆ m_decoNumStrangeVerts

SG::WriteDecorHandleKey<xAOD::IParticleContainer> ParticleJetTools::JetTruthVertexSummaryDecoratorAlg::m_decoNumStrangeVerts
private
Initial value:
{
this, "ftagJetNumStrangeVertices", "ftagJetNumStrangeVertices",
"Number of strange vertices in jet"
}

Definition at line 76 of file JetTruthVertexSummaryDecoratorAlg.h.

76 {
77 this, "ftagJetNumStrangeVertices", "ftagJetNumStrangeVertices",
78 "Number of strange vertices in jet"
79 };

◆ m_decoNumTauVerts

SG::WriteDecorHandleKey<xAOD::IParticleContainer> ParticleJetTools::JetTruthVertexSummaryDecoratorAlg::m_decoNumTauVerts
private
Initial value:
{
this, "ftagJetNumTauVertices", "ftagJetNumTauVertices",
"Number of tau vertices in jet"
}

Definition at line 72 of file JetTruthVertexSummaryDecoratorAlg.h.

72 {
73 this, "ftagJetNumTauVertices", "ftagJetNumTauVertices",
74 "Number of tau vertices in jet"
75 };

◆ m_decoNumVerts

SG::WriteDecorHandleKey<xAOD::IParticleContainer> ParticleJetTools::JetTruthVertexSummaryDecoratorAlg::m_decoNumVerts
private
Initial value:
{
this, "ftagJetNumVertices", "ftagJetNumVertices",
"Number of vertices in jet"
}

Definition at line 92 of file JetTruthVertexSummaryDecoratorAlg.h.

92 {
93 this, "ftagJetNumVertices", "ftagJetNumVertices",
94 "Number of vertices in jet"
95 };

◆ 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_drThreshold

Gaudi::Property<float> ParticleJetTools::JetTruthVertexSummaryDecoratorAlg::m_drThreshold
private
Initial value:
{
this, "drThreshold", 0.4, "Vertices are matched to jets with this dR parameter"
}

Definition at line 32 of file JetTruthVertexSummaryDecoratorAlg.h.

32 {
33 this, "drThreshold", 0.4, "Vertices are matched to jets with this dR parameter"
34 };

◆ 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_JetContainerKey

SG::ReadHandleKey< xAOD::JetContainer > ParticleJetTools::JetTruthVertexSummaryDecoratorAlg::m_JetContainerKey
private
Initial value:
{
this, "jetContainer", "AntiKt4EMPFlowJets",
"Key for the input jet collection"}

Definition at line 52 of file JetTruthVertexSummaryDecoratorAlg.h.

52 {
53 this, "jetContainer", "AntiKt4EMPFlowJets",
54 "Key for the input jet collection"};

◆ m_lxyIDThreshold

Gaudi::Property<float> ParticleJetTools::JetTruthVertexSummaryDecoratorAlg::m_lxyIDThreshold
private
Initial value:
{
this, "lxyIDThreshold", 1082.0, "Under this Lxy (and z, see below) will be considered ID"
}

Definition at line 40 of file JetTruthVertexSummaryDecoratorAlg.h.

40 {
41 this, "lxyIDThreshold", 1082.0, "Under this Lxy (and z, see below) will be considered ID"
42 };

◆ m_onlyID

Gaudi::Property<bool> ParticleJetTools::JetTruthVertexSummaryDecoratorAlg::m_onlyID
private
Initial value:
{
this, "onlyID", false,
"If true, only consider particles who decay/interact before the end of the ID"
}

Definition at line 35 of file JetTruthVertexSummaryDecoratorAlg.h.

35 {
36 this, "onlyID", false,
37 "If true, only consider particles who decay/interact before the end of the ID"
38 };

◆ m_TruthContainerKey

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

Definition at line 49 of file JetTruthVertexSummaryDecoratorAlg.h.

49 {
50 this, "truthContainer", "TruthParticles",
51 "Key for the input truth particle collection"};

◆ m_varHandleArraysDeclared

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

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vertexID

SG::ReadDecorHandleKey< xAOD::TruthParticleContainer > ParticleJetTools::JetTruthVertexSummaryDecoratorAlg::m_vertexID
private
Initial value:
{
this, "ftagTPDecayVertexID", "ftagTPDecayVertexID",
"ID of the vertex associated with this TP"}

Definition at line 58 of file JetTruthVertexSummaryDecoratorAlg.h.

58 {
59 this, "ftagTPDecayVertexID", "ftagTPDecayVertexID",
60 "ID of the vertex associated with this TP"};

◆ m_vertexSimpleDecayType

SG::ReadDecorHandleKey< xAOD::TruthParticleContainer > ParticleJetTools::JetTruthVertexSummaryDecoratorAlg::m_vertexSimpleDecayType
private
Initial value:
{
this, "ftagTPDecaySimpleVertexType", "ftagTPDecaySimpleVertexType",
"Exclusive label for this truth particles decay type"}

Definition at line 61 of file JetTruthVertexSummaryDecoratorAlg.h.

61 {
62 this, "ftagTPDecaySimpleVertexType", "ftagTPDecaySimpleVertexType",
63 "Exclusive label for this truth particles decay type"};

◆ m_vertexValid

SG::ReadDecorHandleKey< xAOD::TruthParticleContainer > ParticleJetTools::JetTruthVertexSummaryDecoratorAlg::m_vertexValid
private
Initial value:
{
this, "ftagTPValid", "ftagTPValid",
"Is this truth particle physical"}

Definition at line 55 of file JetTruthVertexSummaryDecoratorAlg.h.

55 {
56 this, "ftagTPValid", "ftagTPValid",
57 "Is this truth particle physical"};

◆ m_vhka

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

Definition at line 398 of file AthCommonDataStore.h.

◆ m_zIDThreshold

Gaudi::Property<float> ParticleJetTools::JetTruthVertexSummaryDecoratorAlg::m_zIDThreshold
private
Initial value:
{
this, "zIDThreshold", 2710.0, "Under this z (and Lxy, see above) will be considered ID"
}

Definition at line 45 of file JetTruthVertexSummaryDecoratorAlg.h.

45 {
46 this, "zIDThreshold", 2710.0, "Under this z (and Lxy, see above) will be considered ID"
47 };

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