ATLAS Offline Software
Loading...
Searching...
No Matches
GeoModelCscTest.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_GEOMODELRCSCTEST_H
5#define MUONGEOMODELTESTR4_GEOMODELRCSCTEST_H
6
9#include <set>
17namespace MuonGM {
18
20 public:
21
23
24 StatusCode initialize() override;
25 StatusCode execute() override;
26 StatusCode finalize() override;
27 unsigned int cardinality() const override final { return 1; }
28
29 private:
30
31 StatusCode dumpToTree(const EventContext& ctx, const CscReadoutElement* readoutEle);
32
35 this, "DetectorManagerKey", "MuonDetectorManager",
36 "Key of input MuonDetectorManager condition data"};
37
39 this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
40
42 std::set<Identifier> m_testStations{};
43
46 Gaudi::Property<std::vector<std::string>> m_selectStat{
47 this, "TestStations", {}, "Constrain the stations to be tested"};
48
49 Gaudi::Property<std::vector<std::string>> m_excludeStat{this, "ExcludeStations", {}};
50 MuonVal::MuonTesterTree m_tree{"CscGeoModelTree", "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<short>& m_stMultiLayer{m_tree.newScalar<short>("stationMultiLayer")};
57
60
62 MuonVal::ScalarBranch<float>& m_ALineTransS{m_tree.newScalar<float>("ALineTransS", 0.)};
63 MuonVal::ScalarBranch<float>& m_ALineTransT{m_tree.newScalar<float>("ALineTransT", 0.)};
64 MuonVal::ScalarBranch<float>& m_ALineTransZ{m_tree.newScalar<float>("ALineTransZ", 0.)};
65 MuonVal::ScalarBranch<float>& m_ALineRotS{m_tree.newScalar<float>("ALineRotS", 0.)};
66 MuonVal::ScalarBranch<float>& m_ALineRotT{m_tree.newScalar<float>("ALineRotT", 0.)};
67 MuonVal::ScalarBranch<float>& m_ALineRotZ{m_tree.newScalar<float>("ALineRotZ", 0.)};
68
69
71 MuonVal::VectorBranch<bool>& m_layMeasPhi{m_tree.newVector<bool>("LayerMeasPhi")};
72 MuonVal::VectorBranch<uint8_t>& m_layNumber{m_tree.newVector<uint8_t>("LayerNumber")};
73
74};
75
76}
77#endif
AthHistogramAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
MuonVal::CoordSystemsBranch m_layerTrans
MuonVal::ScalarBranch< float > & m_ALineTransT
StatusCode dumpToTree(const EventContext &ctx, const CscReadoutElement *readoutEle)
unsigned int cardinality() const override final
MuonVal::VectorBranch< bool > & m_layMeasPhi
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > m_detMgrKey
MuonDetectorManager from the conditions store.
MuonVal::ScalarBranch< float > & m_ALineRotZ
MuonVal::ScalarBranch< short > & m_stEta
MuonVal::ScalarBranch< float > & m_ALineRotT
StatusCode finalize() override
Gaudi::Property< std::vector< std::string > > m_excludeStat
StatusCode initialize() override
MuonVal::ScalarBranch< float > & m_ALineTransS
Alignment parameters.
MuonVal::ScalarBranch< float > & m_ALineTransZ
Gaudi::Property< std::vector< std::string > > m_selectStat
String should be formated like <stationName><stationEta><A/C><stationPhi>
MuonVal::ScalarBranch< float > & m_ALineRotS
MuonVal::ScalarBranch< short > & m_stMultiLayer
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
std::set< Identifier > m_testStations
Set of stations to be tested.
MuonVal::CoordTransformBranch m_readoutTransform
Transformation of the readout element (Translation, ColX, ColY, ColZ)
MuonVal::ScalarBranch< unsigned short > & m_stIndex
Identifier of the readout element.
MuonVal::MuonTesterTree m_tree
AthHistogramAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
MuonVal::VectorBranch< uint8_t > & m_layNumber
MuonVal::ScalarBranch< short > & m_stPhi
StatusCode execute() override
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...
Ensure that the Athena extensions are properly loaded.
Definition GeoMuonHits.h:27