ATLAS Offline Software
MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.cxx
Go to the documentation of this file.
1 
2 /*
3  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
4 */
5 #include "GeoModelRpcTest.h"
9 #include <fstream>
10 
11 using namespace ActsTrk;
12 namespace MuonGMR4{
13 
14 GeoModelRpcTest::GeoModelRpcTest(const std::string& name, ISvcLocator* pSvcLocator):
15 AthHistogramAlgorithm(name,pSvcLocator) {}
16 
18  ATH_CHECK(m_idHelperSvc.retrieve());
21  ATH_CHECK(m_tree.init(this));
22 
23 
24  const RpcIdHelper& id_helper{m_idHelperSvc->rpcIdHelper()};
25  for (const std::string& testCham : m_selectStat) {
26  if (testCham.size() != 6) {
27  ATH_MSG_FATAL("Wrong format given " << testCham);
28  return StatusCode::FAILURE;
29  }
31  std::string statName = testCham.substr(0, 3);
32  unsigned int statEta = std::atoi(testCham.substr(3, 1).c_str()) *
33  (testCham[4] == 'A' ? 1 : -1);
34  unsigned int statPhi = std::atoi(testCham.substr(5, 1).c_str());
35  bool is_valid{false};
36  const Identifier eleId = id_helper.elementID(statName, statEta, statPhi, 1, is_valid);
37  if (!is_valid) {
38  ATH_MSG_FATAL("Failed to deduce a station name for " << testCham);
39  return StatusCode::FAILURE;
40  }
41  std::copy_if(id_helper.detectorElement_begin(),
42  id_helper.detectorElement_end(),
43  std::inserter(m_testStations, m_testStations.end()),
44  [&](const Identifier& id) {
45  return id_helper.stationName(id) == id_helper.stationName(eleId) &&
46  id_helper.stationEta(id) == id_helper.stationEta(eleId) &&
47  id_helper.stationPhi(id) == id_helper.stationPhi(eleId);
48  });
49  }
51  if (m_testStations.empty()){
52  std::copy(id_helper.detectorElement_begin(),
53  id_helper.detectorElement_end(),
54  std::inserter(m_testStations, m_testStations.end()));
55  } else {
56  std::stringstream sstr{};
57  for (const Identifier& id : m_testStations){
58  sstr<<" *** "<<m_idHelperSvc->toString(id)<<std::endl;
59  }
60  ATH_MSG_INFO("Test only the following stations "<<std::endl<<sstr.str());
61  }
63  return StatusCode::SUCCESS;
64 }
67  return StatusCode::SUCCESS;
68 }
70  const EventContext& ctx{Gaudi::Hive::currentContext()};
71 
72  SG::ReadHandle<ActsGeometryContext> geoContextHandle{m_geoCtxKey, ctx};
73  ATH_CHECK(geoContextHandle.isPresent());
74  const ActsGeometryContext& gctx{*geoContextHandle};
75 
76  for (const Identifier& test_me : m_testStations) {
77  ATH_MSG_DEBUG("Test retrieval of Rpc detector element "<<m_idHelperSvc->toStringDetEl(test_me));
78  const RpcReadoutElement* reElement = m_detMgr->getRpcReadoutElement(test_me);
79  if (!reElement) {
80  continue;
81  }
83  if (reElement->identify() != test_me) {
84  ATH_MSG_FATAL("Expected to retrieve "<<m_idHelperSvc->toStringDetEl(test_me)
85  <<". But got instead "<<m_idHelperSvc->toStringDetEl(reElement->identify()));
86  return StatusCode::FAILURE;
87  }
88  ATH_CHECK(dumpToTree(ctx,gctx,reElement));
89  const Amg::Transform3D globToLocal{reElement->globalToLocalTrans(gctx)};
90  const Amg::Transform3D& localToGlob{reElement->localToGlobalTrans(gctx)};
92  const Amg::Transform3D transClosure = globToLocal * localToGlob;
93  if (!Amg::doesNotDeform(transClosure)) {
94  ATH_MSG_FATAL("Closure test failed for "<<m_idHelperSvc->toStringDetEl(test_me)
95  <<". Ended up with "<< Amg::toString(transClosure) );
96  return StatusCode::FAILURE;
97  }
98  const RpcIdHelper& id_helper{m_idHelperSvc->rpcIdHelper()};
99  for (unsigned int gasGap = 1; gasGap <= reElement->nGasGaps(); ++gasGap) {
100  for (int doubPhi = reElement->doubletPhi(); doubPhi <= reElement->doubletPhiMax(); ++doubPhi) {
101  for (bool measPhi: {false, true}) {
102  unsigned int numStrip = (measPhi ? reElement->nPhiStrips() :
103  reElement->nEtaStrips());
104  for (unsigned int strip = 1; strip < numStrip ; ++strip) {
105  bool isValid{false};
106  const Identifier chId = id_helper.channelID(reElement->identify(),
107  reElement->doubletZ(),
108  doubPhi, gasGap, measPhi, strip, isValid);
109  if (!isValid) {
110  continue;
111  }
113  const IdentifierHash measHash = reElement->measurementHash(chId);
114  const IdentifierHash layHash = reElement->layerHash(chId);
115  ATH_MSG_VERBOSE("gasGap: "<<gasGap<<", doubletPhi: "<<doubPhi<<", measPhi: "<<measPhi
116  <<" --> layerHash: "<<static_cast<unsigned>(layHash));
117  const Identifier backCnv = reElement->measurementId(measHash);
118  if (backCnv != chId) {
119  ATH_MSG_FATAL("The back and forth conversion of "<<m_idHelperSvc->toString(chId)
120  <<" failed. Got "<<m_idHelperSvc->toString(backCnv));
121  return StatusCode::FAILURE;
122  }
123  if (layHash != reElement->layerHash(measHash)) {
124  ATH_MSG_FATAL("Constructing the layer hash from the identifier "<<
125  m_idHelperSvc->toString(chId)<<" leadds to different layer hashes "<<
126  layHash<<" vs. "<< reElement->layerHash(measHash));
127  return StatusCode::FAILURE;
128  }
129  ATH_MSG_VERBOSE("Channel "<<m_idHelperSvc->toString(chId)<<" strip position "
130  <<Amg::toString(reElement->stripPosition(gctx, measHash)));
131  }
132  }
133  }
134  }
135  }
136  return StatusCode::SUCCESS;
137 }
138 StatusCode GeoModelRpcTest::dumpToTree(const EventContext& ctx,
139  const ActsGeometryContext& gctx,
140  const RpcReadoutElement* reElement){
141 
142  m_stIndex = reElement->stationName();
143  m_stEta = reElement->stationEta();
144  m_stPhi = reElement->stationPhi();
145  m_doubletR = reElement->doubletR();
146  m_doubletZ = reElement->doubletZ();
147  m_doubletPhi = reElement->doubletPhi();
148  m_chamberDesign = reElement->chamberDesign();
149 
150  m_numRpcLayers = reElement->nGasGaps();
151 
152  m_numGasGapsPhi = reElement->nPhiPanels();
153  m_numPhiPanels = reElement->nPhiPanels();
154 
156  m_numStripsEta = reElement->nEtaStrips();
157  m_numStripsPhi = reElement->nPhiStrips();
158 
159  m_stripEtaPitch = reElement->stripEtaPitch();
160  m_stripPhiPitch = reElement->stripPhiPitch();
161  m_stripEtaWidth = reElement->stripEtaWidth();
162  m_stripPhiWidth = reElement->stripPhiWidth();
163  m_stripEtaLength = reElement->stripEtaLength();
164  m_stripPhiLength = reElement->stripPhiLength();
165 
167  const Amg::Transform3D& transform{reElement->localToGlobalTrans(gctx)};
169  m_alignableNode = reElement->alignableTransform()->getDefTransform();
170 
171  const RpcIdHelper& id_helper{m_idHelperSvc->rpcIdHelper()};
172 
173  for (unsigned int gasGap = 1; gasGap <= reElement->nGasGaps(); ++gasGap) {
174  for (int doubPhi = reElement->doubletPhi(); doubPhi <= reElement->doubletPhiMax(); ++doubPhi) {
175  for (bool measPhi: {false, true}) {
176  unsigned int numStrip = (measPhi ? reElement->nPhiStrips() :
177  reElement->nEtaStrips());
178  for (unsigned int strip = 1; strip <= numStrip ; ++strip) {
179 
180  bool isValid{false};
181  const Identifier stripID = id_helper.channelID(reElement->identify(),
182  reElement->doubletZ(),
183  doubPhi, gasGap, measPhi, strip, isValid);
184  if (!isValid) {
185  ATH_MSG_WARNING("Invalid Identifier detected for readout element "
186  <<m_idHelperSvc->toStringDetEl(reElement->identify())
187  <<" gap: "<<gasGap<<" strip: "<<strip<<" meas phi: "<<measPhi);
188  continue;
189  }
190  const IdentifierHash measHash = reElement->measurementHash(stripID);
191  const IdentifierHash layHash = reElement->layerHash(measHash);
192  const Amg::Vector3D stripPos = reElement->stripPosition(gctx, measHash);
193  m_stripPos.push_back(stripPos);
194  m_locStripPos.push_back((reElement->globalToLocalTrans(gctx, layHash) * stripPos).block<2,1>(0,0));
196  m_stripPosMeasPhi.push_back(measPhi);
197  m_stripPosNum.push_back(strip);
198  m_stripDblPhi.push_back(doubPhi);
199 
200  if (strip != 1) continue;
201  const Amg::Transform3D locToGlob = reElement->localToGlobalTrans(gctx, layHash);
202  m_stripRot.push_back(locToGlob);
204  m_stripRotMeasPhi.push_back(measPhi);
205  m_stripRotDblPhi.push_back(doubPhi);
206  }
207  }
208  }
209  }
210  return m_tree.fill(ctx) ? StatusCode::SUCCESS : StatusCode::FAILURE;
211 }
212 
213 }
214 
python.PyKernel.retrieve
def retrieve(aClass, aKey=None)
Definition: PyKernel.py:110
MuonGMR4::GeoModelRpcTest::m_chamberDesign
MuonVal::ScalarBranch< std::string > & m_chamberDesign
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:58
MuonGMR4::RpcReadoutElement::stripPhiLength
double stripPhiLength() const
Returns the length of a phi strip.
dumpTgcDigiDeadChambers.gasGap
list gasGap
Definition: dumpTgcDigiDeadChambers.py:33
ATH_MSG_FATAL
#define ATH_MSG_FATAL(x)
Definition: AthMsgStreamMacros.h:34
MuonGMR4::GeoModelRpcTest::m_stripEtaLength
MuonVal::ScalarBranch< float > & m_stripEtaLength
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:68
MuonGMR4::GeoModelRpcTest::m_stripPhiWidth
MuonVal::ScalarBranch< float > & m_stripPhiWidth
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:67
MuonGMR4::GeoModelRpcTest::m_stIndex
MuonVal::ScalarBranch< unsigned short > & m_stIndex
Identifier of the readout element.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:52
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
MuonVal::MuonTesterTree::init
StatusCode init(OWNER *instance)
Initialize method.
MuonGMR4::GeoModelRpcTest::m_stripRot
MuonVal::CoordSystemsBranch m_stripRot
Rotation matrix of the respective layers.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:89
MuonGMR4::RpcReadoutElement::doubletR
int doubletR() const
Returns the doublet R field of the MuonReadoutElement identifier.
ActsGeometryContext.h
MuonGMR4::GeoModelRpcTest::m_stripPosMeasPhi
MuonVal::VectorBranch< bool > & m_stripPosMeasPhi
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:97
MuonGMR4::GeoModelRpcTest::m_stripRotDblPhi
MuonVal::VectorBranch< uint8_t > & m_stripRotDblPhi
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:91
SG::ReadHandle
Definition: StoreGate/StoreGate/ReadHandle.h:70
MuonGMR4::RpcReadoutElement::stripEtaPitch
double stripEtaPitch() const
Strip pitch in eta.
MuonGMR4::GeoModelRpcTest::initialize
StatusCode initialize() override
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.cxx:17
MuonGMR4::MuonReadoutElement::chamberDesign
std::string chamberDesign() const
The chamber design refers to the construction parameters of a readout element.
MuonGMR4::RpcReadoutElement::measurementId
Identifier measurementId(const IdentifierHash &measHash) const override final
Converts the measurement hash back to the full Identifier.
MuonGMR4::RpcReadoutElement::nGasGaps
unsigned int nGasGaps() const
Returns the number of gasgaps described by this ReadOutElement (usally 2 or 3)
MuonGMR4::GeoModelRpcTest::m_alignableNode
MuonVal::CoordTransformBranch m_alignableNode
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:77
MuonGMR4::GeoModelRpcTest::m_numStripsPhi
MuonVal::ScalarBranch< uint8_t > & m_numStripsPhi
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:61
MuonGMR4::GeoModelRpcTest::m_locStripPos
MuonVal::TwoVectorBranch m_locStripPos
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:96
MuonGMR4::RpcReadoutElement::stripPhiPitch
double stripPhiPitch() const
Strip pitch in phi.
MuonGMR4::MuonReadoutElement::globalToLocalTrans
Amg::Transform3D globalToLocalTrans(const ActsGeometryContext &ctx) const
Transformations to translate between local <-> global coordinates.
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonReadoutElement.cxx:78
ATH_MSG_VERBOSE
#define ATH_MSG_VERBOSE(x)
Definition: AthMsgStreamMacros.h:28
isValid
bool isValid(const T &p)
Definition: AtlasPID.h:214
MuonGMR4::RpcReadoutElement::nPhiPanels
int nPhiPanels() const
Returns the number of phi panels (1 or 2)
MuonGMR4::RpcReadoutElement
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/RpcReadoutElement.h:18
RpcIdHelper
Definition: RpcIdHelper.h:51
MuonGMR4::GeoModelRpcTest::m_stPhi
MuonVal::ScalarBranch< short > & m_stPhi
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:54
AthCommonDataStore< AthCommonMsg< Algorithm > >::detStore
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition: AthCommonDataStore.h:95
MuonGMR4::GeoModelRpcTest::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:33
MuonGMR4::RpcReadoutElement::nEtaStrips
unsigned int nEtaStrips() const
Number of strips measuring the eta coordinate.
MuonVal::ThreeVectorBranch::push_back
void push_back(const Amg::Vector3D &vec)
interface using the Amg::Vector3D
Definition: ThreeVectorBranch.cxx:23
MuonGMR4::GeoModelRpcTest::m_doubletPhi
MuonVal::ScalarBranch< uint8_t > & m_doubletPhi
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:57
Amg::toString
std::string toString(const Translation3D &translation, int precision=4)
GeoPrimitvesToStringConverter.
Definition: GeoPrimitivesToStringConverter.h:40
MuonGMR4
Definition: ChamberAssembleTool.h:16
MuonGMR4::GeoModelRpcTest::m_doubletR
MuonVal::ScalarBranch< uint8_t > & m_doubletR
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:55
MuonGMR4::GeoModelRpcTest::m_tree
MuonVal::MuonTesterTree m_tree
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:49
EventPrimitivesToStringConverter.h
MuonVal::TwoVectorBranch::push_back
void push_back(const Amg::Vector2D &vec)
interface using the Amg::Vector3D
Definition: TwoVectorBranch.cxx:21
MuonGMR4::GeoModelRpcTest::m_stripPos
MuonVal::ThreeVectorBranch m_stripPos
Strip positions.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:95
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
MuonGMR4::RpcReadoutElement::doubletPhi
int doubletPhi() const
Returns the doublet Phi field of the MuonReadoutElement identifier.
Amg::Transform3D
Eigen::Affine3d Transform3D
Definition: GeoPrimitives.h:46
Amg::doesNotDeform
bool doesNotDeform(const Amg::Transform3D &trans)
Checks whether the linear part of the transformation rotates or stetches any of the basis vectors.
Definition: GeoPrimitivesHelpers.h:338
MuonGMR4::RpcReadoutElement::stripPosition
Amg::Vector3D stripPosition(const ActsGeometryContext &ctx, const Identifier &measId) const
Returns the position of the strip center.
Amg::transform
Amg::Vector3D transform(Amg::Vector3D &v, Amg::Transform3D &tr)
Transform a point from a Trasformation3D.
Definition: GeoPrimitivesHelpers.h:156
MuonGMR4::GeoModelRpcTest::m_stripPhiLength
MuonVal::ScalarBranch< float > & m_stripPhiLength
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:69
MuonGMR4::GeoModelRpcTest::m_numGasGapsPhi
MuonVal::ScalarBranch< uint8_t > & m_numGasGapsPhi
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:73
GeoModelRpcTest.h
AnalysisUtils::copy_if
Out copy_if(In first, const In &last, Out res, const Pred &p)
Definition: IFilterUtils.h:30
MuonGMR4::RpcReadoutElement::doubletZ
int doubletZ() const
Returns the doublet Z field of the MuonReadoutElement identifier.
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
MuonGMR4::RpcReadoutElement::measurementHash
IdentifierHash measurementHash(const Identifier &measId) const override final
Constructs the identifier hash from the full measurement Identifier.
SG::VarHandleKey::initialize
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:103
AthHistogramAlgorithm
Definition: AthHistogramAlgorithm.h:32
MuonGMR4::GeoModelRpcTest::m_readoutTransform
MuonVal::CoordTransformBranch m_readoutTransform
Transformation of the readout element (Translation, ColX, ColY, ColZ)
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:76
ActsGeometryContext
Include the GeoPrimitives which need to be put first.
Definition: ActsGeometryContext.h:27
MuonGMR4::GeoModelRpcTest::m_numRpcLayers
MuonVal::ScalarBranch< uint8_t > & m_numRpcLayers
Number of eta & phi gas gaps.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:72
MuonVal::VectorBranch::push_back
void push_back(const T &value)
Adds a new element at the end of the vector.
MuonGMR4::GeoModelRpcTest::m_stripPhiPitch
MuonVal::ScalarBranch< float > & m_stripPhiPitch
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:65
MuonGMR4::GeoModelRpcTest::m_testStations
std::set< Identifier > m_testStations
Set of stations to be tested.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:39
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
MuonGMR4::GeoModelRpcTest::m_geoCtxKey
SG::ReadHandleKey< ActsGeometryContext > m_geoCtxKey
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:36
MuonGMR4::MuonReadoutElement::alignableTransform
const GeoAlignableTransform * alignableTransform() const
Returnsthe alignable transform of the readout element.
MuonGMR4::GeoModelRpcTest::m_stEta
MuonVal::ScalarBranch< short > & m_stEta
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:53
MuonGMR4::RpcReadoutElement::layerHash
IdentifierHash layerHash(const Identifier &measId) const override final
MuonGMR4::GeoModelRpcTest::m_stripEtaPitch
MuonVal::ScalarBranch< float > & m_stripEtaPitch
Strip dimensions.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:64
MuonGMR4::MuonReadoutElement::identify
Identifier identify() const override final
Return the athena identifier.
MuonGMR4::RpcReadoutElement::nPhiStrips
unsigned int nPhiStrips() const
Number of strips measuring the phi coordinate.
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
MuonGMR4::GeoModelRpcTest::m_stripEtaWidth
MuonVal::ScalarBranch< float > & m_stripEtaWidth
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:66
RpcReadoutElement.h
MuonGMR4::GeoModelRpcTest::m_stripRotMeasPhi
MuonVal::VectorBranch< bool > & m_stripRotMeasPhi
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:92
MuonGMR4::GeoModelRpcTest::m_stripPosGasGap
MuonVal::VectorBranch< uint8_t > & m_stripPosGasGap
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:98
MuonGMR4::GeoModelRpcTest::dumpToTree
StatusCode dumpToTree(const EventContext &ctx, const ActsGeometryContext &gctx, const RpcReadoutElement *readoutEle)
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.cxx:138
MuonGMR4::MuonReadoutElement::stationName
int stationName() const
Returns the stationName (BIS, BOS, etc) encoded into the integer.
MuonGMR4::GeoModelRpcTest::execute
StatusCode execute() override
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.cxx:69
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
MuonVal::CoordSystemsBranch::push_back
void push_back(const Amg::Transform3D &trans)
Definition: CoordTransformBranch.cxx:28
MuonGMR4::GeoModelRpcTest::m_detMgr
const MuonDetectorManager * m_detMgr
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:44
MuonVal::MuonTesterTree::fill
bool fill(const EventContext &ctx)
Fills the tree per call.
Definition: MuonTesterTree.cxx:89
MuonGMR4::MuonReadoutElement::localToGlobalTrans
const Amg::Transform3D & localToGlobalTrans(const ActsGeometryContext &ctx) const
Returns the local to global transformation into the ATLAS coordinate system.
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonReadoutElement.cxx:81
MuonVal::MuonTesterTree::write
StatusCode write()
Finally write the TTree objects.
Definition: MuonTesterTree.cxx:178
CxxUtils::atoi
int atoi(std::string_view str)
Helper functions to unpack numbers decoded in string into integers and doubles The strings are requir...
Definition: Control/CxxUtils/Root/StringUtils.cxx:85
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition: MuonDetectorBuilderTool.cxx:34
MuonGMR4::RpcReadoutElement::stripPhiWidth
double stripPhiWidth() const
Strip width in phi.
MuonGMR4::MuonReadoutElement::stationEta
int stationEta() const
Returns the stationEta (positive A site, negative O site)
calibdata.copy
bool copy
Definition: calibdata.py:27
MuonGMR4::GeoModelRpcTest::m_numStripsEta
MuonVal::ScalarBranch< uint8_t > & m_numStripsEta
Number of strips, strip pitch in eta & phi direction.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:60
MuonGMR4::GeoModelRpcTest::finalize
StatusCode finalize() override
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.cxx:65
MuonGMR4::GeoModelRpcTest::m_numPhiPanels
MuonVal::ScalarBranch< uint8_t > & m_numPhiPanels
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:74
MuonGMR4::GeoModelRpcTest::m_stripRotGasGap
MuonVal::VectorBranch< uint8_t > & m_stripRotGasGap
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:90
MuonGMR4::GeoModelRpcTest::m_stripDblPhi
MuonVal::VectorBranch< uint8_t > & m_stripDblPhi
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:100
MuonGMR4::GeoModelRpcTest::m_stripPosNum
MuonVal::VectorBranch< uint8_t > & m_stripPosNum
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:99
MuonGMR4::RpcReadoutElement::stripEtaWidth
double stripEtaWidth() const
Strip width in eta.
MuonGMR4::MuonReadoutElement::stationPhi
int stationPhi() const
Returns the stationPhi (1-8) -> sector (2*phi - (isSmall))
MuonGMR4::GeoModelRpcTest::m_doubletZ
MuonVal::ScalarBranch< uint8_t > & m_doubletZ
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelRpcTest.h:56
MuonGMR4::RpcReadoutElement::stripEtaLength
double stripEtaLength() const
Returns the length of an eta strip.
MuonGMR4::GeoModelRpcTest::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/GeoModelRpcTest.h:42