ATLAS Offline Software
MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.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_GEOMODELRPCTEST_H
5 #define MUONGEOMODELTESTR4_GEOMODELRPCTEST_H
6 
8 #include <set>
17 
18 namespace MuonGMR4{
19 
21  public:
22  GeoModelRpcTest(const std::string& name, ISvcLocator* pSvcLocator);
23 
24  ~GeoModelRpcTest() = default;
25 
26  StatusCode execute() override;
27  StatusCode initialize() override;
28  StatusCode finalize() override;
29 
30  unsigned int cardinality() const override final { return 1; }
31 
32  private:
34  "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
35 
36  SG::ReadHandleKey<ActsGeometryContext> m_geoCtxKey{this, "AlignmentKey", "ActsAlignment", "cond handle key"};
37 
39  std::set<Identifier> m_testStations{};
40 
42  Gaudi::Property<std::vector<std::string>> m_selectStat{this, "TestStations", {}};
43 
44  const MuonDetectorManager* m_detMgr{nullptr};
45 
46  StatusCode dumpToTree(const EventContext& ctx,
47  const ActsGeometryContext& gctx, const RpcReadoutElement* readoutEle);
48 
49  MuonVal::MuonTesterTree m_tree{"RpcGeoModelTree", "GEOMODELTESTER"};
50 
62 
71 
78 
79 
87 
93 
101 
102 };
103 }
104 #endif
MuonGMR4::GeoModelRpcTest::m_chamberDesign
MuonVal::ScalarBranch< std::string > & m_chamberDesign
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:58
MuonGMR4::GeoModelRpcTest::m_stripEtaLength
MuonVal::ScalarBranch< float > & m_stripEtaLength
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:68
MuonGMR4::GeoModelRpcTest::m_stripPhiWidth
MuonVal::ScalarBranch< float > & m_stripPhiWidth
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:67
MuonGMR4::GeoModelRpcTest::m_stIndex
MuonVal::ScalarBranch< unsigned short > & m_stIndex
Identifier of the readout element.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:52
MuonGMR4::GeoModelRpcTest::m_ALineRotT
MuonVal::ScalarBranch< float > & m_ALineRotT
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:85
xAOD::uint8_t
uint8_t
Definition: Muon_v1.cxx:575
MuonGMR4::GeoModelRpcTest::m_stripRot
MuonVal::CoordSystemsBranch m_stripRot
Rotation matrix of the respective layers.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:89
MuonGMR4::GeoModelRpcTest
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:20
MuonGMR4::MuonDetectorManager
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonDetectorManager.h:61
CoordTransformBranch.h
ActsGeometryContext.h
MuonGMR4::GeoModelRpcTest::m_stripPosMeasPhi
MuonVal::VectorBranch< bool > & m_stripPosMeasPhi
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:97
MuonGMR4::GeoModelRpcTest::m_stripRotDblPhi
MuonVal::VectorBranch< uint8_t > & m_stripRotDblPhi
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:91
MuonGMR4::GeoModelRpcTest::initialize
StatusCode initialize() override
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.cxx:17
MuonGMR4::GeoModelRpcTest::m_alignableNode
MuonVal::CoordTransformBranch m_alignableNode
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:77
MuonGMR4::GeoModelRpcTest::m_numStripsPhi
MuonVal::ScalarBranch< uint8_t > & m_numStripsPhi
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:61
MuonGMR4::GeoModelRpcTest::m_locStripPos
MuonVal::TwoVectorBranch m_locStripPos
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:96
MuonVal::VectorBranch< uint8_t >
MuonTesterTree.h
ThreeVectorBranch.h
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:562
SG::ReadHandleKey< ActsGeometryContext >
MuonGMR4::RpcReadoutElement
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/RpcReadoutElement.h:18
MuonGMR4::GeoModelRpcTest::m_stPhi
MuonVal::ScalarBranch< short > & m_stPhi
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:54
MuonGMR4::GeoModelRpcTest::cardinality
unsigned int cardinality() const override final
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:30
MuonVal::ThreeVectorBranch
Definition: ThreeVectorBranch.h:19
AthHistogramAlgorithm.h
MuonVal::CoordTransformBranch
Helper class to dump the Amg::Transformations into a single three vector branch The first entry is th...
Definition: CoordTransformBranch.h:15
MuonGMR4::GeoModelRpcTest::~GeoModelRpcTest
~GeoModelRpcTest()=default
MuonGMR4::GeoModelRpcTest::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:33
MuonGMR4::GeoModelRpcTest::m_doubletPhi
MuonVal::ScalarBranch< uint8_t > & m_doubletPhi
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:57
MuonGMR4
Definition: ChamberAssembleTool.h:16
MuonGMR4::GeoModelRpcTest::m_doubletR
MuonVal::ScalarBranch< uint8_t > & m_doubletR
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:55
MuonVal::MuonTesterTree
Definition: MuonTesterTree.h:30
MuonGMR4::GeoModelRpcTest::m_tree
MuonVal::MuonTesterTree m_tree
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:49
IdentifierBranch.h
MuonGMR4::GeoModelRpcTest::m_stripPos
MuonVal::ThreeVectorBranch m_stripPos
Strip positions.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:95
MuonGMR4::GeoModelRpcTest::m_ALineTransZ
MuonVal::ScalarBranch< float > & m_ALineTransZ
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:83
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
MuonDetectorManager.h
MuonGMR4::GeoModelRpcTest::m_stripPhiLength
MuonVal::ScalarBranch< float > & m_stripPhiLength
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:69
MuonGMR4::GeoModelRpcTest::m_numGasGapsPhi
MuonVal::ScalarBranch< uint8_t > & m_numGasGapsPhi
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:73
MuonGMR4::GeoModelRpcTest::m_ALineTransS
MuonVal::ScalarBranch< float > & m_ALineTransS
Alignment parameters.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:81
MuonVal::MuonTesterTree::newVector
VectorBranch< T > & newVector(const std::string &name)
Creates new branches and returns their reference.
AthHistogramAlgorithm
Definition: AthHistogramAlgorithm.h:32
MuonGMR4::GeoModelRpcTest::m_readoutTransform
MuonVal::CoordTransformBranch m_readoutTransform
Transformation of the readout element (Translation, ColX, ColY, ColZ)
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:76
ActsGeometryContext
Include the GeoPrimitives which need to be put first.
Definition: ActsGeometryContext.h:27
MuonGMR4::GeoModelRpcTest::m_numRpcLayers
MuonVal::ScalarBranch< uint8_t > & m_numRpcLayers
Number of eta & phi gas gaps.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:72
MuonGMR4::GeoModelRpcTest::m_stripPhiPitch
MuonVal::ScalarBranch< float > & m_stripPhiPitch
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:65
MuonGMR4::GeoModelRpcTest::m_ALineTransT
MuonVal::ScalarBranch< float > & m_ALineTransT
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:82
MuonVal::ScalarBranch< unsigned short >
MuonGMR4::GeoModelRpcTest::m_testStations
std::set< Identifier > m_testStations
Set of stations to be tested.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:39
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
MuonGMR4::GeoModelRpcTest::m_geoCtxKey
SG::ReadHandleKey< ActsGeometryContext > m_geoCtxKey
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:36
MuonGMR4::GeoModelRpcTest::m_stEta
MuonVal::ScalarBranch< short > & m_stEta
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:53
MuonVal::MuonTesterTree::newScalar
ScalarBranch< T > & newScalar(const std::string &name)
MuonGMR4::GeoModelRpcTest::GeoModelRpcTest
GeoModelRpcTest(const std::string &name, ISvcLocator *pSvcLocator)
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.cxx:14
MuonGMR4::GeoModelRpcTest::m_stripEtaPitch
MuonVal::ScalarBranch< float > & m_stripEtaPitch
Strip dimensions.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:64
MuonVal::CoordSystemsBranch
Helper class to dump the Amg::Transformations into 4 three vector branches.
Definition: CoordTransformBranch.h:28
MuonGMR4::GeoModelRpcTest::m_stripEtaWidth
MuonVal::ScalarBranch< float > & m_stripEtaWidth
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:66
MuonGMR4::GeoModelRpcTest::m_ALineRotZ
MuonVal::ScalarBranch< float > & m_ALineRotZ
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:86
MuonGMR4::GeoModelRpcTest::m_stripRotMeasPhi
MuonVal::VectorBranch< bool > & m_stripRotMeasPhi
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:92
MuonGMR4::GeoModelRpcTest::m_stripPosGasGap
MuonVal::VectorBranch< uint8_t > & m_stripPosGasGap
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:98
MuonGMR4::GeoModelRpcTest::dumpToTree
StatusCode dumpToTree(const EventContext &ctx, const ActsGeometryContext &gctx, const RpcReadoutElement *readoutEle)
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.cxx:138
MuonGMR4::GeoModelRpcTest::execute
StatusCode execute() override
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.cxx:69
MuonGMR4::GeoModelRpcTest::m_ALineRotS
MuonVal::ScalarBranch< float > & m_ALineRotS
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:84
MuonGMR4::GeoModelRpcTest::m_detMgr
const MuonDetectorManager * m_detMgr
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:44
TwoVectorBranch.h
MuonGMR4::GeoModelRpcTest::m_numStripsEta
MuonVal::ScalarBranch< uint8_t > & m_numStripsEta
Number of strips, strip pitch in eta & phi direction.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:60
MuonGMR4::GeoModelRpcTest::finalize
StatusCode finalize() override
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.cxx:65
MuonGMR4::GeoModelRpcTest::m_numPhiPanels
MuonVal::ScalarBranch< uint8_t > & m_numPhiPanels
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:74
MuonGMR4::GeoModelRpcTest::m_stripRotGasGap
MuonVal::VectorBranch< uint8_t > & m_stripRotGasGap
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:90
MuonGMR4::GeoModelRpcTest::m_stripDblPhi
MuonVal::VectorBranch< uint8_t > & m_stripDblPhi
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:100
MuonGMR4::GeoModelRpcTest::m_stripPosNum
MuonVal::VectorBranch< uint8_t > & m_stripPosNum
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:99
MuonGMR4::GeoModelRpcTest::m_doubletZ
MuonVal::ScalarBranch< uint8_t > & m_doubletZ
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:56
IMuonIdHelperSvc.h
MuonVal::TwoVectorBranch
Definition: TwoVectorBranch.h:15
ServiceHandle< Muon::IMuonIdHelperSvc >
MuonGMR4::GeoModelRpcTest::m_selectStat
Gaudi::Property< std::vector< std::string > > m_selectStat
String should be formated like <stationName><stationEta><A/C><stationPhi>
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:42