Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
TRT_EndcapElement.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 
9 #ifndef TRT_READOUTGEOMETRY_TRT_ENDCAPELEMENT_H
10 #define TRT_READOUTGEOMETRY_TRT_ENDCAPELEMENT_H
11 
15 #include <atomic>
16 
17 class TRT_ID;
18 
19 namespace Trk{
20  class SurfaceBounds;
21 }
22 
23 namespace InDetDD {
24 
25  class TRT_EndcapConditions;
26 
44 
45  public:
47  TRT_EndcapElement(const GeoVFullPhysVol* volume,
48  const TRT_EndcapDescriptor* descriptor,
49  bool isPositive,
50  unsigned int wheelIndex,
51  unsigned int strawLayIndex,
52  unsigned int phiIndex,
53  const TRT_ID* idHelper,
54  const TRT_Conditions* conditions);
55 
57 
59  virtual ~TRT_EndcapElement();
60 
62  virtual TRT_BaseElement::Type type() const override final;
63 
65  virtual const double & strawLength() const override;
66 
68  virtual int strawDirection() const override final;
69 
73  static const TRT_EndcapConditions * getConditionsData() ;
74 
78 
81 
84 
86  void setNextInZ(const TRT_EndcapElement *element);
87 
89  void setPreviousInZ(const TRT_EndcapElement *element);
90 
93 
94  // Surface bounds
95  virtual const Trk::SurfaceBounds & strawBounds() const override final;
96 
97 
98  private:
101  virtual HepGeom::Transform3D calculateStrawTransform(int straw, GeoAlignmentStore* alignStore) const override;
103 
105  virtual const Trk::Surface & elementSurface() const override;
106 
108  virtual void createSurfaceCache(GeoAlignmentStore* alignStore) const override;
112 
113  // Illegal Operations:
115  delete;
116 
117  // Private Member Data:
122  };
123 
124 }
125 
126 #include "TRT_EndcapElement.icc"
127 #endif
128 
129 
GeoAlignmentStore
Ensure that the extensions for the Vector3D are properly loaded.
Definition: GeoAlignmentStore.h:24
TRT::Hit::straw
@ straw
Definition: HitInfo.h:82
InDetDD::TRT_EndcapElement::TRT_EndcapElement
TRT_EndcapElement(const GeoVFullPhysVol *volume, const TRT_EndcapDescriptor *descriptor, bool isPositive, unsigned int wheelIndex, unsigned int strawLayIndex, unsigned int phiIndex, const TRT_ID *idHelper, const TRT_Conditions *conditions)
Constructor.
Definition: TRT_EndcapElement.cxx:27
InDetDD::TRT_EndcapElement::setNextInZ
void setNextInZ(const TRT_EndcapElement *element)
Set Next in Z.
Definition: TRT_EndcapElement.cxx:88
InDetDD::TRT_EndcapElement::strawBounds
virtual const Trk::SurfaceBounds & strawBounds() const override final
the straw bounds
Definition: TRT_EndcapElement.cxx:185
InDetDD::TRT_EndcapElement::m_descriptor
const TRT_EndcapDescriptor * m_descriptor
Definition: TRT_EndcapElement.h:119
Surface
Definition: Trigger/TrigAccel/TrigCudaFitter/src/Surface.h:8
InDetDD::TRT_EndcapElement
Definition: TRT_EndcapElement.h:43
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
InDetDD::TRT_Conditions
Definition: TRT_Conditions.h:30
InDetDD::TRT_EndcapDescriptor
class TRT_EndcapDescriptor
Definition: TRT_EndcapDescriptor.h:30
TRT_EndcapCode.h
InDetDD::TRT_EndcapElement::calculateStrawTransform
virtual HepGeom::Transform3D calculateStrawTransform(int straw, GeoAlignmentStore *alignStore) const override
These transforms are effectively to the local coord system of a straw derived from GeoModel -> hence ...
Definition: TRT_EndcapElement.cxx:100
TRT_EndcapDescriptor.h
InDetDD::TRT_EndcapCode
Definition: TRT_EndcapCode.h:27
InDetDD::TRT_EndcapElement::getCode
const TRT_EndcapCode & getCode() const
Doomed (??)
InDetDD::TRT_EndcapElement::strawDirection
virtual int strawDirection() const override final
StrawDirection.
Definition: TRT_EndcapElement.cxx:253
InDetDD::TRT_EndcapElement::getDescriptor
const TRT_EndcapDescriptor * getDescriptor() const
Returns a pointer to a descriptor, giving common information on module construction.
Definition: TRT_EndcapElement.cxx:82
Amg::Transform3D
Eigen::Affine3d Transform3D
Definition: GeoPrimitives.h:46
InDetDD::TRT_EndcapElement::~TRT_EndcapElement
virtual ~TRT_EndcapElement()
Destructor:
InDetDD::TRT_BaseElement::conditions
const TRT_Conditions * conditions() const
Return the TRT_Conditions object associated to this Detector element.
InDetDD::TRT_EndcapElement::m_code
TRT_EndcapCode m_code
Definition: TRT_EndcapElement.h:118
InDetDD::TRT_EndcapElement::elementSurface
virtual const Trk::Surface & elementSurface() const override
return the surface of the element
Definition: TRT_EndcapElement.cxx:191
InDetDD::TRT_EndcapElement::m_nextInZ
const TRT_EndcapElement * m_nextInZ
Definition: TRT_EndcapElement.h:120
InDetDD::TRT_EndcapElement::setPreviousInZ
void setPreviousInZ(const TRT_EndcapElement *element)
Set Previous in Z.
Definition: TRT_EndcapElement.cxx:94
InDetDD::TRT_EndcapElement::nextInZ
const TRT_EndcapElement * nextInZ() const
Next in Z:
InDetDD::TRT_BaseElement::Type
Type
Definition: TRT_BaseElement.h:56
InDetDD::TRT_EndcapElement::getConditionsData
static const TRT_EndcapConditions * getConditionsData()
Returns a pointer to conditions data.
Definition: TRT_EndcapElement.cxx:76
TRT_BaseElement.h
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
InDetDD::SurfaceCache
Definition: InnerDetector/InDetDetDescr/InDetReadoutGeometry/InDetReadoutGeometry/SurfaceCache.h:68
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
columnar::final
CM final
Definition: ColumnAccessor.h:106
InDetDD::TRT_EndcapElement::type
virtual TRT_BaseElement::Type type() const override final
Type information:
HepGeom
Definition: VP1String.h:30
eflowRec::phiIndex
unsigned int phiIndex(float phi, float binsize)
calculate phi index for a given phi
Definition: EtaPhiLUT.cxx:23
InDetDD::TRT_EndcapElement::strawLength
virtual const double & strawLength() const override
Active straw length.
Definition: TRT_EndcapElement.cxx:70
TRT_ID
Definition: TRT_ID.h:84
calibdata.delete
list delete
Definition: calibdata.py:46
InDetDD::TRT_EndcapElement::createSurfaceCache
virtual void createSurfaceCache(GeoAlignmentStore *alignStore) const override
create the cache for the element
Definition: TRT_EndcapElement.cxx:199
InDetDD::TRT_EndcapElement::calculateLocalStrawTransform
HepGeom::Transform3D calculateLocalStrawTransform(int straw) const
Definition: TRT_EndcapElement.cxx:144
InDetDD
Message Stream Member.
Definition: FakeTrackBuilder.h:8
InDetDD::TRT_EndcapElement::createSurfaceCacheHelper
SurfaceCache createSurfaceCacheHelper(GeoAlignmentStore *alignStore) const
Definition: TRT_EndcapElement.cxx:211
InDetDD::TRT_EndcapElement::previousInZ
const TRT_EndcapElement * previousInZ() const
Prev in Z:
InDetDD::TRT_EndcapElement::m_previousInZ
const TRT_EndcapElement * m_previousInZ
Definition: TRT_EndcapElement.h:121
InDetDD::TRT_BaseElement
Definition: TRT_BaseElement.h:52
Identifier
Definition: IdentifierFieldParser.cxx:14