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 
43  const MuonDetectorManager* m_detMgr{nullptr};
44 
45  StatusCode dumpToTree(const EventContext& ctx,
46  const ActsGeometryContext& gctx,
47  const TgcReadoutElement* readoutEle);
48 
49  MuonVal::MuonTesterTree m_tree{"TgcGeoModelTree", "GEOMODELTESTER"};
50 
57 
61 
66 
74 
75 
79 
83 
97 
106 };
107 }
108 #endif
MuonGMR4::GeoModelTgcTest::m_locGangPos
MuonVal::TwoVectorBranch m_locGangPos
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:92
MuonGMR4::GeoModelTgcTest::m_nGasGaps
MuonVal::ScalarBranch< uint8_t > & m_nGasGaps
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:56
MuonGMR4::GeoModelTgcTest::m_layShortWidth
MuonVal::VectorBranch< float > & m_layShortWidth
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:102
MuonGMR4::GeoModelTgcTest::m_alignableNode
MuonVal::CoordTransformBranch m_alignableNode
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:60
MuonGMR4::GeoModelTgcTest::m_stripPitch
MuonVal::VectorBranch< float > & m_stripPitch
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:88
xAOD::uint8_t
uint8_t
Definition: Muon_v1.cxx:575
MuonGMR4::GeoModelTgcTest::m_ALineRotT
MuonVal::ScalarBranch< float > & m_ALineRotT
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:72
MuonGMR4::MuonDetectorManager
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonDetectorManager.h:61
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:82
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:125
MuonGMR4::GeoModelTgcTest::m_stripLongWidth
MuonVal::VectorBranch< float > & m_stripLongWidth
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:87
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:77
MuonGMR4::GeoModelTgcTest::m_detMgr
const MuonDetectorManager * m_detMgr
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:43
MuonGMR4::GeoModelTgcTest::finalize
StatusCode finalize() override
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.cxx:58
MuonGMR4::GeoModelTgcTest::m_stripTop
MuonVal::ThreeVectorBranch m_stripTop
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:78
MuonVal::VectorBranch< uint8_t >
MuonTesterTree.h
MuonGMR4::GeoModelTgcTest::m_stripShortWidth
MuonVal::VectorBranch< float > & m_stripShortWidth
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:86
MuonGMR4::GeoModelTgcTest::m_gangGasGap
MuonVal::VectorBranch< uint8_t > & m_gangGasGap
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:93
ThreeVectorBranch.h
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:562
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:95
MuonGMR4::GeoModelTgcTest::m_stEta
MuonVal::ScalarBranch< short > & m_stEta
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:53
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:89
MuonGMR4::GeoModelTgcTest::m_stPhi
MuonVal::ScalarBranch< short > & m_stPhi
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:54
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:103
MuonGMR4::GeoModelTgcTest::m_layTans
MuonVal::CoordSystemsBranch m_layTans
Layer dimensions.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:99
MuonGMR4::GeoModelTgcTest::m_stLayout
MuonVal::ScalarBranch< std::string > & m_stLayout
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:55
MuonGMR4::GeoModelTgcTest::m_stIndex
MuonVal::ScalarBranch< unsigned short > & m_stIndex
Identifier of the readout element.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:52
MuonGMR4::GeoModelTgcTest::m_gangNum
MuonVal::VectorBranch< unsigned int > & m_gangNum
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:94
MuonGMR4
A muon chamber is a collection of readout elements belonging to the same station.
Definition: ChamberAssembleTool.h:16
MuonVal::MuonTesterTree
Definition: MuonTesterTree.h:30
MuonGMR4::GeoModelTgcTest::m_layNumWires
MuonVal::VectorBranch< uint16_t > & m_layNumWires
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:105
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:65
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:62
MuonGMR4::GeoModelTgcTest::~GeoModelTgcTest
~GeoModelTgcTest()=default
MuonGMR4::GeoModelTgcTest::m_ALineRotZ
MuonVal::ScalarBranch< float > & m_ALineRotZ
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:73
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:84
MuonGMR4::GeoModelTgcTest::m_ALineRotS
MuonVal::ScalarBranch< float > & m_ALineRotS
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:71
ActsGeometryContext
Include the GeoPrimitives which need to be put first.
Definition: ActsGeometryContext.h:28
MuonGMR4::GeoModelTgcTest::m_ALineTransS
MuonVal::ScalarBranch< float > & m_ALineTransS
Alignment parameters.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:68
MuonVal::ScalarBranch< unsigned short >
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
MuonGMR4::GeoModelTgcTest::m_readoutTransform
MuonVal::CoordTransformBranch m_readoutTransform
Transformation of the readout element (Translation, ColX, ColY, ColZ)
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:59
MuonGMR4::GeoModelTgcTest::m_layMeasPhi
MuonVal::VectorBranch< bool > & m_layMeasPhi
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:100
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:80
MuonGMR4::GeoModelTgcTest::m_ALineTransZ
MuonVal::ScalarBranch< float > & m_ALineTransZ
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:70
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:62
MuonGMR4::GeoModelTgcTest::m_layHeight
MuonVal::VectorBranch< float > & m_layHeight
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:104
MuonGMR4::GeoModelTgcTest::m_ALineTransT
MuonVal::ScalarBranch< float > & m_ALineTransT
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:69
MuonGMR4::GeoModelTgcTest::m_height
MuonVal::ScalarBranch< float > & m_height
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:64
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:63
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:81
MuonGMR4::GeoModelTgcTest::m_stripCenter
MuonVal::ThreeVectorBranch m_stripCenter
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:76
MuonGMR4::GeoModelTgcTest::m_gangCenter
MuonVal::ThreeVectorBranch m_gangCenter
Wire gangs.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:91
MuonGMR4::GeoModelTgcTest::m_layNumber
MuonVal::VectorBranch< uint8_t > & m_layNumber
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:101
MuonGMR4::TgcReadoutElement
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/TgcReadoutElement.h:16
IMuonIdHelperSvc.h
MuonGMR4::GeoModelTgcTest::m_tree
MuonVal::MuonTesterTree m_tree
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:49
MuonGMR4::GeoModelTgcTest::m_stripNum
MuonVal::VectorBranch< unsigned int > & m_stripNum
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.h:85
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:96