ATLAS Offline Software
Reco_Vertex.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // Reco_Vertex.h
8 
9 #ifndef DERIVATIONFRAMEWORK_Reco_Vertex_H
10 #define DERIVATIONFRAMEWORK_Reco_Vertex_H
11 
13 #include "GaudiKernel/ToolHandle.h"
21 #include "xAODMuon/MuonContainer.h"
22 
23 namespace DerivationFramework {
24 
25  class Reco_Vertex : public AthAlgTool, public IAugmentationTool {
26  public:
27  Reco_Vertex(const std::string& t, const std::string& n, const IInterface* p);
28 
29  virtual StatusCode initialize();
30 
31  virtual StatusCode addBranches() const;
32 
33  private:
36  ToolHandle<Trk::V0Tools> m_v0Tools;
37  ToolHandle<Analysis::ICandidateSearch> m_SearchTool;
38  ToolHandle<Analysis::PrimaryVertexRefitter> m_pvRefitter;
39  SG::ReadHandleKey<xAOD::EventInfo> m_eventInfo_key{this, "EventInfo", "EventInfo", "Input event information"};
45  bool m_refitPV;
46  int m_PV_max;
49  bool m_do3d;
52  SG::ReadHandleKeyArray<xAOD::TrackParticleContainer> m_RelinkContainers{this, "RelinkTracks", {}, "Track Containers if they need to be relinked through indirect use" };
53  SG::ReadHandleKeyArray<xAOD::MuonContainer> m_RelinkMuons{this, "RelinkMuons", {}, "Muon Containers if they need to be relinked through indirect use" };
54  };
55 }
56 
57 #endif // DERIVATIONFRAMEWORK_Reco_Vertex_H
ReadHandleKeyArray.h
V0Tools.h
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
DerivationFramework::Reco_Vertex::m_eventInfo_key
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfo_key
Definition: Reco_Vertex.h:39
IAugmentationTool.h
DerivationFramework::Reco_Vertex
Definition: Reco_Vertex.h:25
ICandidateSearch.h
DerivationFramework::Reco_Vertex::m_checkCollections
bool m_checkCollections
Definition: Reco_Vertex.h:50
DerivationFramework::Reco_Vertex::m_RelinkContainers
SG::ReadHandleKeyArray< xAOD::TrackParticleContainer > m_RelinkContainers
Definition: Reco_Vertex.h:52
SG::HandleKeyArray
Definition: StoreGate/StoreGate/HandleKeyArray.h:38
DerivationFramework::Reco_Vertex::m_SearchTool
ToolHandle< Analysis::ICandidateSearch > m_SearchTool
Definition: Reco_Vertex.h:37
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
PrimaryVertexRefitter.h
DerivationFramework::Reco_Vertex::m_outputVtxContainerName
SG::WriteHandleKey< xAOD::VertexContainer > m_outputVtxContainerName
job options
Definition: Reco_Vertex.h:42
SG::ReadHandleKey< xAOD::EventInfo >
DerivationFramework::Reco_Vertex::m_v0Tools
ToolHandle< Trk::V0Tools > m_v0Tools
tools
Definition: Reco_Vertex.h:36
DerivationFramework::IAugmentationTool
Definition: IAugmentationTool.h:24
DerivationFramework::Reco_Vertex::m_PV_minNTracks
size_t m_PV_minNTracks
Definition: Reco_Vertex.h:48
DerivationFramework::Reco_Vertex::m_pvContainerName
SG::ReadHandleKey< xAOD::VertexContainer > m_pvContainerName
Definition: Reco_Vertex.h:43
DerivationFramework::Reco_Vertex::m_CollectionsToCheck
SG::ReadHandleKeyArray< xAOD::VertexContainer > m_CollectionsToCheck
Definition: Reco_Vertex.h:51
DerivationFramework::Reco_Vertex::initialize
virtual StatusCode initialize()
Definition: Reco_Vertex.cxx:52
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
DerivationFramework::Reco_Vertex::m_refitPV
bool m_refitPV
Definition: Reco_Vertex.h:45
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
DerivationFramework::Reco_Vertex::m_DoVertexType
int m_DoVertexType
Definition: Reco_Vertex.h:47
DerivationFramework
THE reconstruction tool.
Definition: ParticleSortingAlg.h:24
DerivationFramework::Reco_Vertex::m_do3d
bool m_do3d
Definition: Reco_Vertex.h:49
EventInfo.h
MuonContainer.h
DerivationFramework::Reco_Vertex::addBranches
virtual StatusCode addBranches() const
Pass the thinning service
Definition: Reco_Vertex.cxx:82
DerivationFramework::Reco_Vertex::m_RelinkMuons
SG::ReadHandleKeyArray< xAOD::MuonContainer > m_RelinkMuons
Definition: Reco_Vertex.h:53
DerivationFramework::Reco_Vertex::m_PV_max
int m_PV_max
Definition: Reco_Vertex.h:46
DerivationFramework::Reco_Vertex::m_pvRefitter
ToolHandle< Analysis::PrimaryVertexRefitter > m_pvRefitter
Definition: Reco_Vertex.h:38
DerivationFramework::Reco_Vertex::m_refPVContainerName
SG::WriteHandleKey< xAOD::VertexContainer > m_refPVContainerName
Definition: Reco_Vertex.h:44
AthAlgTool
Definition: AthAlgTool.h:26
DerivationFramework::Reco_Vertex::Reco_Vertex
Reco_Vertex(const std::string &t, const std::string &n, const IInterface *p)
Definition: Reco_Vertex.cxx:21
TrackParticleContainerFwd.h