ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonPhaseII
MuonDetDescr
MuonGeoModelTestR4
src
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
10
#include "
AthenaBaseComps/AthHistogramAlgorithm.h
"
11
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
12
#include "
MuonReadoutGeometryR4/MuonDetectorManager.h
"
13
#include "
StoreGate/ReadCondHandleKey.h
"
14
15
class
TGraph;
16
class
TH1;
17
18
namespace
MuonGMR4
{
19
class
NswGeoPlottingAlg
:
public
AthHistogramAlgorithm
{
20
public
:
21
using
AthHistogramAlgorithm::AthHistogramAlgorithm
;
22
23
StatusCode
initialize
()
override
;
24
StatusCode
execute
(
const
EventContext& ctx)
override
;
25
unsigned
int
cardinality
()
const
override final {
return
1; }
26
27
private
:
28
int
layerId
(
const
Identifier
&
id
)
const
;
29
30
StatusCode
initMm
();
31
StatusCode
initStgc
();
32
StatusCode
initTgc
();
33
34
// MuonDetectorManager from the conditions store
35
ServiceHandle<Muon::IMuonIdHelperSvc>
m_idHelperSvc
{
this
,
"IdHelperSvc"
,
36
"Muon::MuonIdHelperSvc/MuonIdHelperSvc"
};
37
38
ActsTrk::GeoContextReadKey_t
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
AthHistogramAlgorithm.h
IMuonIdHelperSvc.h
MuonDetectorManager.h
ReadCondHandleKey.h
AthHistogramAlgorithm::AthHistogramAlgorithm
AthHistogramAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Definition
AthHistogramAlgorithm.cxx:31
MuonGMR4::MuonDetectorManager
Definition
MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonDetectorManager.h:62
MuonGMR4::NswGeoPlottingAlg
Definition
MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.h:19
MuonGMR4::NswGeoPlottingAlg::execute
StatusCode execute(const EventContext &ctx) override
Execute method.
Definition
MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.cxx:36
MuonGMR4::NswGeoPlottingAlg::cardinality
unsigned int cardinality() const override final
Definition
MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.h:25
MuonGMR4::NswGeoPlottingAlg::m_tgcActiveAreas
std::map< IdentifierHash, TH1 * > m_tgcActiveAreas
Definition
MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.h:50
MuonGMR4::NswGeoPlottingAlg::initTgc
StatusCode initTgc()
Definition
MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.cxx:190
MuonGMR4::NswGeoPlottingAlg::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition
MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.h:35
MuonGMR4::NswGeoPlottingAlg::initMm
StatusCode initMm()
Definition
MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.cxx:171
MuonGMR4::NswGeoPlottingAlg::m_stgcActiveAreas
std::map< IdentifierHash, TH1 * > m_stgcActiveAreas
Definition
MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.h:49
MuonGMR4::NswGeoPlottingAlg::initialize
StatusCode initialize() override
Definition
MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.cxx:26
MuonGMR4::NswGeoPlottingAlg::m_plotTgc
Gaudi::Property< bool > m_plotTgc
Definition
MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.h:46
MuonGMR4::NswGeoPlottingAlg::m_detMgr
const MuonDetectorManager * m_detMgr
Definition
MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.h:40
MuonGMR4::NswGeoPlottingAlg::layerId
int layerId(const Identifier &id) const
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_testActsSurf
Gaudi::Property< bool > m_testActsSurf
Definition
MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.h:42
MuonGMR4::NswGeoPlottingAlg::AthHistogramAlgorithm
AthHistogramAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Definition
AthHistogramAlgorithm.cxx:31
MuonGMR4::NswGeoPlottingAlg::m_plotStgc
Gaudi::Property< bool > m_plotStgc
Definition
MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.h:45
MuonGMR4::NswGeoPlottingAlg::m_geoCtxKey
ActsTrk::GeoContextReadKey_t m_geoCtxKey
Definition
MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.h:38
MuonGMR4::NswGeoPlottingAlg::m_plotMm
Gaudi::Property< bool > m_plotMm
Definition
MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.h:44
MuonGMR4::NswGeoPlottingAlg::initStgc
StatusCode initStgc()
Definition
MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/NSWGeoPlottingAlg.cxx:150
ServiceHandle
Definition
ClusterMakerTool.h:36
const
ActsTrk::GeoContextReadKey_t
SG::ReadHandleKey< GeometryContext > GeoContextReadKey_t
Abrivate the ReadHandleKey to declare the data dependency on the Geometry context.
Definition
GeometryContext.h:64
Identifier
Definition
IdentifierFieldParser.cxx:14
MuonGMR4
The ReadoutGeomCnvAlg converts the Run4 Readout geometry build from the GeoModelXML into the legacy M...
Definition
MdtCalibInput.h:19
Generated on
for ATLAS Offline Software by
1.17.0