ATLAS Offline Software
MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 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:
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 
33 
34  // MuonDetectorManager from the conditions store
36  "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
37 
38  SG::ReadHandleKey<ActsGeometryContext> m_geoCtxKey{this, "AlignmentKey", "ActsAlignment", "cond handle key"};
39 
40  const MuonDetectorManager* m_detMgr{nullptr};
41 
42  Gaudi::Property<bool> m_testActsSurf{this, "TestActsSurface", true};
43 
44  Gaudi::Property<bool> m_plotMm{this, "plotMm", true};
45  Gaudi::Property<bool> m_plotStgc{this, "plotStgc", true};
46  Gaudi::Property<bool> m_plotTgc{this, "plotTgc",false};
48  std::map<IdentifierHash, TH1*> m_mmActiveAreas{};
49  std::map<IdentifierHash, TH1*> m_stgcActiveAreas{};
50  std::map<IdentifierHash, TH1*> m_tgcActiveAreas{};
51 
52 };
53 
54 }
55 #endif
MuonGMR4::NswGeoPlottingAlg::m_detMgr
const MuonDetectorManager * m_detMgr
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.h:40
MuonGMR4::NswGeoPlottingAlg
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.h:19
AthHistogramAlgorithm::AthHistogramAlgorithm
AthHistogramAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Definition: AthHistogramAlgorithm.cxx:31
MuonGMR4::NswGeoPlottingAlg::m_tgcActiveAreas
std::map< IdentifierHash, TH1 * > m_tgcActiveAreas
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.h:50
MuonGMR4::NswGeoPlottingAlg::initMm
StatusCode initMm()
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.cxx:172
MuonGMR4::MuonDetectorManager
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonDetectorManager.h:62
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
SG::ReadHandleKey< ActsGeometryContext >
MuonGMR4::NswGeoPlottingAlg::initialize
StatusCode initialize() override
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.cxx:26
AthHistogramAlgorithm.h
MuonGMR4::NswGeoPlottingAlg::m_plotMm
Gaudi::Property< bool > m_plotMm
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.h:44
MuonGMR4::NswGeoPlottingAlg::m_plotTgc
Gaudi::Property< bool > m_plotTgc
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.h:46
MuonGMR4::NswGeoPlottingAlg::initTgc
StatusCode initTgc()
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.cxx:191
MuonGMR4
The ReadoutGeomCnvAlg converts the Run4 Readout geometry build from the GeoModelXML into the legacy M...
Definition: MdtCalibInput.h:19
MuonGMR4::NswGeoPlottingAlg::execute
StatusCode execute() override
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.cxx:36
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h: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:48
MuonGMR4::NswGeoPlottingAlg::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.h:35
AthHistogramAlgorithm
Definition: AthHistogramAlgorithm.h:32
ReadCondHandleKey.h
MuonGMR4::NswGeoPlottingAlg::m_geoCtxKey
SG::ReadHandleKey< ActsGeometryContext > m_geoCtxKey
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.h:38
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:49
MuonGMR4::NswGeoPlottingAlg::initStgc
StatusCode initStgc()
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.cxx:151
MuonGMR4::NswGeoPlottingAlg::m_testActsSurf
Gaudi::Property< bool > m_testActsSurf
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.h:42
MuonGMR4::NswGeoPlottingAlg::m_plotStgc
Gaudi::Property< bool > m_plotStgc
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.h:45
IMuonIdHelperSvc.h
MuonGMR4::NswGeoPlottingAlg::cardinality
unsigned int cardinality() const override final
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.h:25
ServiceHandle< Muon::IMuonIdHelperSvc >
Identifier
Definition: IdentifierFieldParser.cxx:14