ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
AnalysisCommon
ParticleJetTools
src
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
10
#include "
ParticleJetTools/FatVertex.h
"
11
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
12
13
#include "
xAODBase/IParticleContainer.h
"
14
#include "
xAODTruth/TruthParticleContainer.h
"
15
#include "
xAODTruth/TruthVertexContainer.h
"
16
#include "
StoreGate/WriteDecorHandleKeyArray.h
"
17
#include "
StoreGate/ReadDecorHandleKey.h
"
18
19
#include "
xAODJet/JetContainer.h
"
20
21
namespace
ParticleJetTools
{
22
class
JetTruthVertexSummaryDecoratorAlg
:
public
AthReentrantAlgorithm
23
{
24
public
:
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
49
SG::ReadHandleKey< xAOD::TruthParticleContainer >
m_TruthContainerKey
{
50
this
,
"truthContainer"
,
"TruthParticles"
,
51
"Key for the input truth particle collection"
};
52
SG::ReadHandleKey< xAOD::JetContainer >
m_JetContainerKey
{
53
this
,
"jetContainer"
,
"AntiKt4EMPFlowJets"
,
54
"Key for the input jet collection"
};
55
SG::ReadDecorHandleKey< xAOD::TruthParticleContainer >
m_vertexValid
{
56
this
,
"ftagTPValid"
,
"ftagTPValid"
,
57
"Is this truth particle physical"
};
58
SG::ReadDecorHandleKey< xAOD::TruthParticleContainer >
m_vertexID
{
59
this
,
"ftagTPDecayVertexID"
,
"ftagTPDecayVertexID"
,
60
"ID of the vertex associated with this TP"
};
61
SG::ReadDecorHandleKey< xAOD::TruthParticleContainer >
m_vertexSimpleDecayType
{
62
this
,
"ftagTPDecaySimpleVertexType"
,
"ftagTPDecaySimpleVertexType"
,
63
"Exclusive label for this truth particles decay type"
};
64
SG::WriteDecorHandleKey<xAOD::IParticleContainer>
m_decoNumBVerts
{
65
this
,
"ftagJetNumBVertices"
,
"ftagJetNumBVertices"
,
66
"Number of b vertices in jet"
67
};
68
SG::WriteDecorHandleKey<xAOD::IParticleContainer>
m_decoNumCVerts
{
69
this
,
"ftagJetNumCVertices"
,
"ftagJetNumCVertices"
,
70
"Number of c vertices in jet"
71
};
72
SG::WriteDecorHandleKey<xAOD::IParticleContainer>
m_decoNumTauVerts
{
73
this
,
"ftagJetNumTauVertices"
,
"ftagJetNumTauVertices"
,
74
"Number of tau vertices in jet"
75
};
76
SG::WriteDecorHandleKey<xAOD::IParticleContainer>
m_decoNumStrangeVerts
{
77
this
,
"ftagJetNumStrangeVertices"
,
"ftagJetNumStrangeVertices"
,
78
"Number of strange vertices in jet"
79
};
80
SG::WriteDecorHandleKey<xAOD::IParticleContainer>
m_decoNumPionVerts
{
81
this
,
"ftagJetNumPionVertices"
,
"ftagJetNumPionVertices"
,
82
"Number of pion vertices in jet"
83
};
84
SG::WriteDecorHandleKey<xAOD::IParticleContainer>
m_decoNumMaterialIntVerts
{
85
this
,
"ftagJetNumMaterialIntVertices"
,
"ftagJetNumMaterialIntVertices"
,
86
"Number of material interaction vertices in jet"
87
};
88
SG::WriteDecorHandleKey<xAOD::IParticleContainer>
m_decoNumOtherVerts
{
89
this
,
"ftagJetNumOtherVertices"
,
"ftagJetNumOtherVertices"
,
90
"Number of other vertices in jet"
91
};
92
SG::WriteDecorHandleKey<xAOD::IParticleContainer>
m_decoNumVerts
{
93
this
,
"ftagJetNumVertices"
,
"ftagJetNumVertices"
,
94
"Number of vertices in jet"
95
};
96
97
};
98
}
99
#endif
// PARTICLEJETTOOLS_JETTRUTHVERTEXSUMMARYDECORATORALG_H
AthReentrantAlgorithm.h
TruthParticleContainer.h
FatVertex.h
JetContainer.h
ReadDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
WriteDecorHandleKeyArray.h
TruthVertexContainer.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
ParticleJetTools::JetTruthVertexSummaryDecoratorAlg::m_decoNumStrangeVerts
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_decoNumStrangeVerts
Definition
JetTruthVertexSummaryDecoratorAlg.h:76
ParticleJetTools::JetTruthVertexSummaryDecoratorAlg::m_decoNumBVerts
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_decoNumBVerts
Definition
JetTruthVertexSummaryDecoratorAlg.h:64
ParticleJetTools::JetTruthVertexSummaryDecoratorAlg::m_vertexSimpleDecayType
SG::ReadDecorHandleKey< xAOD::TruthParticleContainer > m_vertexSimpleDecayType
Definition
JetTruthVertexSummaryDecoratorAlg.h:61
ParticleJetTools::JetTruthVertexSummaryDecoratorAlg::m_JetContainerKey
SG::ReadHandleKey< xAOD::JetContainer > m_JetContainerKey
Definition
JetTruthVertexSummaryDecoratorAlg.h:52
ParticleJetTools::JetTruthVertexSummaryDecoratorAlg::initialize
virtual StatusCode initialize() override
Definition
JetTruthVertexSummaryDecoratorAlg.cxx:21
ParticleJetTools::JetTruthVertexSummaryDecoratorAlg::m_decoNumVerts
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_decoNumVerts
Definition
JetTruthVertexSummaryDecoratorAlg.h:92
ParticleJetTools::JetTruthVertexSummaryDecoratorAlg::execute
virtual StatusCode execute(const EventContext &) const override
Definition
JetTruthVertexSummaryDecoratorAlg.cxx:56
ParticleJetTools::JetTruthVertexSummaryDecoratorAlg::m_lxyIDThreshold
Gaudi::Property< float > m_lxyIDThreshold
Definition
JetTruthVertexSummaryDecoratorAlg.h:40
ParticleJetTools::JetTruthVertexSummaryDecoratorAlg::m_drThreshold
Gaudi::Property< float > m_drThreshold
Definition
JetTruthVertexSummaryDecoratorAlg.h:32
ParticleJetTools::JetTruthVertexSummaryDecoratorAlg::m_onlyID
Gaudi::Property< bool > m_onlyID
Definition
JetTruthVertexSummaryDecoratorAlg.h:35
ParticleJetTools::JetTruthVertexSummaryDecoratorAlg::m_vertexID
SG::ReadDecorHandleKey< xAOD::TruthParticleContainer > m_vertexID
Definition
JetTruthVertexSummaryDecoratorAlg.h:58
ParticleJetTools::JetTruthVertexSummaryDecoratorAlg::m_vertexValid
SG::ReadDecorHandleKey< xAOD::TruthParticleContainer > m_vertexValid
Definition
JetTruthVertexSummaryDecoratorAlg.h:55
ParticleJetTools::JetTruthVertexSummaryDecoratorAlg::m_TruthContainerKey
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_TruthContainerKey
Definition
JetTruthVertexSummaryDecoratorAlg.h:49
ParticleJetTools::JetTruthVertexSummaryDecoratorAlg::m_decoNumMaterialIntVerts
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_decoNumMaterialIntVerts
Definition
JetTruthVertexSummaryDecoratorAlg.h:84
ParticleJetTools::JetTruthVertexSummaryDecoratorAlg::m_decoNumOtherVerts
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_decoNumOtherVerts
Definition
JetTruthVertexSummaryDecoratorAlg.h:88
ParticleJetTools::JetTruthVertexSummaryDecoratorAlg::m_decoNumPionVerts
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_decoNumPionVerts
Definition
JetTruthVertexSummaryDecoratorAlg.h:80
ParticleJetTools::JetTruthVertexSummaryDecoratorAlg::m_zIDThreshold
Gaudi::Property< float > m_zIDThreshold
Definition
JetTruthVertexSummaryDecoratorAlg.h:45
ParticleJetTools::JetTruthVertexSummaryDecoratorAlg::m_decoNumTauVerts
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_decoNumTauVerts
Definition
JetTruthVertexSummaryDecoratorAlg.h:72
ParticleJetTools::JetTruthVertexSummaryDecoratorAlg::JetTruthVertexSummaryDecoratorAlg
JetTruthVertexSummaryDecoratorAlg(const std::string &name, ISvcLocator *loc)
Definition
JetTruthVertexSummaryDecoratorAlg.cxx:18
ParticleJetTools::JetTruthVertexSummaryDecoratorAlg::m_decoNumCVerts
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_decoNumCVerts
Definition
JetTruthVertexSummaryDecoratorAlg.h:68
SG::ReadDecorHandleKey< xAOD::TruthParticleContainer >
SG::ReadHandleKey< xAOD::TruthParticleContainer >
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition
StoreGate/StoreGate/WriteDecorHandleKey.h:90
ParticleJetTools
Definition
FatVertex.h:15
IParticleContainer.h
Generated on
for ATLAS Offline Software by
1.17.0