ATLAS Offline Software
IDAlignMonPVBiasesAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3  */
4 
5 // **********************************************************************
6 // IDAlignMonPVBIases.cxx
7 // AUTHORS: Ambrosius Vermeulen, Pierfrancesco Butti
8 // Adapted to new AthenaMT Monitoring 2022 by Per Johansson
9 // **********************************************************************
10 
11 #ifndef IDAlignMonPVBiasesAlg_H
12 #define IDAlignMonPVBiasesAlg_H
13 
15 
20 #include "GaudiKernel/ToolHandle.h"
21 
22 #include <string.h>
23 
24 class ISvcLocator;
25 class EventContext;
26 class StatusCode;
27 
29 
30 public:
31  IDAlignMonPVBiasesAlg( const std::string & name, ISvcLocator* pSvcLocator );
32 
33  virtual ~IDAlignMonPVBiasesAlg();
34  virtual StatusCode initialize()override;
35  virtual StatusCode fillHistograms( const EventContext& ctx ) const override;
36 
37 private:
38  ToolHandle<Trk::ITrackToVertexIPEstimator> m_trackToVertexIPEstimator {this, "TrackToVertexIPEstimator", "Trk::TrackToVertexIPEstimator", ""};
39 
40  SG::ReadHandleKey<xAOD::TrackParticleContainer> m_trackParticleName{this, "TrackParticleContainerName", "InDetTrackParticles","TrackPArticle Collection for PVBiases Monitoring"};
41  SG::ReadHandleKey<xAOD::VertexContainer> m_vxContainerName{this,"vxContainerName","PrimaryVertices","Primary Vertices for PVBiases Monitoring"};
42 
43 };
44 
45 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
IDAlignMonPVBiasesAlg::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Definition: IDAlignMonPVBiasesAlg.cxx:55
IDAlignMonPVBiasesAlg::~IDAlignMonPVBiasesAlg
virtual ~IDAlignMonPVBiasesAlg()
Definition: IDAlignMonPVBiasesAlg.cxx:43
IDAlignMonPVBiasesAlg
Definition: IDAlignMonPVBiasesAlg.h:28
SG::ReadHandleKey< xAOD::TrackParticleContainer >
IDAlignMonPVBiasesAlg::m_trackParticleName
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trackParticleName
Definition: IDAlignMonPVBiasesAlg.h:40
IDAlignMonPVBiasesAlg::m_trackToVertexIPEstimator
ToolHandle< Trk::ITrackToVertexIPEstimator > m_trackToVertexIPEstimator
Definition: IDAlignMonPVBiasesAlg.h:38
AthMonitorAlgorithm
Base class for Athena Monitoring Algorithms.
Definition: AthMonitorAlgorithm.h:36
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthMonitorAlgorithm.h
IDAlignMonPVBiasesAlg::IDAlignMonPVBiasesAlg
IDAlignMonPVBiasesAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: IDAlignMonPVBiasesAlg.cxx:40
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
VertexContainer.h
IDAlignMonPVBiasesAlg::m_vxContainerName
SG::ReadHandleKey< xAOD::VertexContainer > m_vxContainerName
Definition: IDAlignMonPVBiasesAlg.h:41
ITrackToVertexIPEstimator.h
TrackParticleContainer.h
IDAlignMonPVBiasesAlg::initialize
virtual StatusCode initialize() override
initialize
Definition: IDAlignMonPVBiasesAlg.cxx:45