Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef MUONGEOMODELTESTR4_GEOMODELMDTTEST_H
5 #define MUONGEOMODELTESTR4_GEOMODELMDTTEST_H
6 
9 
10 #include <set>
18 namespace MuonGMR4{
19 
21  public:
23 
24  ~GeoModelMdtTest() = 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:
33  void dumpReadoutSideXML() const;
35  "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
36 
37  SG::ReadHandleKey<ActsGeometryContext> m_geoCtxKey{this, "AlignmentKey", "ActsAlignment", "cond handle key"};
39  std::set<Identifier> m_testStations{};
40 
42  Gaudi::Property<std::vector<std::string>> m_selectStat{this, "TestStations", {}};
43  Gaudi::Property<std::vector<std::string>> m_excludeStat{this, "ExcludeStations", {}};
44 
45  const MuonDetectorManager* m_detMgr{nullptr};
46 
47  Gaudi::Property<std::string> m_swapRead{this, "ReadoutSideXML", ""};
48 
49  StatusCode dumpToTree(const EventContext& ctx,
50  const ActsGeometryContext& gctx, const MdtReadoutElement* readoutEle);
51 
52  MuonVal::MuonTesterTree m_tree{"MdtGeoModelTree", "GEOMODELTESTER"};
53 
58  MuonVal::ScalarBranch<short>& m_stML{m_tree.newScalar<short>("stationMultiLayer")};
60 
63 
64 
72 
76 
79 
83 
88 };
89 
90 }
91 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
MuonGMR4::GeoModelMdtTest::m_stIndex
MuonVal::ScalarBranch< unsigned short > & m_stIndex
Identifier of the readout element.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:55
AthHistogramAlgorithm::AthHistogramAlgorithm
AthHistogramAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Definition: AthHistogramAlgorithm.cxx:31
MuonGMR4::MuonDetectorManager
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonDetectorManager.h:62
CoordTransformBranch.h
ActsGeometryContext.h
MuonGMR4::GeoModelMdtTest::~GeoModelMdtTest
~GeoModelMdtTest()=default
MuonGMR4::GeoModelMdtTest::dumpReadoutSideXML
void dumpReadoutSideXML() const
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.cxx:137
MuonGMR4::GeoModelMdtTest::m_stML
MuonVal::ScalarBranch< short > & m_stML
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:58
MuonGMR4::GeoModelMdtTest::m_readoutTransform
MuonVal::CoordTransformBranch m_readoutTransform
Transformation of the readout element (Translation, ColX, ColY, ColZ)
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:66
MuonVal::VectorBranch< unsigned short >
MuonTesterTree.h
MuonGMR4::GeoModelMdtTest::m_swapRead
Gaudi::Property< std::string > m_swapRead
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:47
ThreeVectorBranch.h
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
SG::ReadHandleKey< ActsGeometryContext >
MuonGMR4::GeoModelMdtTest::m_numTubes
MuonVal::ScalarBranch< unsigned short > & m_numTubes
Number of tubes per layer.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:69
MuonGMR4::GeoModelMdtTest::m_tubeNum
MuonVal::VectorBranch< unsigned short > & m_tubeNum
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:75
MuonVal::ThreeVectorBranch
Definition: ThreeVectorBranch.h:19
MuonGMR4::GeoModelMdtTest::m_tree
MuonVal::MuonTesterTree m_tree
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:52
MuonGMR4::GeoModelMdtTest::m_alignableNode
MuonVal::CoordTransformBranch m_alignableNode
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:67
MuonGMR4::GeoModelMdtTest::m_stPhi
MuonVal::ScalarBranch< short > & m_stPhi
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:57
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::cardinality
unsigned int cardinality() const override final
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:30
MuonGMR4::GeoModelMdtTest::execute
StatusCode execute() override
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.cxx:91
MuonGMR4::GeoModelMdtTest::m_testStations
std::set< Identifier > m_testStations
Set of stations to be tested.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:39
MuonGMR4::GeoModelMdtTest::m_detMgr
const MuonDetectorManager * m_detMgr
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:45
MuonGMR4::GeoModelMdtTest::m_chamberDesign
MuonVal::ScalarBranch< std::string > & m_chamberDesign
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:59
MuonGMR4::GeoModelMdtTest::m_geoCtxKey
SG::ReadHandleKey< ActsGeometryContext > m_geoCtxKey
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:37
MuonGMR4
The ReadoutGeomCnvAlg converts the Run4 Readout geometry build from the GeoModelXML into the legacy M...
Definition: MdtCalibInput.h:19
MuonGMR4::GeoModelMdtTest::m_numLayers
MuonVal::ScalarBranch< unsigned short > & m_numLayers
Number of tubes per layer.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:71
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:43
MuonGMR4::GeoModelMdtTest::m_stEta
MuonVal::ScalarBranch< short > & m_stEta
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:56
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
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:42
MuonGMR4::GeoModelMdtTest::m_wireLength
MuonVal::VectorBranch< double > & m_wireLength
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:82
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_tubeLength
MuonVal::VectorBranch< double > & m_tubeLength
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:80
MuonGMR4::GeoModelMdtTest::m_tubeTransform
MuonVal::CoordSystemsBranch m_tubeTransform
Transformation to each tube.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:78
MuonGMR4::GeoModelMdtTest
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:20
MuonVal::ScalarBranch< unsigned short >
MuonGMR4::MdtReadoutElement
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MdtReadoutElement.h:22
MuonGMR4::GeoModelMdtTest::m_tubePosInCh
MuonVal::ThreeVectorBranch m_tubePosInCh
Position of the tube in the sector frame.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:87
MuonVal::MuonTesterTree::newScalar
ScalarBranch< T > & newScalar(const std::string &name)
MuonGMR4::GeoModelMdtTest::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:34
MuonGMR4::GeoModelMdtTest::m_tubeLay
MuonVal::VectorBranch< unsigned short > & m_tubeLay
Readout each tube specifically.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:74
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:81
MuonGMR4::GeoModelMdtTest::initialize
StatusCode initialize() override
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.cxx:18
MuonGMR4::GeoModelMdtTest::m_tubePitch
MuonVal::ScalarBranch< double > & m_tubePitch
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:62
MuonGMR4::GeoModelMdtTest::m_roPos
MuonVal::ThreeVectorBranch m_roPos
Position of the readout.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:85
MuonGMR4::GeoModelMdtTest::finalize
StatusCode finalize() override
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.cxx:87
MuonGMR4::GeoModelMdtTest::m_tubeRad
MuonVal::ScalarBranch< double > & m_tubeRad
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:61
IMuonIdHelperSvc.h
ServiceHandle< Muon::IMuonIdHelperSvc >
MuonGMR4::GeoModelMdtTest::dumpToTree
StatusCode dumpToTree(const EventContext &ctx, const ActsGeometryContext &gctx, const MdtReadoutElement *readoutEle)
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.cxx:168