|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef TRT_BarrelDescriptor_h
10 #define TRT_BarrelDescriptor_h 1
13 #include "GeoModelKernel/GeoXF.h"
53 void addStraw(
double xPos,
double yPos);
109 const GeoXF::Function *
m_f;
TRT_BarrelDescriptor(const TRT_BarrelDescriptor &right)=delete
const double & strawZDead() const
Dead part.
size_t getStrawTransformOffset() const
Get the offset into the transformation field:
void strawZDead(double zDead)
Cached pointer with atomic update.
double & strawXPos(unsigned int i)
Get X Position:
void strawZPos(double Pos)
double innerTubeRadius() const
Get inner tube radius of the straw.
const double & strawZPos() const
Position of center of active region.
std::vector< double > m_x
const double & strawLength() const
Get the length of the straws:
CxxUtils::CachedUniquePtr< Trk::CylinderBounds > m_bounds
Cached unique_ptr with atomic update.
double & strawYPos(unsigned int i)
Get Y Position:
const GeoXF::Function * getStrawTransform() const
Get the tranformation field, which we do not own: Does not include the z shift which is different for...
~TRT_BarrelDescriptor()=default
Destructor:
TRT_BarrelDescriptor & operator=(TRT_BarrelDescriptor &&right)=default
TRT_BarrelDescriptor & operator=(const TRT_BarrelDescriptor &right)=delete
const Trk::SurfaceBounds & strawBounds() const
Get Bounds.
const double & strawXPos(unsigned int i) const
Ensure that the ATLAS eigen extensions are properly loaded.
void strawLength(double newLength)
void setStrawTransformField(const GeoXF::Function *xf, size_t offsetInto)
Sets the transform field for straws and offset.
std::vector< double > m_y
TRT_BarrelDescriptor(TRT_BarrelDescriptor &&right)=default
const double & strawYPos(unsigned int i) const
const GeoXF::Function * m_f
void addStraw(double xPos, double yPos)
Add a new straw at position x, y:
unsigned int nStraws() const
Get the number of straws:
TRT_BarrelDescriptor()
Constructor: