ATLAS Offline Software
MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef MUONGEOMODELTESTR4_NSWPLOTTINGALG_H
5 #define MUONGEOMODELTESTR4_NSWPLOTTINGALG_H
6 
7 #include <map> //for map
8 #include <memory> //for unique_ptr
9 
14 
15 class TGraph;
16 class TH1;
17 
18 namespace MuonGMR4{
20  public:
21  NswGeoPlottingAlg(const std::string& name, ISvcLocator* pSvcLocator);
22 
23  StatusCode initialize() override;
24  StatusCode execute() override;
25  unsigned int cardinality() const override final { return 1; }
26 
27  private:
28  int layerId(const Identifier& id) const;
29 
32 
33  // MuonDetectorManager from the conditions store
35  "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
36 
37  SG::ReadHandleKey<ActsGeometryContext> m_geoCtxKey{this, "AlignmentKey", "ActsAlignment", "cond handle key"};
38 
39  const MuonDetectorManager* m_detMgr{nullptr};
40 
41  Gaudi::Property<bool> m_testActsSurf{this, "TestActsSurface", true};
43  std::map<IdentifierHash, TH1*> m_mmActiveAreas{};
44  std::map<IdentifierHash, TH1*> m_stgcActiveAreas{};
45 
46 };
47 
48 }
49 #endif
MuonGMR4::NswGeoPlottingAlg::m_detMgr
const MuonDetectorManager * m_detMgr
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.h:39
MuonGMR4::NswGeoPlottingAlg
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.h:19
MuonGMR4::NswGeoPlottingAlg::initMm
StatusCode initMm()
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.cxx:124
MuonGMR4::MuonDetectorManager
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonDetectorManager.h:61
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:562
SG::ReadHandleKey< ActsGeometryContext >
MuonGMR4::NswGeoPlottingAlg::initialize
StatusCode initialize() override
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.cxx:27
AthHistogramAlgorithm.h
MuonGMR4
A muon chamber is a collection of readout elements belonging to the same station.
Definition: ChamberAssembleTool.h:16
MuonGMR4::NswGeoPlottingAlg::execute
StatusCode execute() override
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.cxx:36
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
MuonGMR4::NswGeoPlottingAlg::NswGeoPlottingAlg
NswGeoPlottingAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.cxx:22
MuonDetectorManager.h
MuonGMR4::NswGeoPlottingAlg::m_mmActiveAreas
std::map< IdentifierHash, TH1 * > m_mmActiveAreas
Map showing the active areas of the NSW to show the passivation.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.h:43
MuonGMR4::NswGeoPlottingAlg::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.h:34
AthHistogramAlgorithm
Definition: AthHistogramAlgorithm.h:32
ReadCondHandleKey.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
MuonGMR4::NswGeoPlottingAlg::m_geoCtxKey
SG::ReadHandleKey< ActsGeometryContext > m_geoCtxKey
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.h:37
MuonGMR4::NswGeoPlottingAlg::layerId
int layerId(const Identifier &id) const
MuonGMR4::NswGeoPlottingAlg::m_stgcActiveAreas
std::map< IdentifierHash, TH1 * > m_stgcActiveAreas
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.h:44
TH1
Definition: rootspy.cxx:268
MuonGMR4::NswGeoPlottingAlg::initStgc
StatusCode initStgc()
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.cxx:103
MuonGMR4::NswGeoPlottingAlg::m_testActsSurf
Gaudi::Property< bool > m_testActsSurf
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.h:41
IMuonIdHelperSvc.h
MuonGMR4::NswGeoPlottingAlg::cardinality
unsigned int cardinality() const override final
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.h:25
ServiceHandle< Muon::IMuonIdHelperSvc >