ATLAS Offline Software
MuonDetDescr/MuonGeoModelTest/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 
9 #include <set>
18 
19 namespace MuonGM {
20 
22  public:
23  GeoModelRpcTest(const std::string& name, ISvcLocator* pSvcLocator);
24 
25  StatusCode initialize() override;
26  StatusCode execute() override;
27  StatusCode finalize() override;
28  unsigned int cardinality() const override final { return 1; }
29 
30  private:
31 
32  StatusCode dumpToTree(const EventContext& ctx, const RpcReadoutElement* readoutEle);
33 
36  this, "DetectorManagerKey", "MuonDetectorManager",
37  "Key of input MuonDetectorManager condition data"};
38 
40  this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
41 
43  std::set<Identifier> m_testStations{};
44 
47  Gaudi::Property<std::vector<std::string>> m_selectStat{
48  this, "TestStations", {}, "Constrain the stations to be tested"};
49 
51  MuonVal::MuonTesterTree m_tree{"RpcGeoModelTree", "GEOMODELTESTER"};
52 
61 
62 
66 
80 
81 
89 
95 
103 
104 };
105 
106 }
107 #endif
MuonGM::GeoModelRpcTest::m_stripEtaWidth
MuonVal::ScalarBranch< float > & m_stripEtaWidth
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:70
MuonGM::GeoModelRpcTest::finalize
StatusCode finalize() override
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.cxx:21
MuonGM
Ensure that the Athena extensions are properly loaded.
Definition: GeoMuonHits.h:27
MuonGM::GeoModelRpcTest::m_detMgrKey
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > m_detMgrKey
MuonDetectorManager from the conditions store.
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:35
MuonGM::GeoModelRpcTest::m_ALineRotS
MuonVal::ScalarBranch< float > & m_ALineRotS
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:86
MuonGM::GeoModelRpcTest::m_stripPhiWidth
MuonVal::ScalarBranch< float > & m_stripPhiWidth
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:71
xAOD::uint8_t
uint8_t
Definition: Muon_v1.cxx:575
CoordTransformBranch.h
MuonGM::GeoModelRpcTest::execute
StatusCode execute() override
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.cxx:69
MuonGM::GeoModelRpcTest::m_doubletPhi
MuonVal::ScalarBranch< uint8_t > & m_doubletPhi
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:59
MuonGM::GeoModelRpcTest::m_stripDblPhi
MuonVal::VectorBranch< uint8_t > & m_stripDblPhi
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:101
MuonGM::GeoModelRpcTest::m_locPos
MuonVal::TwoVectorBranch m_locPos
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:102
MuonGM::GeoModelRpcTest::m_selectStat
Gaudi::Property< std::vector< std::string > > m_selectStat
String should be formated like <stationName><stationEta><A/C><stationPhi>
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:47
MuonGM::RpcReadoutElement
An RpcReadoutElement corresponds to a single RPC module; therefore typicaly a barrel muon station con...
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/RpcReadoutElement.h:54
MuonVal::VectorBranch< uint8_t >
MuonTesterTree.h
MuonGM::GeoModelRpcTest::m_doubletR
MuonVal::ScalarBranch< uint8_t > & m_doubletR
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:57
ThreeVectorBranch.h
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:562
MuonGM::GeoModelRpcTest::m_numPhiPanels
MuonVal::ScalarBranch< uint8_t > & m_numPhiPanels
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:76
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
MuonGM::GeoModelRpcTest::cardinality
unsigned int cardinality() const override final
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:28
MuonGM::GeoModelRpcTest::m_stripRotDblPhi
MuonVal::VectorBranch< uint8_t > & m_stripRotDblPhi
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:93
MuonGM::GeoModelRpcTest::m_stripPosGasGap
MuonVal::VectorBranch< uint8_t > & m_stripPosGasGap
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:99
MuonVal::MuonTesterTree
Definition: MuonTesterTree.h:30
MuonGM::GeoModelRpcTest::m_doubletZ
MuonVal::ScalarBranch< uint8_t > & m_doubletZ
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:58
IdentifierBranch.h
MuonGM::GeoModelRpcTest::m_stripRot
MuonVal::CoordSystemsBranch m_stripRot
Rotation matrix of the respective layers.
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:91
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
MuonGM::GeoModelRpcTest::m_numStripsPhi
MuonVal::ScalarBranch< uint8_t > & m_numStripsPhi
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:65
MuonGM::GeoModelRpcTest::m_stripRotGasGap
MuonVal::VectorBranch< uint8_t > & m_stripRotGasGap
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:92
MuonGM::GeoModelRpcTest::m_stripPosMeasPhi
MuonVal::VectorBranch< bool > & m_stripPosMeasPhi
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:98
MuonGM::GeoModelRpcTest::m_stripEtaLength
MuonVal::ScalarBranch< float > & m_stripEtaLength
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:72
MuonVal::MuonTesterTree::newVector
VectorBranch< T > & newVector(const std::string &name)
Creates new branches and returns their reference.
AthHistogramAlgorithm
Definition: AthHistogramAlgorithm.h:32
MuonGM::GeoModelRpcTest::m_stIndex
MuonVal::ScalarBranch< unsigned short > & m_stIndex
Identifier of the readout element.
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:54
MuonGM::GeoModelRpcTest::m_stEta
MuonVal::ScalarBranch< short > & m_stEta
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:55
MuonGM::GeoModelRpcTest::m_stripRotMeasPhi
MuonVal::VectorBranch< bool > & m_stripRotMeasPhi
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:94
ReadCondHandleKey.h
MuonGM::GeoModelRpcTest::dumpToTree
StatusCode dumpToTree(const EventContext &ctx, const RpcReadoutElement *readoutEle)
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.cxx:148
MuonGM::GeoModelRpcTest::m_stripPhiPitch
MuonVal::ScalarBranch< float > & m_stripPhiPitch
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:69
MuonGM::GeoModelRpcTest::m_ALineRotT
MuonVal::ScalarBranch< float > & m_ALineRotT
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:87
MuonGM::GeoModelRpcTest::initialize
StatusCode initialize() override
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.cxx:25
MuonVal::ScalarBranch< unsigned short >
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
MuonVal::MuonTesterTree::newScalar
ScalarBranch< T > & newScalar(const std::string &name)
MuonGM::GeoModelRpcTest::m_chamberDesign
MuonVal::ScalarBranch< std::string > & m_chamberDesign
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:60
MuonVal::CoordSystemsBranch
Helper class to dump the Amg::Transformations into 4 three vector branches.
Definition: CoordTransformBranch.h:28
MuonDetectorManager.h
MuonGM::GeoModelRpcTest::m_numStripsEta
MuonVal::ScalarBranch< uint8_t > & m_numStripsEta
Number of strips, strip pitch in eta & phi direction.
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:64
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager >
MuonGM::GeoModelRpcTest::m_ALineTransZ
MuonVal::ScalarBranch< float > & m_ALineTransZ
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:85
MuonGM::GeoModelRpcTest
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:21
MuonGM::GeoModelRpcTest::m_stripEtaPitch
MuonVal::ScalarBranch< float > & m_stripEtaPitch
Strip dimensions.
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:68
MuonGM::GeoModelRpcTest::m_stripPosNum
MuonVal::VectorBranch< uint8_t > & m_stripPosNum
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:100
MuonGM::GeoModelRpcTest::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:39
MuonGM::GeoModelRpcTest::m_stripPhiLength
MuonVal::ScalarBranch< float > & m_stripPhiLength
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:73
MuonGM::GeoModelRpcTest::m_ALineRotZ
MuonVal::ScalarBranch< float > & m_ALineRotZ
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:88
MuonGM::GeoModelRpcTest::m_tree
MuonVal::MuonTesterTree m_tree
Write a TTree for validation purposes.
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:51
MuonGM::GeoModelRpcTest::m_alignableNode
MuonVal::CoordTransformBranch m_alignableNode
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:79
MuonGM::GeoModelRpcTest::m_stripPos
MuonVal::ThreeVectorBranch m_stripPos
Strip positions.
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:97
TwoVectorBranch.h
MuonGM::GeoModelRpcTest::m_numRpcLayers
MuonVal::ScalarBranch< uint8_t > & m_numRpcLayers
Number of eta & phi gas gaps.
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:75
MuonGM::GeoModelRpcTest::m_ALineTransT
MuonVal::ScalarBranch< float > & m_ALineTransT
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:84
MuonGM::GeoModelRpcTest::GeoModelRpcTest
GeoModelRpcTest(const std::string &name, ISvcLocator *pSvcLocator)
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.cxx:18
MuonGM::GeoModelRpcTest::m_ALineTransS
MuonVal::ScalarBranch< float > & m_ALineTransS
Alignment parameters.
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:83
MuonGM::GeoModelRpcTest::m_testStations
std::set< Identifier > m_testStations
Set of stations to be tested.
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:43
IMuonIdHelperSvc.h
MuonGM::GeoModelRpcTest::m_stPhi
MuonVal::ScalarBranch< short > & m_stPhi
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:56
MuonVal::TwoVectorBranch
Definition: TwoVectorBranch.h:15
MuonGM::GeoModelRpcTest::m_readoutTransform
MuonVal::CoordTransformBranch m_readoutTransform
Transformation of the readout element (Translation, ColX, ColY, ColZ)
Definition: MuonDetDescr/MuonGeoModelTest/src/GeoModelRpcTest.h:78
ServiceHandle< Muon::IMuonIdHelperSvc >
RpcReadoutElement.h