ATLAS Offline Software
GeoModelCscTest.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef MUONGEOMODELTESTR4_GEOMODELRCSCTEST_H
5 #define MUONGEOMODELTESTR4_GEOMODELRCSCTEST_H
6 
9 #include <set>
17 namespace MuonGM {
18 
20  public:
21  GeoModelCscTest(const std::string& name, ISvcLocator* pSvcLocator);
22 
23  StatusCode initialize() override;
24  StatusCode execute() override;
25  StatusCode finalize() override;
26  unsigned int cardinality() const override final { return 1; }
27 
28  private:
29 
30  StatusCode dumpToTree(const EventContext& ctx, const CscReadoutElement* readoutEle);
31 
34  this, "DetectorManagerKey", "MuonDetectorManager",
35  "Key of input MuonDetectorManager condition data"};
36 
38  this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
39 
41  std::set<Identifier> m_testStations{};
42 
45  Gaudi::Property<std::vector<std::string>> m_selectStat{
46  this, "TestStations", {}, "Constrain the stations to be tested"};
47 
48  MuonVal::MuonTesterTree m_tree{"CscGeoModelTree", "GEOMODELTESTER"};
49 
55 
58 
66 
67 
71 
72 };
73 
74 }
75 #endif
MuonGM::GeoModelCscTest::m_ALineTransS
MuonVal::ScalarBranch< float > & m_ALineTransS
Alignment parameters.
Definition: GeoModelCscTest.h:60
MuonGM::GeoModelCscTest::m_selectStat
Gaudi::Property< std::vector< std::string > > m_selectStat
String should be formated like <stationName><stationEta><A/C><stationPhi>
Definition: GeoModelCscTest.h:45
MuonGM
Ensure that the Athena extensions are properly loaded.
Definition: GeoMuonHits.h:27
xAOD::uint8_t
uint8_t
Definition: Muon_v1.cxx:575
CoordTransformBranch.h
MuonGM::GeoModelCscTest::m_stEta
MuonVal::ScalarBranch< short > & m_stEta
Definition: GeoModelCscTest.h:52
MuonGM::GeoModelCscTest::m_readoutTransform
MuonVal::CoordTransformBranch m_readoutTransform
Transformation of the readout element (Translation, ColX, ColY, ColZ)
Definition: GeoModelCscTest.h:57
MuonGM::GeoModelCscTest::m_layMeasPhi
MuonVal::VectorBranch< bool > & m_layMeasPhi
Definition: GeoModelCscTest.h:69
MuonVal::VectorBranch< bool >
MuonTesterTree.h
MuonGM::CscReadoutElement
Definition: CscReadoutElement.h:56
ThreeVectorBranch.h
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:562
MuonGM::GeoModelCscTest::m_stPhi
MuonVal::ScalarBranch< short > & m_stPhi
Definition: GeoModelCscTest.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
MuonGM::GeoModelCscTest::m_stMultiLayer
MuonVal::ScalarBranch< short > & m_stMultiLayer
Definition: GeoModelCscTest.h:54
MuonGM::GeoModelCscTest::m_ALineRotZ
MuonVal::ScalarBranch< float > & m_ALineRotZ
Definition: GeoModelCscTest.h:65
MuonGM::GeoModelCscTest::initialize
StatusCode initialize() override
Definition: GeoModelCscTest.cxx:24
MuonGM::GeoModelCscTest::m_ALineRotT
MuonVal::ScalarBranch< float > & m_ALineRotT
Definition: GeoModelCscTest.h:64
MuonGM::GeoModelCscTest::GeoModelCscTest
GeoModelCscTest(const std::string &name, ISvcLocator *pSvcLocator)
Definition: GeoModelCscTest.cxx:17
MuonGM::GeoModelCscTest::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: GeoModelCscTest.h:37
MuonGM::GeoModelCscTest::m_ALineTransZ
MuonVal::ScalarBranch< float > & m_ALineTransZ
Definition: GeoModelCscTest.h:62
MuonVal::MuonTesterTree
Definition: MuonTesterTree.h:30
IdentifierBranch.h
MuonGM::GeoModelCscTest::m_layerTrans
MuonVal::CoordSystemsBranch m_layerTrans
Definition: GeoModelCscTest.h:68
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CscReadoutElement.h
MuonVal::MuonTesterTree::newVector
VectorBranch< T > & newVector(const std::string &name)
Creates new branches and returns their reference.
AthHistogramAlgorithm
Definition: AthHistogramAlgorithm.h:32
ReadCondHandleKey.h
MuonGM::GeoModelCscTest::m_layNumber
MuonVal::VectorBranch< uint8_t > & m_layNumber
Definition: GeoModelCscTest.h:70
MuonGM::GeoModelCscTest::m_tree
MuonVal::MuonTesterTree m_tree
Definition: GeoModelCscTest.h:48
MuonGM::GeoModelCscTest::execute
StatusCode execute() override
Definition: GeoModelCscTest.cxx:57
MuonVal::ScalarBranch< unsigned short >
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
MuonVal::MuonTesterTree::newScalar
ScalarBranch< T > & newScalar(const std::string &name)
MuonGM::GeoModelCscTest::finalize
StatusCode finalize() override
Definition: GeoModelCscTest.cxx:20
MuonVal::CoordSystemsBranch
Helper class to dump the Amg::Transformations into 4 three vector branches.
Definition: CoordTransformBranch.h:28
MuonDetectorManager.h
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager >
MuonGM::GeoModelCscTest::m_stIndex
MuonVal::ScalarBranch< unsigned short > & m_stIndex
Identifier of the readout element.
Definition: GeoModelCscTest.h:51
MuonGM::GeoModelCscTest::m_ALineRotS
MuonVal::ScalarBranch< float > & m_ALineRotS
Definition: GeoModelCscTest.h:63
MuonGM::GeoModelCscTest
Definition: GeoModelCscTest.h:19
MuonGM::GeoModelCscTest::m_detMgrKey
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > m_detMgrKey
MuonDetectorManager from the conditions store.
Definition: GeoModelCscTest.h:33
MuonGM::GeoModelCscTest::dumpToTree
StatusCode dumpToTree(const EventContext &ctx, const CscReadoutElement *readoutEle)
Definition: GeoModelCscTest.cxx:84
MuonGM::GeoModelCscTest::cardinality
unsigned int cardinality() const override final
Definition: GeoModelCscTest.h:26
MuonGM::GeoModelCscTest::m_ALineTransT
MuonVal::ScalarBranch< float > & m_ALineTransT
Definition: GeoModelCscTest.h:61
IMuonIdHelperSvc.h
MuonGM::GeoModelCscTest::m_testStations
std::set< Identifier > m_testStations
Set of stations to be tested.
Definition: GeoModelCscTest.h:41
ServiceHandle< Muon::IMuonIdHelperSvc >