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

FD3 Geometry type. More...

#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)
 
virtual ~GeometryTGeo ()
 
void getGlobalPosition (float &x, float &y, float &z)
 
- 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
 
DetMatrixCache & operator= (const DetMatrixCache &geom)=delete
 
const o2::detectors::DetID & getDetID () const
 
const char * getName () const
 
const MatrixCache< Mat3D > & getCacheT2L () const
 
const MatrixCache< Mat3D > & getCacheT2G () const
 
const MatrixCache< Mat3D > & getCacheL2G () const
 
const MatrixCache< Rot2D > & getCacheT2GRot () const
 
const Mat3D & getMatrixT2L (int sensID) const
 
const Mat3D & getMatrixT2G (int sensID) const
 
const Mat3D & getMatrixL2G (int sensID) const
 
const Rot2D & getMatrixT2GRot (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 GeometryTGeo * Instance ()
 
static constexpr o2::detectors::DetID::ID getDetID ()
 

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< Mat3D > mL2G
 Local to Global matrices.
 
MatrixCache< Mat3D > mT2L
 Tracking to Local matrices.
 
MatrixCache< Mat3D > mT2G
 Tracking to Global matrices (general case)
 
MatrixCache< Rot2D > mT2GRot
 Tracking to Global matrices in case of barrel (simple rotation)
 

Detailed Description

FD3 Geometry type.

Definition at line 32 of file GeometryTGeo.h.

Constructor & Destructor Documentation

◆ GeometryTGeo()

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

Definition at line 27 of file GeometryTGeo.cxx.

◆ ~GeometryTGeo()

o2::fd3::GeometryTGeo::~GeometryTGeo ( )
virtualdefault

Member Function Documentation

◆ Build()

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

Definition at line 47 of file GeometryTGeo.cxx.

◆ fillMatrixCache()

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

Implements o2::detectors::DetMatrixCache.

Definition at line 61 of file GeometryTGeo.cxx.

◆ getDetID()

static constexpr o2::detectors::DetID::ID o2::fd3::GeometryTGeo::getDetID ( )
inlinestaticconstexpr

Definition at line 45 of file GeometryTGeo.h.

◆ getGlobalPosition()

void o2::fd3::GeometryTGeo::getGlobalPosition ( float &  x,
float &  y,
float &  z 
)

◆ Instance()

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

Definition at line 39 of file GeometryTGeo.cxx.


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