ATLAS Offline Software
MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef MUONGEOMODELTESTR4_GEOMODELMDTTEST_H
5 #define MUONGEOMODELTESTR4_GEOMODELMDTTEST_H
6 
8 #include <set>
16 namespace MuonGMR4{
17 
19  public:
20  GeoModelMdtTest(const std::string& name, ISvcLocator* pSvcLocator);
21 
22  ~GeoModelMdtTest() = default;
23 
24  StatusCode execute() override;
25  StatusCode initialize() override;
26  StatusCode finalize() override;
27 
28  unsigned int cardinality() const override final { return 1; }
29 
30  private:
31  void dumpReadoutSideXML() const;
33  "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
34 
35  SG::ReadHandleKey<ActsGeometryContext> m_geoCtxKey{this, "AlignmentKey", "ActsAlignment", "cond handle key"};
37  std::set<Identifier> m_testStations{};
38 
40  Gaudi::Property<std::vector<std::string>> m_selectStat{this, "TestStations", {}};
41  Gaudi::Property<std::vector<std::string>> m_excludeStat{this, "ExcludeStations", {}};
42 
43  const MuonDetectorManager* m_detMgr{nullptr};
44 
45  Gaudi::Property<std::string> m_swapRead{this, "ReadoutSideXML", ""};
46 
47  StatusCode dumpToTree(const EventContext& ctx,
48  const ActsGeometryContext& gctx, const MdtReadoutElement* readoutEle);
49 
50  MuonVal::MuonTesterTree m_tree{"MdtGeoModelTree", "GEOMODELTESTER"};
51 
56  MuonVal::ScalarBranch<short>& m_stML{m_tree.newScalar<short>("stationMultiLayer")};
58 
61 
62 
70 
74 
77 
81 
86 
94 
120 
121 };
122 
123 }
124 #endif
MuonGMR4::GeoModelMdtTest::m_stIndex
MuonVal::ScalarBranch< unsigned short > & m_stIndex
Identifier of the readout element.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:53
MuonGMR4::GeoModelMdtTest::m_ALineRotZ
MuonVal::ScalarBranch< float > & m_ALineRotZ
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:93
MuonGMR4::GeoModelMdtTest::m_asBuiltPosAlpha
MuonVal::ScalarBranch< float > & m_asBuiltPosAlpha
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:110
MuonGMR4::GeoModelMdtTest::m_BLineEg
MuonVal::ScalarBranch< float > & m_BLineEg
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:104
MuonGMR4::GeoModelMdtTest::m_ALineRotT
MuonVal::ScalarBranch< float > & m_ALineRotT
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:92
MuonGMR4::GeoModelMdtTest::m_BLineSn
MuonVal::ScalarBranch< float > & m_BLineSn
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:100
MuonGMR4::GeoModelMdtTest::m_ALineRotS
MuonVal::ScalarBranch< float > & m_ALineRotS
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:91
MuonGMR4::MuonDetectorManager
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonDetectorManager.h:62
CoordTransformBranch.h
ActsGeometryContext.h
MuonGMR4::GeoModelMdtTest::~GeoModelMdtTest
~GeoModelMdtTest()=default
MuonGMR4::GeoModelMdtTest::m_asBuiltPosZ0
MuonVal::ScalarBranch< float > & m_asBuiltPosZ0
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:109
MuonGMR4::GeoModelMdtTest::m_BLineTr
MuonVal::ScalarBranch< float > & m_BLineTr
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:103
MuonGMR4::GeoModelMdtTest::m_BLineSp
MuonVal::ScalarBranch< float > & m_BLineSp
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:99
MuonGMR4::GeoModelMdtTest::m_BLineEp
MuonVal::ScalarBranch< float > & m_BLineEp
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:105
MuonGMR4::GeoModelMdtTest::dumpReadoutSideXML
void dumpReadoutSideXML() const
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.cxx:158
MuonGMR4::GeoModelMdtTest::m_asBuiltNegPitchZ
MuonVal::ScalarBranch< float > & m_asBuiltNegPitchZ
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:118
MuonGMR4::GeoModelMdtTest::m_stML
MuonVal::ScalarBranch< short > & m_stML
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:56
MuonGMR4::GeoModelMdtTest::m_readoutTransform
MuonVal::CoordTransformBranch m_readoutTransform
Transformation of the readout element (Translation, ColX, ColY, ColZ)
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:64
MuonVal::VectorBranch< unsigned short >
MuonTesterTree.h
MuonGMR4::GeoModelMdtTest::m_swapRead
Gaudi::Property< std::string > m_swapRead
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:45
ThreeVectorBranch.h
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
SG::ReadHandleKey< ActsGeometryContext >
MuonGMR4::GeoModelMdtTest::m_ALineTransS
MuonVal::ScalarBranch< float > & m_ALineTransS
Alignment parameters.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:88
MuonGMR4::GeoModelMdtTest::m_numTubes
MuonVal::ScalarBranch< unsigned short > & m_numTubes
Number of tubes per layer.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:67
MuonGMR4::GeoModelMdtTest::m_tubeNum
MuonVal::VectorBranch< unsigned short > & m_tubeNum
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:73
MuonVal::ThreeVectorBranch
Definition: ThreeVectorBranch.h:19
MuonGMR4::GeoModelMdtTest::m_asBuiltPosY0
MuonVal::ScalarBranch< float > & m_asBuiltPosY0
AS-built parameters.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:108
MuonGMR4::GeoModelMdtTest::m_tree
MuonVal::MuonTesterTree m_tree
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:50
MuonGMR4::GeoModelMdtTest::m_alignableNode
MuonVal::CoordTransformBranch m_alignableNode
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:65
MuonGMR4::GeoModelMdtTest::m_asBuiltPosPitchY
MuonVal::ScalarBranch< float > & m_asBuiltPosPitchY
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:111
MuonGMR4::GeoModelMdtTest::m_BLinePg
MuonVal::ScalarBranch< float > & m_BLinePg
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:102
MuonGMR4::GeoModelMdtTest::m_stPhi
MuonVal::ScalarBranch< short > & m_stPhi
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:55
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::GeoModelMdtTest::m_asBuiltPosStagg
MuonVal::ScalarBranch< int > & m_asBuiltPosStagg
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:113
MuonGMR4::GeoModelMdtTest::cardinality
unsigned int cardinality() const override final
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:28
MuonGMR4::GeoModelMdtTest::execute
StatusCode execute() override
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.cxx:112
MuonGMR4::GeoModelMdtTest::m_testStations
std::set< Identifier > m_testStations
Set of stations to be tested.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:37
MuonGMR4::GeoModelMdtTest::m_detMgr
const MuonDetectorManager * m_detMgr
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:43
MuonGMR4::GeoModelMdtTest::m_chamberDesign
MuonVal::ScalarBranch< std::string > & m_chamberDesign
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:57
MuonGMR4::GeoModelMdtTest::m_BLineBz
MuonVal::ScalarBranch< float > & m_BLineBz
B Line chamber defomrations.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:96
MuonGMR4::GeoModelMdtTest::m_geoCtxKey
SG::ReadHandleKey< ActsGeometryContext > m_geoCtxKey
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:35
MuonGMR4
The ReadoutGeomCnvAlg converts the Run4 Readout geometry build from the GeoModelXML into the legacy M...
Definition: MdtCalibInput.h:20
MuonGMR4::GeoModelMdtTest::GeoModelMdtTest
GeoModelMdtTest(const std::string &name, ISvcLocator *pSvcLocator)
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.cxx:16
MuonGMR4::GeoModelMdtTest::m_numLayers
MuonVal::ScalarBranch< unsigned short > & m_numLayers
Number of tubes per layer.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:69
MuonVal::MuonTesterTree
Definition: MuonTesterTree.h:30
IdentifierBranch.h
MuonGMR4::GeoModelMdtTest::m_excludeStat
Gaudi::Property< std::vector< std::string > > m_excludeStat
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:41
MuonGMR4::GeoModelMdtTest::m_stEta
MuonVal::ScalarBranch< short > & m_stEta
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:54
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
MuonGMR4::GeoModelMdtTest::m_BLineBn
MuonVal::ScalarBranch< float > & m_BLineBn
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:98
MuonGMR4::GeoModelMdtTest::m_BLineBp
MuonVal::ScalarBranch< float > & m_BLineBp
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:97
MuonDetectorManager.h
MuonGMR4::GeoModelMdtTest::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/GeoModelMdtTest.h:40
MuonGMR4::GeoModelMdtTest::m_asBuiltNegY0
MuonVal::ScalarBranch< float > & m_asBuiltNegY0
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:114
MuonGMR4::GeoModelMdtTest::m_wireLength
MuonVal::VectorBranch< double > & m_wireLength
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:80
MuonVal::MuonTesterTree::newVector
VectorBranch< T > & newVector(const std::string &name)
Creates new branches and returns their reference.
AthHistogramAlgorithm
Definition: AthHistogramAlgorithm.h:32
ActsGeometryContext
Include the GeoPrimitives which need to be put first.
Definition: ActsGeometryContext.h:27
MuonGMR4::GeoModelMdtTest::m_asBuiltNegAlpha
MuonVal::ScalarBranch< float > & m_asBuiltNegAlpha
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:116
MuonGMR4::GeoModelMdtTest::m_tubeLength
MuonVal::VectorBranch< double > & m_tubeLength
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:78
MuonGMR4::GeoModelMdtTest::m_tubeTransform
MuonVal::CoordSystemsBranch m_tubeTransform
Transformation to each tube.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:76
MuonGMR4::GeoModelMdtTest::m_asBuiltPosPitchZ
MuonVal::ScalarBranch< float > & m_asBuiltPosPitchZ
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:112
MuonGMR4::GeoModelMdtTest
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:18
MuonVal::ScalarBranch< unsigned short >
MuonGMR4::MdtReadoutElement
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MdtReadoutElement.h:22
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
MuonGMR4::GeoModelMdtTest::m_tubePosInCh
MuonVal::ThreeVectorBranch m_tubePosInCh
Position of the tube in the sector frame.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:85
MuonVal::MuonTesterTree::newScalar
ScalarBranch< T > & newScalar(const std::string &name)
MuonGMR4::GeoModelMdtTest::m_asBuiltNegPitchY
MuonVal::ScalarBranch< float > & m_asBuiltNegPitchY
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:117
MuonGMR4::GeoModelMdtTest::m_BLineEn
MuonVal::ScalarBranch< float > & m_BLineEn
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:106
MuonGMR4::GeoModelMdtTest::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:32
MuonGMR4::GeoModelMdtTest::m_tubeLay
MuonVal::VectorBranch< unsigned short > & m_tubeLay
Readout each tube specifically.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:72
MuonVal::CoordSystemsBranch
Helper class to dump the Amg::Transformations into 4 three vector branches.
Definition: CoordTransformBranch.h:28
MuonGMR4::GeoModelMdtTest::m_activeTubeLength
MuonVal::VectorBranch< double > & m_activeTubeLength
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:79
MuonGMR4::GeoModelMdtTest::initialize
StatusCode initialize() override
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.cxx:19
MuonGMR4::GeoModelMdtTest::m_tubePitch
MuonVal::ScalarBranch< double > & m_tubePitch
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:60
MuonGMR4::GeoModelMdtTest::m_roPos
MuonVal::ThreeVectorBranch m_roPos
Position of the readout.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:83
MuonGMR4::GeoModelMdtTest::m_BLineTw
MuonVal::ScalarBranch< float > & m_BLineTw
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:101
MuonGMR4::GeoModelMdtTest::finalize
StatusCode finalize() override
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.cxx:108
MuonGMR4::GeoModelMdtTest::m_asBuiltNegStagg
MuonVal::ScalarBranch< int > & m_asBuiltNegStagg
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:119
MuonGMR4::GeoModelMdtTest::m_tubeRad
MuonVal::ScalarBranch< double > & m_tubeRad
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:59
MuonGMR4::GeoModelMdtTest::m_ALineTransT
MuonVal::ScalarBranch< float > & m_ALineTransT
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:89
IMuonIdHelperSvc.h
MuonGMR4::GeoModelMdtTest::m_asBuiltNegZ0
MuonVal::ScalarBranch< float > & m_asBuiltNegZ0
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:115
ServiceHandle< Muon::IMuonIdHelperSvc >
MuonGMR4::GeoModelMdtTest::dumpToTree
StatusCode dumpToTree(const EventContext &ctx, const ActsGeometryContext &gctx, const MdtReadoutElement *readoutEle)
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.cxx:189
MuonGMR4::GeoModelMdtTest::m_ALineTransZ
MuonVal::ScalarBranch< float > & m_ALineTransZ
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:90