ATLAS Offline Software
Loading...
Searching...
No Matches
MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelTgcTest.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_GEOMODELTgcTEST_H
5#define MUONGEOMODELTESTR4_GEOMODELTgcTEST_H
6
8#include <set>
17namespace MuonGMR4{
18
20 public:
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<ActsTrk::GeometryContext> 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
45
46 StatusCode dumpToTree(const EventContext& ctx,
47 const ActsTrk::GeometryContext& gctx,
48 const TgcReadoutElement* readoutEle);
49
50 MuonVal::MuonTesterTree m_tree{"TgcGeoModelTree", "GEOMODELTESTER"};
51
53 MuonVal::ScalarBranch<unsigned short>& m_stIndex{m_tree.newScalar<unsigned short>("stationIndex")};
54 MuonVal::ScalarBranch<short>& m_stEta{m_tree.newScalar<short>("stationEta")};
55 MuonVal::ScalarBranch<short>& m_stPhi{m_tree.newScalar<short>("stationPhi")};
56 MuonVal::ScalarBranch<std::string>& m_stLayout{m_tree.newScalar<std::string>("stationDesign")};
57 MuonVal::ScalarBranch<uint8_t>& m_nGasGaps{m_tree.newScalar<uint8_t>("nGasGaps")};
58
62
63 MuonVal::ScalarBranch<float>& m_shortWidth{m_tree.newScalar<float>("ChamberWidthS")};
64 MuonVal::ScalarBranch<float>& m_longWidth{m_tree.newScalar<float>("ChamberWidthL")};
65 MuonVal::ScalarBranch<float>& m_height{m_tree.newScalar<float>("ChamberHeight")};
66 MuonVal::ScalarBranch<float>& m_thickness{m_tree.newScalar<float>("ChamberThickness")};
67
71
75
76 MuonVal::VectorBranch<uint8_t>& m_stripGasGap{m_tree.newVector<uint8_t>("stripGasGap")};
77 MuonVal::VectorBranch<unsigned int>& m_stripNum{m_tree.newVector<unsigned int>("stripNumber")};
81 MuonVal::VectorBranch<uint8_t>& m_gangGasGap{m_tree.newVector<uint8_t>("gangGasGap")};
82 MuonVal::VectorBranch<unsigned int>& m_gangNum{m_tree.newVector<unsigned int>("gangNumber")};
83 MuonVal::VectorBranch<uint8_t>& m_gangNumWires{m_tree.newVector<uint8_t>("gangNumWires")};
84 MuonVal::VectorBranch<float>& m_gangLength{m_tree.newVector<float>("gangLength")};
85
88 MuonVal::VectorBranch<bool>& m_layMeasPhi{m_tree.newVector<bool>("layerMeasPhi")};
89 MuonVal::VectorBranch<uint8_t>& m_layNumber{m_tree.newVector<uint8_t>("layerNumber")};
90 MuonVal::VectorBranch<float>& m_layShortWidth{m_tree.newVector<float>("layerWidthS")};
91 MuonVal::VectorBranch<float>& m_layLongWidth{m_tree.newVector<float>("layerWidthL")};
92 MuonVal::VectorBranch<float>& m_layHeight{m_tree.newVector<float>("layerHeight")};
93 MuonVal::VectorBranch<uint16_t>& m_layNumWires{m_tree.newVector<uint16_t>("layerNumWires")};
94};
95}
96#endif
AthHistogramAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
std::set< Identifier > m_testStations
Set of stations to be tested.
StatusCode dumpToTree(const EventContext &ctx, const ActsTrk::GeometryContext &gctx, const TgcReadoutElement *readoutEle)
Gaudi::Property< std::vector< std::string > > m_selectStat
String should be formated like <stationName><stationEta><A/C><stationPhi>
AthHistogramAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
MuonVal::CoordTransformBranch m_readoutTransform
Transformation of the readout element (Translation, ColX, ColY, ColZ)
MuonVal::ScalarBranch< unsigned short > & m_stIndex
Identifier of the readout element.
Helper class to dump the Amg::Transformations into 4 three vector branches.
Helper class to dump the Amg::Transformations into a single three vector branch The first entry is th...
Property holding a SG store/key/clid from which a ReadHandle is made.
The ReadoutGeomCnvAlg converts the Run4 Readout geometry build from the GeoModelXML into the legacy M...