ATLAS Offline Software
Loading...
Searching...
No Matches
MuonDetDescr/MuonGeoModelTest/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 GEOMODELCHECK_NSWPLOTTINGALG_H
5#define GEOMODELCHECK_NSWPLOTTINGALG_H
6#include <map> //for map
7#include <memory> //for unique_ptr
8
13
14class TGraph;
15class TH1;
16namespace MuonGM{
18 public:
20 StatusCode initialize() override;
21 StatusCode execute() override;
22 StatusCode finalize() override;
23 unsigned int cardinality() const override final { return 1; }
24
25 private:
26 int layerId(const Identifier& id) const;
27
28 StatusCode initMicroMega();
29 StatusCode initSTgcs();
30
31 // MuonDetectorManager from the conditions store
33 this, "DetectorManagerKey", "MuonDetectorManager",
34 "Key of input MuonDetectorManager condition data"};
35
37 this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
38 Gaudi::Property<std::string> m_outFile{this, "OutFile", "NSWGeoPlots.root"};
40 std::map<Identifier, std::unique_ptr<TGraph>> m_nswPads{};
42 std::map<int, std::unique_ptr<TGraph>> m_nswLayers{};
44 std::map<int, std::unique_ptr<TH1>> m_nswActiveAreas{};
45 bool m_alg_run{false};
46};
47}
48#endif
AthHistogramAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
std::map< int, std::unique_ptr< TGraph > > m_nswLayers
Map showing the edges of the 16 layers of the NSW.
std::map< Identifier, std::unique_ptr< TGraph > > m_nswPads
Map containing each PCB of the NSW seperately.
std::map< int, std::unique_ptr< TH1 > > m_nswActiveAreas
Map showing the active areas of the NSW to show the passivation.
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > m_DetectorManagerKey
AthHistogramAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Ensure that the Athena extensions are properly loaded.
Definition GeoMuonHits.h:27