Project
Loading...
Searching...
No Matches
o2::trk::GeometryTGeo Class Reference

#include <GeometryTGeo.h>

Inherits o2::detectors::DetMatrixCache.

Public Member Functions

 GeometryTGeo (bool build=false, int loadTrans=0)
 
void Build (int loadTrans)
 
void fillMatrixCache (int mask)
 
- Public Member Functions inherited from o2::detectors::DetMatrixCache
 DetMatrixCache ()=default
 
 DetMatrixCache (const o2::detectors::DetID &id)
 
virtual ~DetMatrixCache ()=default
 this may serve as a base class for detector interface to geometry, make it virtual
 
 DetMatrixCache (const DetMatrixCache &src)=delete
 
DetMatrixCacheoperator= (const DetMatrixCache &geom)=delete
 
const o2::detectors::DetIDgetDetID () const
 
const chargetName () const
 
const MatrixCache< Mat3D > & getCacheT2L () const
 
const MatrixCache< Mat3D > & getCacheT2G () const
 
const MatrixCache< Mat3D > & getCacheL2G () const
 
const MatrixCache< Rot2D > & getCacheT2GRot () const
 
const Mat3DgetMatrixT2L (int sensID) const
 
const Mat3DgetMatrixT2G (int sensID) const
 
const Mat3DgetMatrixL2G (int sensID) const
 
const Rot2DgetMatrixT2GRot (int sensID) const
 
bool isBuilt () const
 
int getSize () const
 
void setSize (int s)
 
MatrixCache< Mat3D > & getCacheT2L ()
 
MatrixCache< Mat3D > & getCacheT2G ()
 
MatrixCache< Mat3D > & getCacheL2G ()
 
MatrixCache< Rot2D > & getCacheT2GRot ()
 
 ClassDef (DetMatrixCache, 1)
 

Static Public Member Functions

static GeometryTGeoInstance ()
 
static const chargetTRKVolPattern ()
 
static const chargetTRKLayerPattern ()
 
static const chargetTRKStavePattern ()
 
static const chargetTRKChipPattern ()
 
static const chargetTRKSensorPattern ()
 
static const charcomposeSymNameTRK (int d)
 
static const charcomposeSymNameLayer (int d, int layer)
 
static const charcomposeSymNameStave (int d, int layer)
 
static const charcomposeSymNameChip (int d, int lr)
 
static const charcomposeSymNameSensor (int d, int layer)
 

Static Protected Attributes

static std::string sVolumeName = "TRKV"
 
static std::string sLayerName = "TRKLayer"
 
static std::string sStaveName = "TRKStave"
 
static std::string sChipName = "TRKChip"
 
static std::string sSensorName = "TRKSensor"
 

Additional Inherited Members

- Public Types inherited from o2::detectors::DetMatrixCache
typedef o2::math_utils::Transform3D Mat3D
 
typedef o2::math_utils::Rotation2Df_t Rot2D
 
- Public Attributes inherited from o2::detectors::DetMatrixCache
o2::detectors::DetID mDetID
 detector ID
 
int mSize = 0
 prebooked number of sensors
 
MatrixCache< Mat3DmL2G
 Local to Global matrices.
 
MatrixCache< Mat3DmT2L
 Tracking to Local matrices.
 
MatrixCache< Mat3DmT2G
 Tracking to Global matrices (general case)
 
MatrixCache< Rot2DmT2GRot
 Tracking to Global matrices in case of barrel (simple rotation)
 

Detailed Description

Definition at line 22 of file GeometryTGeo.h.

Constructor & Destructor Documentation

◆ GeometryTGeo()

o2::trk::GeometryTGeo::GeometryTGeo ( bool  build = false,
int  loadTrans = 0 
)

Definition at line 28 of file GeometryTGeo.cxx.

Member Function Documentation

◆ Build()

void o2::trk::GeometryTGeo::Build ( int  loadTrans)

Definition at line 38 of file GeometryTGeo.cxx.

◆ composeSymNameChip()

const char * o2::trk::GeometryTGeo::composeSymNameChip ( int  d,
int  lr 
)
static

Definition at line 74 of file GeometryTGeo.cxx.

◆ composeSymNameLayer()

const char * o2::trk::GeometryTGeo::composeSymNameLayer ( int  d,
int  layer 
)
static

Definition at line 64 of file GeometryTGeo.cxx.

◆ composeSymNameSensor()

const char * o2::trk::GeometryTGeo::composeSymNameSensor ( int  d,
int  layer 
)
static

Definition at line 79 of file GeometryTGeo.cxx.

◆ composeSymNameStave()

const char * o2::trk::GeometryTGeo::composeSymNameStave ( int  d,
int  layer 
)
static

Definition at line 69 of file GeometryTGeo.cxx.

◆ composeSymNameTRK()

static const char * o2::trk::GeometryTGeo::composeSymNameTRK ( int  d)
inlinestatic

Definition at line 36 of file GeometryTGeo.h.

◆ fillMatrixCache()

void o2::trk::GeometryTGeo::fillMatrixCache ( int  mask)
virtual

Implements o2::detectors::DetMatrixCache.

Definition at line 52 of file GeometryTGeo.cxx.

◆ getTRKChipPattern()

static const char * o2::trk::GeometryTGeo::getTRKChipPattern ( )
inlinestatic

Definition at line 33 of file GeometryTGeo.h.

◆ getTRKLayerPattern()

static const char * o2::trk::GeometryTGeo::getTRKLayerPattern ( )
inlinestatic

Definition at line 31 of file GeometryTGeo.h.

◆ getTRKSensorPattern()

static const char * o2::trk::GeometryTGeo::getTRKSensorPattern ( )
inlinestatic

Definition at line 34 of file GeometryTGeo.h.

◆ getTRKStavePattern()

static const char * o2::trk::GeometryTGeo::getTRKStavePattern ( )
inlinestatic

Definition at line 32 of file GeometryTGeo.h.

◆ getTRKVolPattern()

static const char * o2::trk::GeometryTGeo::getTRKVolPattern ( )
inlinestatic

Definition at line 30 of file GeometryTGeo.h.

◆ Instance()

GeometryTGeo * o2::trk::GeometryTGeo::Instance ( )
static

Definition at line 56 of file GeometryTGeo.cxx.

Member Data Documentation

◆ sChipName

std::string o2::trk::GeometryTGeo::sChipName = "TRKChip"
staticprotected

Definition at line 49 of file GeometryTGeo.h.

◆ sLayerName

std::string o2::trk::GeometryTGeo::sLayerName = "TRKLayer"
staticprotected

Definition at line 47 of file GeometryTGeo.h.

◆ sSensorName

std::string o2::trk::GeometryTGeo::sSensorName = "TRKSensor"
staticprotected

Definition at line 50 of file GeometryTGeo.h.

◆ sStaveName

std::string o2::trk::GeometryTGeo::sStaveName = "TRKStave"
staticprotected

Definition at line 48 of file GeometryTGeo.h.

◆ sVolumeName

std::string o2::trk::GeometryTGeo::sVolumeName = "TRKV"
staticprotected

Definition at line 46 of file GeometryTGeo.h.


The documentation for this class was generated from the following files: