ATLAS Offline Software
InDetGlobalTrackMonAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
16 #ifndef InDetGlobalTrackMonAlg_H
17 #define InDetGlobalTrackMonAlg_H
18 
21 
22 #include "GaudiKernel/EventContext.h"
23 
25 
26 
27 //Detector Managers
29 
30 
31 //------------TrackMon------------
34 
36 
38 //Standard c++
39 #include <string>
40 #include <memory>
41 
42 //------------------------------
43 
44 namespace InDet {
45  class IInDetTrackSelectionTool;
46  class ITrackToVertexIPEstimator;
47 }
48 
50 
51  public:
52 
53  InDetGlobalTrackMonAlg( const std::string& name, ISvcLocator* pSvcLocator );
54  virtual ~InDetGlobalTrackMonAlg();
55  virtual StatusCode initialize() override;
56  virtual StatusCode fillHistograms( const EventContext& ctx ) const override;
57  std::string findComponentString(int bec, int ld) const;
58 
59  private:
60 
61  ToolHandle <InDet::IInDetTrackSelectionTool> m_trackSelTool{this,"TrackSelectionTool","InDet::InDetTrackSelectionTool/TrackSelectionTool",""};
62  ToolHandle <InDet::IInDetTrackSelectionTool> m_tight_trackSelTool{this,"Tight_TrackSelectionTool","InDet::InDetTrackSelectionTool/TrackSelectionTool",""};
63  ToolHandle <InDet::IInDetTrackSelectionTool> m_loose_trackSelTool{this,"Loose_TrackSelectionTool","InDet::InDetTrackSelectionTool/TrackSelectionTool",""};
64  ToolHandle <Trk::ITrackToVertexIPEstimator> m_trackToVertexIPEstimator{this,"TrackToVertexIPEstimator","Trk::TrackToVertexIPEstimator",""};
65 
66  SG::ReadHandleKey<xAOD::TrackParticleContainer> m_trackParticleName{this, "TrackParticleContainerName", "InDetTrackParticles","TrackParticle Collection for Global Monitoring"};
67  SG::ReadHandleKey<xAOD::VertexContainer> m_vxContainerName{this,"vxContainerName","PrimaryVertices","Primary Vertices for Global Monitoring"};
68  SG::ReadHandleKey<xAOD::JetContainer> m_jetContainerName{this,"jetCollection","AntiKt4EMTopoJets","Jet Collection for Global Track Monitoring"};
69 
70  ServiceHandle<IIBLParameterSvc> m_IBLParameterSvc{this, "IBLParameterSvc", "IBLParameterSvc"};
71 
72  BooleanProperty m_doIBL{this, "DoIBL", true, "IBL present?"};
73  BooleanProperty m_doTide{this, "DoTide", true, "Make TIDE plots?"};
74 
75 };
76 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
ParticleGun_SamplingFraction.bec
int bec
Definition: ParticleGun_SamplingFraction.py:89
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
InDetGlobalTrackMonAlg::m_jetContainerName
SG::ReadHandleKey< xAOD::JetContainer > m_jetContainerName
Definition: InDetGlobalTrackMonAlg.h:68
SG::ReadHandleKey< xAOD::TrackParticleContainer >
InDetGlobalTrackMonAlg::m_vxContainerName
SG::ReadHandleKey< xAOD::VertexContainer > m_vxContainerName
Definition: InDetGlobalTrackMonAlg.h:67
InDetGlobalTrackMonAlg::findComponentString
std::string findComponentString(int bec, int ld) const
InDetGlobalTrackMonAlg::initialize
virtual StatusCode initialize() override
initialize
Definition: InDetGlobalTrackMonAlg.cxx:32
AthMonitorAlgorithm
Base class for Athena Monitoring Algorithms.
Definition: AthMonitorAlgorithm.h:36
InDetGlobalTrackMonAlg::m_loose_trackSelTool
ToolHandle< InDet::IInDetTrackSelectionTool > m_loose_trackSelTool
Definition: InDetGlobalTrackMonAlg.h:63
IIBLParameterSvc.h
InDetGlobalTrackMonAlg::m_tight_trackSelTool
ToolHandle< InDet::IInDetTrackSelectionTool > m_tight_trackSelTool
Definition: InDetGlobalTrackMonAlg.h:62
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthMonitorAlgorithm.h
InDetGlobalTrackMonAlg::m_doIBL
BooleanProperty m_doIBL
Definition: InDetGlobalTrackMonAlg.h:72
InDetGlobalTrackMonAlg::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Definition: InDetGlobalTrackMonAlg.cxx:50
InDetGlobalTrackMonAlg::~InDetGlobalTrackMonAlg
virtual ~InDetGlobalTrackMonAlg()
Definition: InDetGlobalTrackMonAlg.cxx:29
InDetGlobalTrackMonAlg::m_IBLParameterSvc
ServiceHandle< IIBLParameterSvc > m_IBLParameterSvc
Definition: InDetGlobalTrackMonAlg.h:70
IInDetTrackSelectionTool.h
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
InDetGlobalTrackMonAlg::InDetGlobalTrackMonAlg
InDetGlobalTrackMonAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: InDetGlobalTrackMonAlg.cxx:25
ITrackHoleSearchTool.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
InDetGlobalTrackMonAlg::m_trackToVertexIPEstimator
ToolHandle< Trk::ITrackToVertexIPEstimator > m_trackToVertexIPEstimator
Definition: InDetGlobalTrackMonAlg.h:64
InDetGlobalTrackMonAlg::m_doTide
BooleanProperty m_doTide
Definition: InDetGlobalTrackMonAlg.h:73
InDetGlobalTrackMonAlg::m_trackParticleName
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trackParticleName
Definition: InDetGlobalTrackMonAlg.h:66
ITrackToVertexIPEstimator.h
InDetGlobalTrackMonAlg
Definition: InDetGlobalTrackMonAlg.h:49
geometry_dat_to_json.ld
ld
Definition: geometry_dat_to_json.py:32
TrackParticleContainer.h
InDetGlobalTrackMonAlg::m_trackSelTool
ToolHandle< InDet::IInDetTrackSelectionTool > m_trackSelTool
Definition: InDetGlobalTrackMonAlg.h:61
ServiceHandle< IIBLParameterSvc >