ATLAS Offline Software
Loading...
Searching...
No Matches
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
10
11// Containers
14
15// Read and write handle keys
19
20namespace FlavorTagDiscriminants {
21
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:
39 this, "jetContainer", "AntiKt4EMPFlowJets", "Key for the jet collection"};
40
42 this, "truthPVzDecor", m_jetCollectionKey, "TruthJetPVz",
43 "Jet decoration holding the truth primary-vertex z, in detector coordinates"};
44
46 this, "truthPVzRelToBeamspotDecor", m_jetCollectionKey, "TruthJetPVzRelToBeamspot",
47 "Key for the output truth primary-vertex z, relative to the beamspot"};
48
50 this, "eventInfo", "EventInfo", "Key for EventInfo, providing the beamspot position"};
51 };
52}
53
54#endif
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
SG::ReadHandleKey< xAOD::IParticleContainer > m_jetCollectionKey
TruthPVzRelativeToBeamspotAlg(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode execute(const EventContext &ctx) const override
SG::ReadDecorHandleKey< xAOD::IParticleContainer > m_truthPVzKey
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_outputKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.