ATLAS Offline Software
Loading...
Searching...
No Matches
TrackParticleAnalysisAlg.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#ifndef ACTSTRKANALYSIS_TRACKPARTICLEANALYSISALG_H
6#define ACTSTRKANALYSIS_TRACKPARTICLEANALYSISALG_H
7
11
12namespace ActsTrk {
13
15 public AthMonitorAlgorithm {
16 public:
17 TrackParticleAnalysisAlg(const std::string& name, ISvcLocator* pSvcLocator);
18 virtual ~TrackParticleAnalysisAlg() override = default;
19
20 virtual StatusCode initialize() override;
21 virtual StatusCode fillHistograms(const EventContext& ctx) const override;
22
23 private:
24 StatusCode monitorTrackStateCounts(const xAOD::TrackParticle &track_particle) const;
25
27 "Input track particle collection"};
28 Gaudi::Property< std::string > m_monGroupName
29 {this, "MonGroupName", "TrackParticleAnalysisAlg"};
30
31 Gaudi::Property< bool > m_monitorTrackStateCounts
32 {this, "MonitorTrackStateCounts", true};
33 };
34
35}
36
37#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
virtual StatusCode initialize() override
initialize
TrackParticleAnalysisAlg(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Gaudi::Property< bool > m_monitorTrackStateCounts
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_tracksKey
Gaudi::Property< std::string > m_monGroupName
StatusCode monitorTrackStateCounts(const xAOD::TrackParticle &track_particle) const
virtual ~TrackParticleAnalysisAlg() override=default
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Property holding a SG store/key/clid from which a ReadHandle is made.
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
TrackParticle_v1 TrackParticle
Reference the current persistent version: