Project
Loading...
Searching...
No Matches
o2::detectors::DetMatrixCache Class Referenceabstract

#include <DetMatrixCache.h>

Inherited by o2::detectors::DetMatrixCacheIndirect [private], o2::ecal::GeometryTGeo, o2::iotof::GeometryTGeo, o2::itsmft::GeometryTGeo, o2::mi3::GeometryTGeo, o2::rich::GeometryTGeo, and o2::trk::GeometryTGeo.

Public Types

typedef o2::math_utils::Transform3D Mat3D
 
typedef o2::math_utils::Rotation2Df_t Rot2D
 

Public Member Functions

 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
 
virtual void fillMatrixCache (int mask)=0
 
void setSize (int s)
 
MatrixCache< Mat3D > & getCacheT2L ()
 
MatrixCache< Mat3D > & getCacheT2G ()
 
MatrixCache< Mat3D > & getCacheL2G ()
 
MatrixCache< Rot2D > & getCacheT2GRot ()
 
 ClassDef (DetMatrixCache, 1)
 

Public Attributes

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

Set of MatrixCache vectors for transformations used by detector, to be overriden by detector class (see ITS GeometryTGeo)

Definition at line 74 of file DetMatrixCache.h.

Member Typedef Documentation

◆ Mat3D

◆ Rot2D

Constructor & Destructor Documentation

◆ DetMatrixCache() [1/3]

o2::detectors::DetMatrixCache::DetMatrixCache ( )
default

◆ DetMatrixCache() [2/3]

o2::detectors::DetMatrixCache::DetMatrixCache ( const o2::detectors::DetID id)
inline

Definition at line 81 of file DetMatrixCache.h.

◆ ~DetMatrixCache()

virtual o2::detectors::DetMatrixCache::~DetMatrixCache ( )
virtualdefault

this may serve as a base class for detector interface to geometry, make it virtual

◆ DetMatrixCache() [3/3]

o2::detectors::DetMatrixCache::DetMatrixCache ( const DetMatrixCache src)
delete

Member Function Documentation

◆ ClassDef()

o2::detectors::DetMatrixCache::ClassDef ( DetMatrixCache  ,
 
)

◆ fillMatrixCache()

◆ getCacheL2G() [1/2]

MatrixCache< Mat3D > & o2::detectors::DetMatrixCache::getCacheL2G ( )
inline

Definition at line 115 of file DetMatrixCache.h.

◆ getCacheL2G() [2/2]

const MatrixCache< Mat3D > & o2::detectors::DetMatrixCache::getCacheL2G ( ) const
inline

Definition at line 92 of file DetMatrixCache.h.

◆ getCacheT2G() [1/2]

MatrixCache< Mat3D > & o2::detectors::DetMatrixCache::getCacheT2G ( )
inline

Definition at line 114 of file DetMatrixCache.h.

◆ getCacheT2G() [2/2]

const MatrixCache< Mat3D > & o2::detectors::DetMatrixCache::getCacheT2G ( ) const
inline

Definition at line 91 of file DetMatrixCache.h.

◆ getCacheT2GRot() [1/2]

MatrixCache< Rot2D > & o2::detectors::DetMatrixCache::getCacheT2GRot ( )
inline

Definition at line 116 of file DetMatrixCache.h.

◆ getCacheT2GRot() [2/2]

const MatrixCache< Rot2D > & o2::detectors::DetMatrixCache::getCacheT2GRot ( ) const
inline

Definition at line 93 of file DetMatrixCache.h.

◆ getCacheT2L() [1/2]

MatrixCache< Mat3D > & o2::detectors::DetMatrixCache::getCacheT2L ( )
inline

Definition at line 113 of file DetMatrixCache.h.

◆ getCacheT2L() [2/2]

const MatrixCache< Mat3D > & o2::detectors::DetMatrixCache::getCacheT2L ( ) const
inline

Definition at line 90 of file DetMatrixCache.h.

◆ getDetID()

const o2::detectors::DetID & o2::detectors::DetMatrixCache::getDetID ( ) const
inline

Definition at line 88 of file DetMatrixCache.h.

◆ getMatrixL2G()

const Mat3D & o2::detectors::DetMatrixCache::getMatrixL2G ( int  sensID) const
inline

Definition at line 96 of file DetMatrixCache.h.

◆ getMatrixT2G()

const Mat3D & o2::detectors::DetMatrixCache::getMatrixT2G ( int  sensID) const
inline

Definition at line 95 of file DetMatrixCache.h.

◆ getMatrixT2GRot()

const Rot2D & o2::detectors::DetMatrixCache::getMatrixT2GRot ( int  sensID) const
inline

Definition at line 97 of file DetMatrixCache.h.

◆ getMatrixT2L()

const Mat3D & o2::detectors::DetMatrixCache::getMatrixT2L ( int  sensID) const
inline

Definition at line 94 of file DetMatrixCache.h.

◆ getName()

const char * o2::detectors::DetMatrixCache::getName ( ) const
inline

Definition at line 89 of file DetMatrixCache.h.

◆ getSize()

int o2::detectors::DetMatrixCache::getSize ( ) const
inline

Definition at line 99 of file DetMatrixCache.h.

◆ isBuilt()

bool o2::detectors::DetMatrixCache::isBuilt ( ) const
inline

Definition at line 98 of file DetMatrixCache.h.

◆ operator=()

DetMatrixCache & o2::detectors::DetMatrixCache::operator= ( const DetMatrixCache geom)
delete

◆ setSize()

void DetMatrixCache::setSize ( int  s)

Definition at line 23 of file DetMatrixCache.cxx.

Member Data Documentation

◆ mDetID

o2::detectors::DetID o2::detectors::DetMatrixCache::mDetID

detector ID

Definition at line 117 of file DetMatrixCache.h.

◆ mL2G

MatrixCache<Mat3D> o2::detectors::DetMatrixCache::mL2G

Local to Global matrices.

Definition at line 120 of file DetMatrixCache.h.

◆ mSize

int o2::detectors::DetMatrixCache::mSize = 0

prebooked number of sensors

Definition at line 118 of file DetMatrixCache.h.

◆ mT2G

MatrixCache<Mat3D> o2::detectors::DetMatrixCache::mT2G

Tracking to Global matrices (general case)

Definition at line 122 of file DetMatrixCache.h.

◆ mT2GRot

MatrixCache<Rot2D> o2::detectors::DetMatrixCache::mT2GRot

Tracking to Global matrices in case of barrel (simple rotation)

Definition at line 123 of file DetMatrixCache.h.

◆ mT2L

MatrixCache<Mat3D> o2::detectors::DetMatrixCache::mT2L

Tracking to Local matrices.

Definition at line 121 of file DetMatrixCache.h.


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