ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
JetTagging
FlavorTagDiscriminants
FlavorTagDiscriminants
TruthPVzRelativeToBeamspotAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRUTH_PVZ_RELATIVE_TO_BEAMSPOT_ALG_HH
6
#define TRUTH_PVZ_RELATIVE_TO_BEAMSPOT_ALG_HH
7
8
// FrameWork includes
9
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
10
11
// Containers
12
#include "
xAODBase/IParticleContainer.h
"
13
#include "
xAODEventInfo/EventInfo.h
"
14
15
// Read and write handle keys
16
#include "
StoreGate/ReadHandleKey.h
"
17
#include "
StoreGate/ReadDecorHandleKey.h
"
18
#include "
StoreGate/WriteDecorHandleKey.h
"
19
20
namespace
FlavorTagDiscriminants
{
21
22
class
TruthPVzRelativeToBeamspotAlg
:
public
AthReentrantAlgorithm
{
29
30
public
:
31
TruthPVzRelativeToBeamspotAlg
(
const
std::string& name,
32
ISvcLocator* pSvcLocator);
33
34
virtual
StatusCode
initialize
()
override
;
35
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
36
37
private
:
38
SG::ReadHandleKey<xAOD::IParticleContainer>
m_jetCollectionKey
{
39
this
,
"jetContainer"
,
"AntiKt4EMPFlowJets"
,
"Key for the jet collection"
};
40
41
SG::ReadDecorHandleKey<xAOD::IParticleContainer>
m_truthPVzKey
{
42
this
,
"truthPVzDecor"
,
m_jetCollectionKey
,
"TruthJetPVz"
,
43
"Jet decoration holding the truth primary-vertex z, in detector coordinates"
};
44
45
SG::WriteDecorHandleKey<xAOD::IParticleContainer>
m_outputKey
{
46
this
,
"truthPVzRelToBeamspotDecor"
,
m_jetCollectionKey
,
"TruthJetPVzRelToBeamspot"
,
47
"Key for the output truth primary-vertex z, relative to the beamspot"
};
48
49
SG::ReadHandleKey<xAOD::EventInfo>
m_eventInfoKey
{
50
this
,
"eventInfo"
,
"EventInfo"
,
"Key for EventInfo, providing the beamspot position"
};
51
};
52
}
53
54
#endif
AthReentrantAlgorithm.h
ReadDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
FlavorTagDiscriminants::TruthPVzRelativeToBeamspotAlg::m_jetCollectionKey
SG::ReadHandleKey< xAOD::IParticleContainer > m_jetCollectionKey
Definition
TruthPVzRelativeToBeamspotAlg.h:38
FlavorTagDiscriminants::TruthPVzRelativeToBeamspotAlg::TruthPVzRelativeToBeamspotAlg
TruthPVzRelativeToBeamspotAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
TruthPVzRelativeToBeamspotAlg.cxx:19
FlavorTagDiscriminants::TruthPVzRelativeToBeamspotAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
TruthPVzRelativeToBeamspotAlg.cxx:36
FlavorTagDiscriminants::TruthPVzRelativeToBeamspotAlg::initialize
virtual StatusCode initialize() override
Definition
TruthPVzRelativeToBeamspotAlg.cxx:24
FlavorTagDiscriminants::TruthPVzRelativeToBeamspotAlg::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Definition
TruthPVzRelativeToBeamspotAlg.h:49
FlavorTagDiscriminants::TruthPVzRelativeToBeamspotAlg::m_truthPVzKey
SG::ReadDecorHandleKey< xAOD::IParticleContainer > m_truthPVzKey
Definition
TruthPVzRelativeToBeamspotAlg.h:41
FlavorTagDiscriminants::TruthPVzRelativeToBeamspotAlg::m_outputKey
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_outputKey
Definition
TruthPVzRelativeToBeamspotAlg.h:45
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition
StoreGate/StoreGate/ReadDecorHandleKey.h:86
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition
StoreGate/StoreGate/WriteDecorHandleKey.h:90
FlavorTagDiscriminants
Definition
CaloChargedFlowDecoratorAlg.h:15
IParticleContainer.h
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0