ATLAS Offline Software
MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/TgcReadoutElement.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUONREADOUTGEOMETRY_TGCREADOUTELEMENT_H
6 #define MUONREADOUTGEOMETRY_TGCREADOUTELEMENT_H
7 
8 
9 #include "Identifier/Identifier.h"
13 #include "CxxUtils/ArrayHelper.h"
14 
15 
16 namespace MuonGM {
17 
43 
44  public:
45  TgcReadoutElement(GeoVFullPhysVol* pv, const std::string& stName, MuonDetectorManager* mgr);
46 
47  virtual ~TgcReadoutElement() = default;
48 
51  virtual double distanceToReadout(const Amg::Vector2D& pos, const Identifier& id) const override;
52 
55  virtual int stripNumber(const Amg::Vector2D& pos, const Identifier& id) const override final;
56 
59  virtual bool stripPosition(const Identifier& id, Amg::Vector2D& pos) const override;
60 
62  virtual int layerHash(const Identifier& id) const override;
63 
65  virtual int surfaceHash(const Identifier& id) const override;
66 
68  virtual int boundaryHash(const Identifier& id) const override;
69 
71  virtual bool measuresPhi(const Identifier& id) const override;
72 
74  virtual int numberOfLayers(bool isStrip) const override;
75 
77  virtual int numberOfStrips(const Identifier& layerId) const override;
78  virtual int numberOfStrips(int layer, bool isStrip) const override;
79 
83  virtual bool spacePointPosition(const Identifier& phiId, const Identifier& etaId, Amg::Vector2D& pos) const override;
84 
87  virtual bool spacePointPosition(const Identifier& phiId, const Identifier& etaId, Amg::Vector3D& pos) const override;
88 
90  const Amg::Vector3D& etaHitPos,
91  const Amg::Vector3D& phiHitPos) const;
92 
93  virtual bool containsId(const Identifier& id) const override;
94 
95 
96 
97  int chamberType() const;
99  int nGasGaps() const;
101  bool validGap(int gasGap) const;
102 
103 
105  int nStrips(int gasGap) const;
107  bool validStrip(int gasGap, int strip) const;
109  double stripWidth(int gasGap, int strip) const;
111  double stripLength() const;
113  double stripPitch(int gasGap, int strip) const;
115  double stripPitch(int gasGap, int strip, double radialPos) const;
117  double stripLowEdgeLocX(int gasGap, int strip, double radialPos) const;
119  double stripHighEdgeLocX(int gasGap, int strip , double radialPos) const;
121  double stripCenterLocX(int gasGap, int strip, double radialPos) const;
122 
123  double physicalDistanceFromBase() const;
124  double stripPosOnLargeBase(int strip) const;
125  double stripPosOnShortBase(int strip) const;
126 
127 
128  double stripDeltaPhi() const;
129  double stripDeltaPhi(int gasGap, int strip) const;
130 
131 
133  bool validGang(int gasGap, int wireGang) const;
135  int nWires(int gasGap) const;
137  int nWires(int gasGap, int gang) const;
139  int nWireGangs(int gasGap) const;
141  double nPitchesToGang(int gasGap, int gang) const;
143  double gangRadialLength(int gasGap, int gang) const;
145  double gangShortWidth(int gasGap, int gang) const;
147  double gangCentralWidth(int gasGap, int gang) const;
149  double gangLongWidth(int gasGap, int gang) const;
151  double gangThickness() const;
154  double wireLength(int wire) const;
156  double wirePitch() const;
157 
158 
159 
160  double stripShortWidth(int, int) const;
161  double stripLongWidth(int, int) const;
162 
170 
174 
177  Amg::Vector3D wireGangPos(int gasGap, int gang) const;
178 
180  Amg::Vector3D stripPos(int gasGap, int strip) const;
183  Amg::Vector3D stripDir(int gasGap, int strip) const;
185 
186 
188  bool isEndcap() const;
190  bool isForward() const;
192  bool isDoublet() const;
194  bool isTriplet() const;
196  double chamberLocPhiMin() const;
198  double chamberLocPhiMax() const;
199 
200 
201  double length() const;
202 
203  double frameZwidth() const;
204  double frameXwidth() const;
205  double chamberWidth(double z) const;
206 
207 
208  int nPhiChambers() const;
209  int nPhiSectors() const;
210 
212  void setPlaneZ(double value, int gasGap);
213 
215  int findGang(int gasGap, const Amg::Vector3D& extPos) const;
217  int findStrip(int gasGap, const Amg::Vector3D& extPos) const;
218 
219 
220 
221  void setReadOutName(const std::string& rName);
223 
224  void setFrameThickness(const double frameH, const double frameAB);
225 
226  // Access to readout parameters
227  const std::string& readOutName() const;
228 
230 
231  virtual void fillCache() override;
232 
233 
234  private:
238  // Returns the local position of a strip
239  Amg::Vector3D localStripPos(int gasGap, int strip) const;
242  Amg::Vector3D localStripDir(int gasGap, int strip) const;
244 
246  Amg::Vector3D localWireGangPos(int gasGap, int gang) const;
249  Amg::Vector3D localGasGapPos(int gg) const;
250 
251  static int surfaceHash(int GasGap, bool isStrip);
252 
256  double stripLocalX(const int stripNum,
257  const double locY,
258  const double refPoint) const;
259 
261  double wireGangLocalX(const int gasGap,
262  const int gangNum) const;
263 
265  double wireGangBottomX(int gasGap, int gangNum) const;
267  double wireGangTopX(int gasGap, int gangNum) const;
268 
271  std::pair<double, int> stripNumberToFetch(int gasGap, int inStrip) const;
272 
274 
275  static constexpr int s_maxGasGap{3};
276  std::array<double, s_maxGasGap> m_gasPlaneZ{make_array<double, s_maxGasGap>(-9999.)};
277 
278  std::string m_readout_name{};
282  double m_stripSlope{0.};
283  double m_locMinPhi{0.};
284  double m_locMaxPhi{0.};
285 
287 
288  double m_frameH{0.};
289  double m_frameAB{0.};
290 
291  };
292 
293 } // namespace MuonGM
295 #endif // MUONREADOUTGEOMETRY_TGCREADOUTELEMENT_H
MuonIdHelper::stationNameIndex
int stationNameIndex(const std::string &name) const
Definition: MuonIdHelper.cxx:842
MuonGM::TgcReadoutElement::physicalDistanceFromBase
double physicalDistanceFromBase() const
make_hlt_rep.pars
pars
Definition: make_hlt_rep.py:90
MuonGM::TgcReadoutElement::numberOfLayers
virtual int numberOfLayers(bool isStrip) const override
number of layers in phi/eta projection
MuonGM::TgcReadoutElement::stripPosOnShortBase
double stripPosOnShortBase(int strip) const
MuonGM::TgcReadoutElement::m_stIdxT4E
int m_stIdxT4E
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/TgcReadoutElement.h:286
MuonGM::TgcReadoutElement::m_readout_name
std::string m_readout_name
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/TgcReadoutElement.h:278
MuonGM::TgcReadoutElement::isTriplet
bool isTriplet() const
Returns true if the chamber has 3 gasgaps.
GeoModel::TransientConstSharedPtr< TgcReadoutParams >
MuonGM::TgcReadoutElement::m_idHelper
const TgcIdHelper & m_idHelper
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/TgcReadoutElement.h:273
MuonGM::TgcReadoutElement::m_frameAB
double m_frameAB
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/TgcReadoutElement.h:289
dumpTgcDigiDeadChambers.gasGap
list gasGap
Definition: dumpTgcDigiDeadChambers.py:33
MuonGM
Ensure that the Athena extensions are properly loaded.
Definition: GeoMuonHits.h:27
MuonGM::TgcReadoutElement::distanceToReadout
virtual double distanceToReadout(const Amg::Vector2D &pos, const Identifier &id) const override
distance to readout.
Definition: MuonDetDescr/MuonReadoutGeometry/src/TgcReadoutElement.cxx:298
MuonGM::TgcReadoutElement::localStripDir
Amg::Vector3D localStripDir(int gasGap, int strip) const
Returns the local strip direction of a strip.
MuonGM::TgcReadoutElement::chamberWidth
double chamberWidth(double z) const
MuonGM::TgcReadoutElement::spacePointPosition
virtual bool spacePointPosition(const Identifier &phiId, const Identifier &etaId, Amg::Vector2D &pos) const override
space point position for a given pair of phi and eta identifiers The LocalPosition is expressed in th...
Definition: MuonDetDescr/MuonReadoutGeometry/src/TgcReadoutElement.cxx:332
plotting.yearwise_efficiency.channel
channel
Definition: yearwise_efficiency.py:24
Trk::locY
@ locY
local cartesian
Definition: ParamDefs.h:38
MuonGM::TgcReadoutElement::stripHighEdgeLocX
double stripHighEdgeLocX(int gasGap, int strip, double radialPos) const
Returns the local X of the right edge of the strip at a given local radial position.
Definition: MuonDetDescr/MuonReadoutGeometry/src/TgcReadoutElement.cxx:138
MuonGM::TgcReadoutElement::stripNumber
virtual int stripNumber(const Amg::Vector2D &pos, const Identifier &id) const override final
strip number corresponding to local position.
Definition: MuonDetDescr/MuonReadoutGeometry/src/TgcReadoutElement.cxx:302
MuonGM::TgcReadoutElement::isForward
bool isForward() const
Returns true if the chamber is mounted on the most inner ring, i.e. a TxF chamber.
MuonGM::TgcReadoutElement::m_locMaxPhi
double m_locMaxPhi
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/TgcReadoutElement.h:284
TgcIdHelper
Definition: TgcIdHelper.h:50
Amg::Vector2D
Eigen::Matrix< double, 2, 1 > Vector2D
Definition: GeoPrimitives.h:48
MuonGM::TgcReadoutElement::channelPos
Amg::Vector3D channelPos(int gasGap, bool isStrip, int channel) const
MuonGM::TgcReadoutElement::gangThickness
double gangThickness() const
Returns the spatial thickness of the wire gang.
MuonGM::TgcReadoutElement::wireGangPos
Amg::Vector3D wireGangPos(int gasGap, int gang) const
MuonGM::TgcReadoutElement::stripDeltaPhi
double stripDeltaPhi() const
Definition: MuonDetDescr/MuonReadoutGeometry/src/TgcReadoutElement.cxx:99
MuonGM::TgcReadoutElement::s_maxGasGap
static constexpr int s_maxGasGap
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/TgcReadoutElement.h:275
MuonGM::TgcReadoutElement::readOutName
const std::string & readOutName() const
MuonGM::TgcReadoutElement::nPhiChambers
int nPhiChambers() const
MuonGM::TgcReadoutElement::stripCenterLocX
double stripCenterLocX(int gasGap, int strip, double radialPos) const
Returns the local X of the strip center at a given local radial position.
Definition: MuonDetDescr/MuonReadoutGeometry/src/TgcReadoutElement.cxx:123
MuonGM::TgcReadoutElement::validGap
bool validGap(int gasGap) const
Returns whether the gasGap is within the allowed range [1-nGasGaps()].
Definition: MuonDetDescr/MuonReadoutGeometry/src/TgcReadoutElement.cxx:222
MuonGM::TgcReadoutElement::wireGangBottomX
double wireGangBottomX(int gasGap, int gangNum) const
Returns the local X of the bottom wire in the wireGang i in gasGap j.
Definition: MuonDetDescr/MuonReadoutGeometry/src/TgcReadoutElement.cxx:56
MuonGM::TgcReadoutElement::boundaryHash
virtual int boundaryHash(const Identifier &id) const override
returns the hash function to be used to look up the surface boundary for a given identifier
MuonGM::TgcReadoutElement::stripLength
double stripLength() const
Returns the length of each strip which is equal to the height of the chamber.
athena.value
value
Definition: athena.py:124
MuonGM::TgcReadoutElement::numberOfStrips
virtual int numberOfStrips(int layer, bool isStrip) const override
MuonGM::TgcReadoutElement::isEndcap
bool isEndcap() const
Returns true if the chamber is belonging to the 48-fold TxE chambers.
MuonGM::TgcReadoutElement::findGang
int findGang(int gasGap, const Amg::Vector3D &extPos) const
Returns the gang number that's closest to the given external position.
Definition: MuonDetDescr/MuonReadoutGeometry/src/TgcReadoutElement.cxx:199
MuonGM::TgcReadoutElement::nPhiSectors
int nPhiSectors() const
MuonGM::TgcReadoutElement::~TgcReadoutElement
virtual ~TgcReadoutElement()=default
MuonGM::TgcReadoutElement::m_stripSlope
double m_stripSlope
Cache of the function call 1.
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/TgcReadoutElement.h:282
MuonGM::TgcReadoutElement::stripDir
Amg::Vector3D stripDir(int gasGap, int strip) const
Returns the direction of a strip.
MuonGM::TgcReadoutElement::stripPosition
virtual bool stripPosition(const Identifier &id, Amg::Vector2D &pos) const override
strip position If the strip number is outside the range of valid strips, the function will return fal...
Definition: MuonDetDescr/MuonReadoutGeometry/src/TgcReadoutElement.cxx:306
MuonGM::TgcReadoutElement::stripPos
Amg::Vector3D stripPos(const Identifier &id) const
MuonGM::TgcReadoutElement::stripLowEdgeLocX
double stripLowEdgeLocX(int gasGap, int strip, double radialPos) const
Returns the local X of the left edge of the strip at a given local radial position.
Definition: MuonDetDescr/MuonReadoutGeometry/src/TgcReadoutElement.cxx:130
MuonGM::TgcReadoutElement::nGasGaps
int nGasGaps() const
Returns the number of gas gaps associated with the readout element (2 or 3)
TgcReadoutParams.h
MuonGM::TgcReadoutElement::wireGangPos
Amg::Vector3D wireGangPos(const Identifier &id) const
Returns the global position of a wireGang.
MuonGM::TgcReadoutElement::channelPos
Amg::Vector3D channelPos(const Identifier &id) const
Returns the position of the active channel (wireGang or strip)
MuonGM::TgcReadoutElement::measuresPhi
virtual bool measuresPhi(const Identifier &id) const override
returns whether the given identifier measures phi or not
MuonGM::MuonReadoutElement::idHelperSvc
const Muon::IMuonIdHelperSvc * idHelperSvc() const
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonReadoutElement.h:136
MuonGM::TgcReadoutElement::surfaceHash
static int surfaceHash(int GasGap, bool isStrip)
BchCleanup.mgr
mgr
Definition: BchCleanup.py:294
python.compareNtuple.rName
rName
Definition: compareNtuple.py:22
MuonGM::TgcReadoutElement::setPlaneZ
void setPlaneZ(double value, int gasGap)
Set the local Z coordinate of the i-th gasGap [1-3].
Definition: MuonDetDescr/MuonReadoutGeometry/src/TgcReadoutElement.cxx:40
MuonGM::TgcReadoutElement::wireGangTopX
double wireGangTopX(int gasGap, int gangNum) const
Returns the local X of the top wire in the wireGang i in gasGap j.
Definition: MuonDetDescr/MuonReadoutGeometry/src/TgcReadoutElement.cxx:63
MuonGM::TgcReadoutElement::stripNumberToFetch
std::pair< double, int > stripNumberToFetch(int gasGap, int inStrip) const
Returns whether a strip needs to be flipped and the final strip number parsed to the TgcReadoutParams...
MuonGM::TgcReadoutElement::gangLongWidth
double gangLongWidth(int gasGap, int gang) const
Returns the length of the most top wire in the gang.
Definition: MuonDetDescr/MuonReadoutGeometry/src/TgcReadoutElement.cxx:86
MuonGM::TgcReadoutElement::containsId
virtual bool containsId(const Identifier &id) const override
Definition: MuonDetDescr/MuonReadoutGeometry/src/TgcReadoutElement.cxx:282
MuonGM::TgcReadoutElement::stripWidth
double stripWidth(int gasGap, int strip) const
Returns the width of a given strip in the gasGap i.
Definition: MuonDetDescr/MuonReadoutGeometry/src/TgcReadoutElement.cxx:146
MuonGM::TgcReadoutElement::stripDir
Amg::Vector3D stripDir(const Identifier &id) const
MuonGM::TgcReadoutElement::nPitchesToGang
double nPitchesToGang(int gasGap, int gang) const
Returns the number of wire pitches that have to be travelled to reach gang i.
MuonGM::TgcReadoutElement::localStripPos
Amg::Vector3D localStripPos(int gasGap, int strip) const
z
#define z
MuonGM::TgcReadoutElement::m_gasPlaneZ
std::array< double, s_maxGasGap > m_gasPlaneZ
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/TgcReadoutElement.h:276
MuonGM::TgcReadoutElement::localGasGapPos
Amg::Vector3D localGasGapPos(int gg) const
Returns the local position of the gasGap in the AMDB coordinate system.
Definition: MuonDetDescr/MuonReadoutGeometry/src/TgcReadoutElement.cxx:49
MuonGM::TgcReadoutElement::frameXwidth
double frameXwidth() const
Definition: MuonDetDescr/MuonReadoutGeometry/src/TgcReadoutElement.cxx:55
MuonGM::TgcReadoutElement::gangShortWidth
double gangShortWidth(int gasGap, int gang) const
Returns the length of the most bottom wire in the gang.
Definition: MuonDetDescr/MuonReadoutGeometry/src/TgcReadoutElement.cxx:79
TRT::Hit::layer
@ layer
Definition: HitInfo.h:79
MuonGM::TgcReadoutElement::nWires
int nWires(int gasGap) const
Returns the total number of wires in a given gas gap.
MuonGM::TgcReadoutElement::validStrip
bool validStrip(int gasGap, int strip) const
Returns whether the strip in the given gasgap is within the allowed range
Definition: MuonDetDescr/MuonReadoutGeometry/src/TgcReadoutElement.cxx:234
Amg::Transform3D
Eigen::Affine3d Transform3D
Definition: GeoPrimitives.h:46
MuonGM::TgcReadoutElement::localStripDir
Amg::Vector3D localStripDir(const Identifier &id) const
MuonGM::TgcReadoutElement::localChannelPos
Amg::Vector3D localChannelPos(int gasGap, bool isStrip, int channel) const
ArrayHelper.h
MuonGM::TgcReadoutElement
A TgcReadoutElement corresponds to a single TGC chamber; therefore typically a TGC station contains s...
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/TgcReadoutElement.h:42
MuonGM::TgcReadoutElement::wireLength
double wireLength(int wire) const
Returns the length of a wire.
MuonGM::TgcReadoutElement::gangRadialLength
double gangRadialLength(int gasGap, int gang) const
Returns the length of the wire gang along the radial direction [pitch x N_{wire}^{gang}].
Definition: MuonDetDescr/MuonReadoutGeometry/src/TgcReadoutElement.cxx:72
MuonGM::TgcReadoutElement::localSpacePoint
Amg::Vector3D localSpacePoint(const Identifier &stripId, const Amg::Vector3D &etaHitPos, const Amg::Vector3D &phiHitPos) const
Definition: MuonDetDescr/MuonReadoutGeometry/src/TgcReadoutElement.cxx:315
MuonGM::TgcReadoutElement::m_locMinPhi
double m_locMinPhi
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/TgcReadoutElement.h:283
MuonGM::TgcReadoutElement::chamberType
int chamberType() const
MuonClusterReadoutElement.h
MuonGM::TgcReadoutElement::numberOfStrips
virtual int numberOfStrips(const Identifier &layerId) const override
number of strips per layer
MuonGM::TgcReadoutElement::gangCentralWidth
double gangCentralWidth(int gasGap, int gang) const
Returns the length of the central wire in the gang.
Definition: MuonDetDescr/MuonReadoutGeometry/src/TgcReadoutElement.cxx:92
MuonGM::TgcReadoutElement::nStrips
int nStrips(int gasGap) const
Returns the number of strips in a given gas gap.
MuonGM::TgcReadoutElement::validGang
bool validGang(int gasGap, int wireGang) const
Returns whether the wire gang in the given gasgap is within the allowed range.
Definition: MuonDetDescr/MuonReadoutGeometry/src/TgcReadoutElement.cxx:230
MuonGM::TgcReadoutElement::nWireGangs
int nWireGangs(int gasGap) const
Returns the number of wire gangs (Random grouping of wires) in a given gas gap.
MuonGM::TgcReadoutElement::localToGlobalTransf
const Amg::Transform3D & localToGlobalTransf(const Identifier &id) const
Returns the local -> global transformation x-axis: Parallel to the wires (strips) if the Identifier b...
MuonGM::TgcReadoutElement::stripPos
Amg::Vector3D stripPos(int gasGap, int strip) const
Returns the global position of a strip.
MuonGM::TgcReadoutElement::m_readoutParams
GeoModel::TransientConstSharedPtr< TgcReadoutParams > m_readoutParams
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/TgcReadoutElement.h:279
dumpTgcDigiThreshold.isStrip
list isStrip
Definition: dumpTgcDigiThreshold.py:33
MuonGM::TgcReadoutElement::stripLongWidth
double stripLongWidth(int, int) const
Definition: MuonDetDescr/MuonReadoutGeometry/src/TgcReadoutElement.cxx:162
MuonGM::TgcReadoutElement::wireGangLocalX
double wireGangLocalX(const int gasGap, const int gangNum) const
Returns the local X of the wire gang in gasGap i
MuonGM::TgcReadoutElement::frameZwidth
double frameZwidth() const
Definition: MuonDetDescr/MuonReadoutGeometry/src/TgcReadoutElement.cxx:54
MuonGM::TgcReadoutElement::localChannelPos
Amg::Vector3D localChannelPos(const Identifier &id) const
Returns the local position of the active channel (wireGang or strip)
MuonGM::TgcReadoutElement::TgcReadoutElement
TgcReadoutElement(GeoVFullPhysVol *pv, const std::string &stName, MuonDetectorManager *mgr)
Definition: MuonDetDescr/MuonReadoutGeometry/src/TgcReadoutElement.cxx:35
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
MuonGM::TgcReadoutElement::wirePitch
double wirePitch() const
Returns the pitch of the wires.
MuonGM::TgcReadoutElement::setReadOutName
void setReadOutName(const std::string &rName)
Definition: MuonDetDescr/MuonReadoutGeometry/src/TgcReadoutElement.cxx:41
MuonDetectorManager.h
MuonGM::TgcReadoutElement::setReadOutParams
void setReadOutParams(GeoModel::TransientConstSharedPtr< TgcReadoutParams > pars)
Definition: MuonDetDescr/MuonReadoutGeometry/src/TgcReadoutElement.cxx:42
MuonGM::TgcReadoutElement::stripShortWidth
double stripShortWidth(int, int) const
Definition: MuonDetDescr/MuonReadoutGeometry/src/TgcReadoutElement.cxx:150
python.LumiBlobConversion.pos
pos
Definition: LumiBlobConversion.py:18
Muon::IMuonIdHelperSvc::tgcIdHelper
virtual const TgcIdHelper & tgcIdHelper() const =0
access to TgcIdHelper
MuonGM::MuonClusterReadoutElement
Definition: MuonClusterReadoutElement.h:21
MuonGM::TgcReadoutElement::stripPitch
double stripPitch(int gasGap, int strip) const
Returns the pitch of the given strip in gasGap i.
Definition: MuonDetDescr/MuonReadoutGeometry/src/TgcReadoutElement.cxx:176
MuonGM::TgcReadoutElement::nWires
int nWires(int gasGap, int gang) const
Returns the number of wires in a given gang in gas gap i.
MuonGM::TgcReadoutElement::chamberLocPhiMax
double chamberLocPhiMax() const
Returns the maximum angle measured from the center that's covered by the chamber.
MuonGM::MuonDetectorManager
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:50
MuonGM::TgcReadoutElement::localStripPos
Amg::Vector3D localStripPos(const Identifier &id) const
MuonGM::TgcReadoutElement::stripPosOnLargeBase
double stripPosOnLargeBase(int strip) const
MuonGM::TgcReadoutElement::length
double length() const
Definition: MuonDetDescr/MuonReadoutGeometry/src/TgcReadoutElement.cxx:53
python.changerun.pv
pv
Definition: changerun.py:81
MuonGM::TgcReadoutParams
Definition: TgcReadoutParams.h:38
MuonGM::TgcReadoutElement::isDoublet
bool isDoublet() const
Returns true if the chamber has 2 gasgaps.
MuonGM::TgcReadoutElement::findStrip
int findStrip(int gasGap, const Amg::Vector3D &extPos) const
Returns the strip number that's closest to the given external position.
Definition: MuonDetDescr/MuonReadoutGeometry/src/TgcReadoutElement.cxx:210
MuonGM::TgcReadoutElement::localWireGangPos
Amg::Vector3D localWireGangPos(const Identifier &id) const
MuonGM::TgcReadoutElement::chamberLocPhiMin
double chamberLocPhiMin() const
Returns the minimum angle measured from the center that's covered by the chamber.
MuonGM::TgcReadoutElement::stripLocalX
double stripLocalX(const int stripNum, const double locY, const double refPoint) const
Returns the local X given the reference point E.g.
MuonGM::TgcReadoutElement::getReadoutParams
const TgcReadoutParams * getReadoutParams() const
MuonGM::TgcReadoutElement::setFrameThickness
void setFrameThickness(const double frameH, const double frameAB)
Definition: MuonDetDescr/MuonReadoutGeometry/src/TgcReadoutElement.cxx:45
MuonGM::TgcReadoutElement::localWireGangPos
Amg::Vector3D localWireGangPos(int gasGap, int gang) const
Returns the local position fo a wireGang.
MuonGM::TgcReadoutElement::layerHash
virtual int layerHash(const Identifier &id) const override
returns the hash function to be used to look up the center and the normal of the tracking surface for...
MuonGM::TgcReadoutElement::fillCache
virtual void fillCache() override
Definition: MuonDetDescr/MuonReadoutGeometry/src/TgcReadoutElement.cxx:238
MuonGM::TgcReadoutElement::globalToLocalTransf
Amg::Transform3D globalToLocalTransf(const Identifier &id) const
Returns the global -> local transformation.
TgcReadoutElement.icc
MuonGM::TgcReadoutElement::m_frameH
double m_frameH
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/TgcReadoutElement.h:288
MuonGM::TgcReadoutElement::surfaceHash
virtual int surfaceHash(const Identifier &id) const override
returns the hash function to be used to look up the surface and surface transform for a given identif...
Identifier
Definition: IdentifierFieldParser.cxx:14