ATLAS Offline Software
MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.cxx
Go to the documentation of this file.
1 
2 /*
3  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
4 */
5 #include "GeoModelMdtTest.h"
10 
11 #include <fstream>
12 
13 using namespace ActsTrk;
14 namespace MuonGMR4{
15 
16 GeoModelMdtTest::GeoModelMdtTest(const std::string& name, ISvcLocator* pSvcLocator):
17 AthHistogramAlgorithm(name,pSvcLocator) {}
18 
20  ATH_CHECK(m_idHelperSvc.retrieve());
23  ATH_CHECK(m_tree.init(this));
24 
25 
26  const MdtIdHelper& id_helper{m_idHelperSvc->mdtIdHelper()};
27  for (const std::string& testCham : m_selectStat) {
28  if (testCham.size() != 6) {
29  ATH_MSG_FATAL("Wrong format given " << testCham);
30  return StatusCode::FAILURE;
31  }
33  std::string statName = testCham.substr(0, 3);
34  unsigned int statEta = std::atoi(testCham.substr(3, 1).c_str()) *
35  (testCham[4] == 'A' ? 1 : -1);
36  unsigned int statPhi = std::atoi(testCham.substr(5, 1).c_str());
37  bool is_valid{false};
38  const Identifier eleId =
39  id_helper.elementID(statName, statEta, statPhi, is_valid);
40  if (!is_valid) {
41  ATH_MSG_FATAL("Failed to deduce a station name for " << testCham);
42  return StatusCode::FAILURE;
43  }
44  m_testStations.insert(eleId);
46  const Identifier secMl = id_helper.multilayerID(eleId, 2, is_valid);
47  if (is_valid)
48  m_testStations.insert(secMl);
49  }
51  if (m_testStations.empty()){
52  for(auto itr = id_helper.detectorElement_begin();
53  itr!= id_helper.detectorElement_end();++itr){
54  m_testStations.insert(*itr);
55  }
56  }
58  return StatusCode::SUCCESS;
59 }
62  return StatusCode::SUCCESS;
63 }
65  const EventContext& ctx{Gaudi::Hive::currentContext()};
66  SG::ReadHandle<ActsGeometryContext> geoContextHandle{m_geoCtxKey, ctx};
67  ATH_CHECK(geoContextHandle.isPresent());
68 
69  const ActsGeometryContext& gctx{*geoContextHandle};
70 
71  const MdtIdHelper& id_helper{m_idHelperSvc->mdtIdHelper()};
72  for (const Identifier& test_me : m_testStations) {
73  const int ml = id_helper.multilayer(test_me);
74  const std::string detStr = m_idHelperSvc->toStringDetEl(test_me);
75  ATH_MSG_DEBUG("Test retrieval of Mdt detector element "<<detStr);
76  const MdtReadoutElement* reElement = m_detMgr->getMdtReadoutElement(test_me);
77  if (!reElement) {
78  continue;
79  }
81  if (reElement->identify() != test_me) {
82  ATH_MSG_FATAL("Expected to retrieve "<<detStr<<". But got instead "<<m_idHelperSvc->toStringDetEl(reElement->identify()));
83  return StatusCode::FAILURE;
84  }
85  ATH_CHECK(dumpToTree(ctx,gctx,reElement));
86  const Amg::Transform3D globToLocal{reElement->globalToLocalTrans(gctx)};
87  const Amg::Transform3D& localToGlob{reElement->localToGlobalTrans(gctx)};
89  const Amg::Transform3D transClosure = globToLocal * localToGlob;
90  if (!Amg::doesNotDeform(transClosure)) {
91  ATH_MSG_FATAL("Closure test failed for "<<detStr<<". Ended up with "<< Amg::toString(transClosure) );
92  return StatusCode::FAILURE;
93  }
94  for (unsigned int lay = 1 ; lay <= reElement->numLayers() ; ++lay ) {
95  for (unsigned int tube = 1; tube <=reElement->numTubesInLay(); ++tube ){
96  const Identifier tube_id = id_helper.channelID(test_me,ml,lay,tube);
98  const IdentifierHash measHash = reElement->measurementHash(tube_id);
99  const Identifier cnv_tube_id = reElement->measurementId(measHash);
100  if (tube_id != cnv_tube_id) {
101  ATH_MSG_FATAL("Failed to convert "<<m_idHelperSvc->toString(tube_id)<<" back and forth "<<m_idHelperSvc->toString(cnv_tube_id));
102  return StatusCode::FAILURE;
103  }
104  }
105  }
106  }
108  return StatusCode::SUCCESS;
109 }
111  if (m_swapRead.empty()) return;
112  std::ofstream swapReadXML{m_swapRead};
113  if (!swapReadXML.good()) {
114  ATH_MSG_ERROR("Failed to create "<<m_swapRead);
115  return;
116  }
117  std::set<Identifier> chamberIDs{};
118  const MdtIdHelper& idHelper{m_idHelperSvc->mdtIdHelper()};
119  swapReadXML<<"<Table name=\"MdtTubeROSides\">"<<std::endl;
120  unsigned int counter{1};
121  for (MdtIdHelper::const_id_iterator itr = idHelper.detectorElement_begin();
122  itr != idHelper.detectorElement_end();
123  ++itr){
124  const Identifier swap{*itr};
125  const MdtReadoutElement* readoutEle = m_detMgr->getMdtReadoutElement(swap);
126  if(!readoutEle) continue;
127  if (!chamberIDs.insert(idHelper.elementID(swap)).second) continue;
128  const int side = readoutEle->getParameters().readoutSide;
129  swapReadXML<<" <Row ";
130  swapReadXML<<"MDTTUBEROSIDES_DATA_ID=\""<<counter<<"\" ";
131  swapReadXML<<"stationName=\""<<m_idHelperSvc->stationNameString(swap)<<"\" ";
132  swapReadXML<<"stationEta=\""<<m_idHelperSvc->stationEta(swap)<<"\" ";
133  swapReadXML<<"stationPhi=\""<<m_idHelperSvc->stationPhi(swap)<<"\" ";
134  swapReadXML<<"side=\""<<side<<"\" ";
135  swapReadXML<<"/>"<<std::endl;
136  ++counter;
137  }
138  swapReadXML<<"</Table>"<<std::endl;
139 
140 }
141 StatusCode GeoModelMdtTest::dumpToTree(const EventContext& ctx,
142  const ActsGeometryContext& gctx,
143  const MdtReadoutElement* readoutEle) {
144 
145  m_stIndex = readoutEle->stationName();
146  m_stEta = readoutEle->stationEta();
147  m_stPhi = readoutEle->stationPhi();
148  m_stML = readoutEle->multilayer();
149  m_chamberDesign = readoutEle->chamberDesign();
150 
151  m_numLayers = readoutEle->numLayers();
152  m_numTubes = readoutEle->numTubesInLay();
153 
154  m_tubeRad = readoutEle->innerTubeRadius();
155  m_tubePitch = readoutEle->tubePitch();
156 
158  const Amg::Transform3D& transform {readoutEle->localToGlobalTrans(gctx)};
160  m_alignableNode = readoutEle->alignableTransform()->getDefTransform();
161 
163  for (unsigned int lay = 1; lay <= readoutEle->numLayers(); ++lay) {
164  for (unsigned int tube = 1; tube <= readoutEle->numTubesInLay(); ++tube) {
165  const IdentifierHash measHash{readoutEle->measurementHash(lay,tube)};
166  if (!readoutEle->isValid(measHash)) continue;
167  const Amg::Transform3D& tubeTransform{readoutEle->localToGlobalTrans(gctx,measHash)};
168  m_tubeLay.push_back(lay);
170  m_tubeTransform.push_back(tubeTransform);
171  m_tubePosInCh.push_back(readoutEle->getChamber()->globalToLocalTrans(gctx) *
172  readoutEle->center(gctx, measHash));
173  m_roPos.push_back(readoutEle->readOutPos(gctx, measHash));
174  m_tubeLength.push_back(readoutEle->tubeLength(measHash));
175  m_activeTubeLength.push_back(readoutEle->activeTubeLength(measHash));
176  m_wireLength.push_back(readoutEle->wireLength(measHash));
177  }
178  }
179 
180  return m_tree.fill(ctx) ? StatusCode::SUCCESS : StatusCode::FAILURE;
181 }
182 
183 }
184 
python.PyKernel.retrieve
def retrieve(aClass, aKey=None)
Definition: PyKernel.py:110
MuonGMR4::GeoModelMdtTest::m_stIndex
MuonVal::ScalarBranch< unsigned short > & m_stIndex
Identifier of the readout element.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:52
ATH_MSG_FATAL
#define ATH_MSG_FATAL(x)
Definition: AthMsgStreamMacros.h:34
MuonGMR4::MdtReadoutElement::numTubesInLay
unsigned int numTubesInLay() const
Returns the number of tubes per layer.
MuonVal::MuonTesterTree::init
StatusCode init(OWNER *instance)
Initialize method.
ActsGeometryContext.h
SG::ReadHandle
Definition: StoreGate/StoreGate/ReadHandle.h:70
MuonGMR4::MdtReadoutElement::tubeLength
double tubeLength(const IdentifierHash &hash) const
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MdtReadoutElement.cxx:175
MuonGMR4::MdtReadoutElement::measurementHash
static IdentifierHash measurementHash(unsigned int layerNumber, unsigned int tubeNumber)
Transform the layer and tube number to the measurementHash.
MuonGMR4::MuonReadoutElement::chamberDesign
std::string chamberDesign() const
The chamber design refers to the construction parameters of a readout element.
MuonGMR4::GeoModelMdtTest::dumpReadoutSideXML
void dumpReadoutSideXML() const
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.cxx:110
MuonGMR4::MdtReadoutElement::activeTubeLength
double activeTubeLength(const IdentifierHash &hash) const
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MdtReadoutElement.cxx:169
MuonGMR4::MdtReadoutElement::readOutPos
Amg::Vector3D readOutPos(const ActsGeometryContext &ctx, const Identifier &measId) const
Returns the global position of the readout card.
MuonGMR4::GeoModelMdtTest::m_stML
MuonVal::ScalarBranch< short > & m_stML
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:55
MuonGMR4::GeoModelMdtTest::m_readoutTransform
MuonVal::CoordTransformBranch m_readoutTransform
Transformation of the readout element (Translation, ColX, ColY, ColZ)
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:63
MuonGMR4::MuonReadoutElement::globalToLocalTrans
Amg::Transform3D globalToLocalTrans(const ActsGeometryContext &ctx) const
Transformations to translate between local <-> global coordinates.
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonReadoutElement.cxx:73
MuonGMR4::GeoModelMdtTest::m_swapRead
Gaudi::Property< std::string > m_swapRead
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:44
MuonGMR4::GeoModelMdtTest::m_numTubes
MuonVal::ScalarBranch< unsigned short > & m_numTubes
Number of tubes per layer.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:66
MuonGMR4::GeoModelMdtTest::m_tubeNum
MuonVal::VectorBranch< unsigned short > & m_tubeNum
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:72
MuonGMR4::GeoModelMdtTest::m_tree
MuonVal::MuonTesterTree m_tree
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:49
MuonGMR4::GeoModelMdtTest::m_alignableNode
MuonVal::CoordTransformBranch m_alignableNode
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:64
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::GeoModelMdtTest::m_stPhi
MuonVal::ScalarBranch< short > & m_stPhi
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:54
MuonGMR4::MdtReadoutElement::parameterBook::readoutSide
double readoutSide
Is the readout chip at positive or negative Z?
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MdtReadoutElement.h:58
TRT::Hit::side
@ side
Definition: HitInfo.h:83
MuonGMR4::GeoModelMdtTest::execute
StatusCode execute() override
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.cxx:64
MuonGMR4::MdtReadoutElement::measurementId
Identifier measurementId(const IdentifierHash &measHash) const override final
Converts the measurement hash back to the full Identifier.
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MdtReadoutElement.cxx:35
MuonVal::ThreeVectorBranch::push_back
void push_back(const Amg::Vector3D &vec)
interface using the Amg::Vector3D
Definition: ThreeVectorBranch.cxx:23
MuonGMR4::MdtReadoutElement::multilayer
unsigned int multilayer() const
Returns the multi layer of the MdtReadoutElement.
MuonGMR4::MdtReadoutElement::wireLength
double wireLength(const IdentifierHash &hash) const
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MdtReadoutElement.cxx:178
MuonGMR4::GeoModelMdtTest::m_testStations
std::set< Identifier > m_testStations
Set of stations to be tested.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:37
MuonGMR4::GeoModelMdtTest::m_detMgr
const MuonDetectorManager * m_detMgr
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:42
GeoModelMdtTest.h
MuonGMR4::GeoModelMdtTest::m_chamberDesign
MuonVal::ScalarBranch< std::string > & m_chamberDesign
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:56
MuonGMR4::GeoModelMdtTest::m_geoCtxKey
SG::ReadHandleKey< ActsGeometryContext > m_geoCtxKey
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:35
calibdata.tube_id
tube_id
Definition: calibdata.py:30
Amg::toString
std::string toString(const Translation3D &translation, int precision=4)
GeoPrimitvesToStringConverter.
Definition: GeoPrimitivesToStringConverter.h:40
MuonGMR4
A muon chamber is a collection of readout elements belonging to the same station.
Definition: ChamberAssembleTool.h:16
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
MuonGMR4::GeoModelMdtTest::m_numLayers
MuonVal::ScalarBranch< unsigned short > & m_numLayers
Number of tubes per layer.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:68
MuonGMR4::GeoModelMdtTest::m_stEta
MuonVal::ScalarBranch< short > & m_stEta
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:53
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::MdtReadoutElement::numLayers
unsigned int numLayers() const
Returns the number of tube layer.
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
Amg::transform
Amg::Vector3D transform(Amg::Vector3D &v, Amg::Transform3D &tr)
Transform a point from a Trasformation3D.
Definition: GeoPrimitivesHelpers.h:156
MdtIdHelper
Definition: MdtIdHelper.h:61
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:40
MuonGMR4::MuonReadoutElement::getChamber
const MuonChamber * getChamber() const
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonReadoutElement.cxx:142
MuonChamber.h
MuonGMR4::MuonReadoutElement::center
Amg::Vector3D center(const ActsGeometryContext &ctx) const
Returns the detector center (Which is the same as the detector center of the first measurement layer)
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
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
MuonGMR4::GeoModelMdtTest::m_wireLength
MuonVal::VectorBranch< double > & m_wireLength
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:79
AthHistogramAlgorithm
Definition: AthHistogramAlgorithm.h:32
WriteCalibToCool.swap
swap
Definition: WriteCalibToCool.py:94
ActsGeometryContext
Include the GeoPrimitives which need to be put first.
Definition: ActsGeometryContext.h:28
MuonGMR4::MdtReadoutElement::innerTubeRadius
double innerTubeRadius() const
Returns the inner tube radius.
MuonVal::VectorBranch::push_back
void push_back(const T &value)
Adds a new element at the end of the vector.
MuonGMR4::GeoModelMdtTest::m_tubeLength
MuonVal::VectorBranch< double > & m_tubeLength
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:77
MuonGMR4::GeoModelMdtTest::m_tubeTransform
MuonVal::CoordSystemsBranch m_tubeTransform
Transformation to each tube.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:75
MuonGMR4::MdtReadoutElement
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MdtReadoutElement.h:15
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
MuonGMR4::GeoModelMdtTest::m_tubePosInCh
MuonVal::ThreeVectorBranch m_tubePosInCh
Position of the tube in the chamber frame.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:84
MuonGMR4::MuonReadoutElement::alignableTransform
const GeoAlignableTransform * alignableTransform() const
Returnsthe alignable transform of the readout element.
MuonGMR4::GeoModelMdtTest::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:32
MuonGMR4::GeoModelMdtTest::m_tubeLay
MuonVal::VectorBranch< unsigned short > & m_tubeLay
Readout each tube specifically.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:71
MuonGMR4::MuonReadoutElement::identify
Identifier identify() const override final
Return the athena identifier.
MuonGMR4::MdtReadoutElement::tubePitch
double tubePitch() const
Returns the pitch between 2 tubes in a layer.
MuonGMR4::GeoModelMdtTest::m_activeTubeLength
MuonVal::VectorBranch< double > & m_activeTubeLength
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:78
MuonGMR4::GeoModelMdtTest::initialize
StatusCode initialize() override
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.cxx:19
MuonGMR4::MuonReadoutElement::stationName
int stationName() const
Returns the stationName (BIS, BOS, etc) encoded into the integer.
MdtReadoutElement.h
MuonVal::CoordSystemsBranch::push_back
void push_back(const Amg::Transform3D &trans)
Definition: CoordTransformBranch.cxx:28
GeoPrimitivesToStringConverter.h
MuonGMR4::GeoModelMdtTest::m_tubePitch
MuonVal::ScalarBranch< double > & m_tubePitch
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:59
MuonVal::MuonTesterTree::fill
bool fill(const EventContext &ctx)
Fills the tree per call.
Definition: MuonTesterTree.cxx:89
MuonGMR4::GeoModelMdtTest::m_roPos
MuonVal::ThreeVectorBranch m_roPos
Position of the readout.
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:82
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:76
MuonVal::MuonTesterTree::write
StatusCode write()
Finally write the TTree objects.
Definition: MuonTesterTree.cxx:178
MuonIdHelper::const_id_iterator
std::vector< Identifier >::const_iterator const_id_iterator
Definition: MuonIdHelper.h:143
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::GeoModelMdtTest::finalize
StatusCode finalize() override
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.cxx:60
MuonGMR4::MuonReadoutElement::stationEta
int stationEta() const
Returns the stationEta (positive A site, negative O site)
MuonGMR4::MdtReadoutElement::getParameters
const parameterBook & getParameters() const
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MdtReadoutElement.cxx:34
test_pyathena.counter
counter
Definition: test_pyathena.py:15
MuonGMR4::MuonChamber::globalToLocalTrans
Amg::Transform3D globalToLocalTrans(const ActsGeometryContext &gctx) const
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonChamber.cxx:71
MuonGMR4::GeoModelMdtTest::m_tubeRad
MuonVal::ScalarBranch< double > & m_tubeRad
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.h:58
MuonGMR4::MdtReadoutElement::isValid
bool isValid(const IdentifierHash &measHash) const
MuonGMR4::MuonReadoutElement::stationPhi
int stationPhi() const
Returns the stationPhi (1-8) -> sector (2*phi - (isSmall))
calibdata.tube
tube
Definition: calibdata.py:31
MuonGMR4::GeoModelMdtTest::dumpToTree
StatusCode dumpToTree(const EventContext &ctx, const ActsGeometryContext &gctx, const MdtReadoutElement *readoutEle)
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/src/GeoModelMdtTest.cxx:141