ATLAS Offline Software
MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.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_GEOMODELTgcTEST_H
5 #define MUONGEOMODELTESTR4_GEOMODELTgcTEST_H
6 
8 #include <set>
17 namespace MuonGMR4{
18 
20  public:
21  GeoModelTgcTest(const std::string& name, ISvcLocator* pSvcLocator);
22 
23  ~GeoModelTgcTest() = default;
24 
25  StatusCode execute() override;
26  StatusCode initialize() override;
27  StatusCode finalize() override;
28 
29  unsigned int cardinality() const override final {return 1;}
30 
31  private:
33  "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
34 
35  SG::ReadHandleKey<ActsGeometryContext> m_geoCtxKey{this, "AlignmentKey", "ActsAlignment", "cond handle key"};
36 
38  std::set<Identifier> m_testStations{};
39 
41  Gaudi::Property<std::vector<std::string>> m_selectStat{this, "TestStations", {}};
42  Gaudi::Property<std::vector<std::string>> m_excludeStat{this, "ExcludeStations", {}};
43 
44  const MuonDetectorManager* m_detMgr{nullptr};
45 
46  StatusCode dumpToTree(const EventContext& ctx,
47  const ActsGeometryContext& gctx,
48  const TgcReadoutElement* readoutEle);
49 
50  MuonVal::MuonTesterTree m_tree{"TgcGeoModelTree", "GEOMODELTESTER"};
51 
58 
62 
67 
75 
76 
80 
84 
98 
107 };
108 }
109 #endif
MuonGMR4::GeoModelTgcTest::m_locGangPos
MuonVal::TwoVectorBranch m_locGangPos
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:93
MuonGMR4::GeoModelTgcTest::m_nGasGaps
MuonVal::ScalarBranch< uint8_t > & m_nGasGaps
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:57
MuonGMR4::GeoModelTgcTest::m_layShortWidth
MuonVal::VectorBranch< float > & m_layShortWidth
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:103
MuonGMR4::GeoModelTgcTest::m_alignableNode
MuonVal::CoordTransformBranch m_alignableNode
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:61
MuonGMR4::GeoModelTgcTest::m_stripPitch
MuonVal::VectorBranch< float > & m_stripPitch
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:89
xAOD::uint8_t
uint8_t
Definition: Muon_v1.cxx:557
MuonGMR4::GeoModelTgcTest::m_ALineRotT
MuonVal::ScalarBranch< float > & m_ALineRotT
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:73
MuonGMR4::MuonDetectorManager
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonDetectorManager.h:62
CoordTransformBranch.h
MuonGMR4::GeoModelTgcTest::m_geoCtxKey
SG::ReadHandleKey< ActsGeometryContext > m_geoCtxKey
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:35
ActsGeometryContext.h
MuonGMR4::GeoModelTgcTest::m_locStripTop
MuonVal::TwoVectorBranch m_locStripTop
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:83
MuonGMR4::GeoModelTgcTest::GeoModelTgcTest
GeoModelTgcTest(const std::string &name, ISvcLocator *pSvcLocator)
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.cxx:15
MuonGMR4::GeoModelTgcTest::dumpToTree
StatusCode dumpToTree(const EventContext &ctx, const ActsGeometryContext &gctx, const TgcReadoutElement *readoutEle)
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.cxx:164
MuonGMR4::GeoModelTgcTest::m_stripLongWidth
MuonVal::VectorBranch< float > & m_stripLongWidth
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:88
MuonGMR4::GeoModelTgcTest::cardinality
unsigned int cardinality() const override final
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:29
MuonGMR4::GeoModelTgcTest::m_stripBottom
MuonVal::ThreeVectorBranch m_stripBottom
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:78
MuonGMR4::GeoModelTgcTest::m_detMgr
const MuonDetectorManager * m_detMgr
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:44
MuonGMR4::GeoModelTgcTest::finalize
StatusCode finalize() override
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.cxx:97
MuonGMR4::GeoModelTgcTest::m_stripTop
MuonVal::ThreeVectorBranch m_stripTop
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:79
MuonGMR4::GeoModelTgcTest::m_excludeStat
Gaudi::Property< std::vector< std::string > > m_excludeStat
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:42
MuonVal::VectorBranch< uint8_t >
MuonTesterTree.h
MuonGMR4::GeoModelTgcTest::m_stripShortWidth
MuonVal::VectorBranch< float > & m_stripShortWidth
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:87
MuonGMR4::GeoModelTgcTest::m_gangGasGap
MuonVal::VectorBranch< uint8_t > & m_gangGasGap
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:94
ThreeVectorBranch.h
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
SG::ReadHandleKey< ActsGeometryContext >
MuonVal::ThreeVectorBranch
Definition: ThreeVectorBranch.h:19
MuonGMR4::GeoModelTgcTest::m_gangNumWires
MuonVal::VectorBranch< uint8_t > & m_gangNumWires
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:96
MuonGMR4::GeoModelTgcTest::m_stEta
MuonVal::ScalarBranch< short > & m_stEta
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:54
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::GeoModelTgcTest::m_stripLength
MuonVal::VectorBranch< float > & m_stripLength
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:90
MuonGMR4::GeoModelTgcTest::m_stPhi
MuonVal::ScalarBranch< short > & m_stPhi
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:55
MuonGMR4::GeoModelTgcTest::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/GeoModelTgcTest.h:41
MuonGMR4::GeoModelTgcTest::m_layLongWidth
MuonVal::VectorBranch< float > & m_layLongWidth
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:104
MuonGMR4::GeoModelTgcTest::m_layTans
MuonVal::CoordSystemsBranch m_layTans
Layer dimensions.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:100
MuonGMR4::GeoModelTgcTest::m_stLayout
MuonVal::ScalarBranch< std::string > & m_stLayout
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:56
MuonGMR4::GeoModelTgcTest::m_stIndex
MuonVal::ScalarBranch< unsigned short > & m_stIndex
Identifier of the readout element.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:53
MuonGMR4::GeoModelTgcTest::m_gangNum
MuonVal::VectorBranch< unsigned int > & m_gangNum
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:95
MuonGMR4
The ReadoutGeomCnvAlg converts the Run4 Readout geometry build from the GeoModelXML into the legacy M...
Definition: MdtCalibInput.h:20
MuonVal::MuonTesterTree
Definition: MuonTesterTree.h:30
MuonGMR4::GeoModelTgcTest::m_layNumWires
MuonVal::VectorBranch< uint16_t > & m_layNumWires
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:106
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:88
IdentifierBranch.h
MuonGMR4::GeoModelTgcTest::m_thickness
MuonVal::ScalarBranch< float > & m_thickness
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:66
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
MuonDetectorManager.h
MuonGMR4::GeoModelTgcTest::m_shortWidth
MuonVal::ScalarBranch< float > & m_shortWidth
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:63
MuonGMR4::GeoModelTgcTest::~GeoModelTgcTest
~GeoModelTgcTest()=default
MuonGMR4::GeoModelTgcTest::m_ALineRotZ
MuonVal::ScalarBranch< float > & m_ALineRotZ
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:74
MuonGMR4::GeoModelTgcTest
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:19
MuonVal::MuonTesterTree::newVector
VectorBranch< T > & newVector(const std::string &name)
Creates new branches and returns their reference.
AthHistogramAlgorithm
Definition: AthHistogramAlgorithm.h:32
MuonGMR4::GeoModelTgcTest::m_stripGasGap
MuonVal::VectorBranch< uint8_t > & m_stripGasGap
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:85
MuonGMR4::GeoModelTgcTest::m_ALineRotS
MuonVal::ScalarBranch< float > & m_ALineRotS
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:72
ActsGeometryContext
Include the GeoPrimitives which need to be put first.
Definition: ActsGeometryContext.h:27
MuonGMR4::GeoModelTgcTest::m_ALineTransS
MuonVal::ScalarBranch< float > & m_ALineTransS
Alignment parameters.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:69
MuonVal::ScalarBranch< unsigned short >
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
MuonGMR4::GeoModelTgcTest::m_readoutTransform
MuonVal::CoordTransformBranch m_readoutTransform
Transformation of the readout element (Translation, ColX, ColY, ColZ)
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:60
MuonGMR4::GeoModelTgcTest::m_layMeasPhi
MuonVal::VectorBranch< bool > & m_layMeasPhi
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:101
MuonVal::MuonTesterTree::newScalar
ScalarBranch< T > & newScalar(const std::string &name)
MuonGMR4::GeoModelTgcTest::m_locStripCenter
MuonVal::TwoVectorBranch m_locStripCenter
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:81
MuonGMR4::GeoModelTgcTest::m_ALineTransZ
MuonVal::ScalarBranch< float > & m_ALineTransZ
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:71
MuonVal::CoordSystemsBranch
Helper class to dump the Amg::Transformations into 4 three vector branches.
Definition: CoordTransformBranch.h:28
MuonGMR4::GeoModelTgcTest::execute
StatusCode execute() override
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.cxx:101
MuonGMR4::GeoModelTgcTest::m_layHeight
MuonVal::VectorBranch< float > & m_layHeight
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:105
MuonGMR4::GeoModelTgcTest::m_ALineTransT
MuonVal::ScalarBranch< float > & m_ALineTransT
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:70
MuonGMR4::GeoModelTgcTest::m_height
MuonVal::ScalarBranch< float > & m_height
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:65
MuonGMR4::GeoModelTgcTest::m_testStations
std::set< Identifier > m_testStations
Set of stations to be tested.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:38
MuonGMR4::GeoModelTgcTest::m_longWidth
MuonVal::ScalarBranch< float > & m_longWidth
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:64
TwoVectorBranch.h
MuonGMR4::GeoModelTgcTest::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:32
MuonGMR4::GeoModelTgcTest::m_locStripBottom
MuonVal::TwoVectorBranch m_locStripBottom
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:82
MuonGMR4::GeoModelTgcTest::m_stripCenter
MuonVal::ThreeVectorBranch m_stripCenter
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:77
MuonGMR4::GeoModelTgcTest::m_gangCenter
MuonVal::ThreeVectorBranch m_gangCenter
Wire gangs.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:92
MuonGMR4::GeoModelTgcTest::m_layNumber
MuonVal::VectorBranch< uint8_t > & m_layNumber
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:102
MuonGMR4::TgcReadoutElement
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/TgcReadoutElement.h:19
IMuonIdHelperSvc.h
MuonGMR4::GeoModelTgcTest::m_tree
MuonVal::MuonTesterTree m_tree
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:50
MuonGMR4::GeoModelTgcTest::m_stripNum
MuonVal::VectorBranch< unsigned int > & m_stripNum
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:86
MuonVal::TwoVectorBranch
Definition: TwoVectorBranch.h:15
MuonGMR4::GeoModelTgcTest::initialize
StatusCode initialize() override
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.cxx:18
ServiceHandle< Muon::IMuonIdHelperSvc >
MuonGMR4::GeoModelTgcTest::m_gangLength
MuonVal::VectorBranch< float > & m_gangLength
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:97