ATLAS Offline Software
Loading...
Searching...
No Matches
JetTruthVertexSummaryDecoratorAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4// Decorates a jet with summary information about contained truth vertices
5// See TruthVertexDecoratorAlg.h for more information
6
7
8#ifndef PARTICLEJETTOOLS_JETTRUTHVERTEXSUMMARYDECORATORALG_H
9#define PARTICLEJETTOOLS_JETTRUTHVERTEXSUMMARYDECORATORALG_H
12
18
20
21namespace ParticleJetTools{
23{
24public:
25
26 JetTruthVertexSummaryDecoratorAlg(const std::string& name, ISvcLocator* loc);
27 virtual StatusCode initialize () override;
28 virtual StatusCode execute (const EventContext&) const override;
29
30 private:
31
32 Gaudi::Property<float> m_drThreshold{
33 this, "drThreshold", 0.4, "Vertices are matched to jets with this dR parameter"
34 };
35 Gaudi::Property<bool> m_onlyID{
36 this, "onlyID", false,
37 "If true, only consider particles who decay/interact before the end of the ID"
38 };
39 // https://atlas.cern/updates/experiment-briefing/inner-detector-alignment
40 Gaudi::Property<float> m_lxyIDThreshold{
41 this, "lxyIDThreshold", 1082.0, "Under this Lxy (and z, see below) will be considered ID"
42 };
43 // https://www.semanticscholar.org/paper/Study-of-the-material-of-the-ATLAS-inner-detector-2-Collaboration/6ef67c4105099f0667fe4691135ebbb63b9ac5cc/figure/0
44 // Fig1
45 Gaudi::Property<float> m_zIDThreshold{
46 this, "zIDThreshold", 2710.0, "Under this z (and Lxy, see above) will be considered ID"
47 };
48
50 this, "truthContainer", "TruthParticles",
51 "Key for the input truth particle collection"};
53 this, "jetContainer", "AntiKt4EMPFlowJets",
54 "Key for the input jet collection"};
56 this, "ftagTPValid", "ftagTPValid",
57 "Is this truth particle physical"};
59 this, "ftagTPDecayVertexID", "ftagTPDecayVertexID",
60 "ID of the vertex associated with this TP"};
62 this, "ftagTPDecaySimpleVertexType", "ftagTPDecaySimpleVertexType",
63 "Exclusive label for this truth particles decay type"};
65 this, "ftagJetNumBVertices", "ftagJetNumBVertices",
66 "Number of b vertices in jet"
67 };
69 this, "ftagJetNumCVertices", "ftagJetNumCVertices",
70 "Number of c vertices in jet"
71 };
73 this, "ftagJetNumTauVertices", "ftagJetNumTauVertices",
74 "Number of tau vertices in jet"
75 };
77 this, "ftagJetNumStrangeVertices", "ftagJetNumStrangeVertices",
78 "Number of strange vertices in jet"
79 };
81 this, "ftagJetNumPionVertices", "ftagJetNumPionVertices",
82 "Number of pion vertices in jet"
83 };
85 this, "ftagJetNumMaterialIntVertices", "ftagJetNumMaterialIntVertices",
86 "Number of material interaction vertices in jet"
87 };
89 this, "ftagJetNumOtherVertices", "ftagJetNumOtherVertices",
90 "Number of other vertices in jet"
91 };
93 this, "ftagJetNumVertices", "ftagJetNumVertices",
94 "Number of vertices in jet"
95 };
96
97};
98}
99#endif // PARTICLEJETTOOLS_JETTRUTHVERTEXSUMMARYDECORATORALG_H
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_decoNumStrangeVerts
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_decoNumBVerts
SG::ReadDecorHandleKey< xAOD::TruthParticleContainer > m_vertexSimpleDecayType
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_decoNumVerts
virtual StatusCode execute(const EventContext &) const override
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
JetTruthVertexSummaryDecoratorAlg(const std::string &name, ISvcLocator *loc)
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_decoNumCVerts
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.