ATLAS Offline Software
SpacePointAnalysisAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ACTSTRKANALYSIS_SPACEPOINTANALYSISALG_H
6 #define ACTSTRKANALYSIS_SPACEPOINTANALYSISALG_H
7 
12 
14 #include "InDetIdentifier/SCT_ID.h"
15 
19 
20 namespace ActsTrk {
21 
22  class SpacePointAnalysisAlg final :
23  public AthMonitorAlgorithm {
24 
25  public:
26  SpacePointAnalysisAlg(const std::string& name, ISvcLocator* pSvcLocator);
27  virtual ~SpacePointAnalysisAlg() override = default;
28 
29  virtual StatusCode initialize() override;
30  virtual StatusCode fillHistograms(const EventContext& ctx) const override;
31 
32  private:
33  SG::ReadHandleKey< xAOD::SpacePointContainer > m_spacePointContainerKey {this, "SpacePointContainerKey", "ITkPixelSpacePoints", "Key of input space points"};
34  SG::ReadDecorHandleKey< xAOD::SpacePointContainer > m_clusterDecoration {this, "ClusterDecoration", "measurements", "Decoration to clusters (bare pointers)"};
35 
36  Gaudi::Property< std::string > m_monGroupName {this, "MonGroupName", "ActsSpacePointAnalysisAlg"};
37  Gaudi::Property< bool > m_usePixel {this, "UsePixel", true, "enable use of pixel ID or SCT ID"};
38  Gaudi::Property< bool > m_useOverlap {this, "UseOverlap", false, "looking at strip strip space points"};
39  };
40 }
41 
42 #endif // ACTSTRKANALYSIS_SPACEPOINTANALYSISALG_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
PixelID.h
This is an Identifier helper class for the Pixel subdetector. This class is a factory for creating co...
ActsTrk::SpacePointAnalysisAlg::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Definition: SpacePointAnalysisAlg.cxx:40
SCT_ID.h
This is an Identifier helper class for the SCT subdetector. This class is a factory for creating comp...
ActsTrk::SpacePointAnalysisAlg::initialize
virtual StatusCode initialize() override
initialize
Definition: SpacePointAnalysisAlg.cxx:19
ReadDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
ActsTrk::SpacePointAnalysisAlg::m_spacePointContainerKey
SG::ReadHandleKey< xAOD::SpacePointContainer > m_spacePointContainerKey
Definition: SpacePointAnalysisAlg.h:33
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
ActsTrk::SpacePointAnalysisAlg
Definition: SpacePointAnalysisAlg.h:23
AthMonitorAlgorithm
Base class for Athena Monitoring Algorithms.
Definition: AthMonitorAlgorithm.h:36
GeoPrimitives.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthMonitorAlgorithm.h
ActsTrk::SpacePointAnalysisAlg::m_usePixel
Gaudi::Property< bool > m_usePixel
Definition: SpacePointAnalysisAlg.h:37
PixelClusterContainer.h
ActsTrk::SpacePointAnalysisAlg::m_clusterDecoration
SG::ReadDecorHandleKey< xAOD::SpacePointContainer > m_clusterDecoration
Definition: SpacePointAnalysisAlg.h:34
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
ActsTrk::SpacePointAnalysisAlg::~SpacePointAnalysisAlg
virtual ~SpacePointAnalysisAlg() override=default
ActsTrk::SpacePointAnalysisAlg::SpacePointAnalysisAlg
SpacePointAnalysisAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: SpacePointAnalysisAlg.cxx:15
SpacePointContainer.h
StripClusterContainer.h
ActsTrk::SpacePointAnalysisAlg::m_useOverlap
Gaudi::Property< bool > m_useOverlap
Definition: SpacePointAnalysisAlg.h:38
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition: MuonDetectorBuilderTool.cxx:54
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition: StoreGate/StoreGate/ReadDecorHandleKey.h:85
ActsTrk::SpacePointAnalysisAlg::m_monGroupName
Gaudi::Property< std::string > m_monGroupName
Definition: SpacePointAnalysisAlg.h:36