Project
Loading...
Searching...
No Matches
o2::iotof::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)
 
int getIOTOFFirstChipIndex (int lay) const
 
int getIOTOFLayer (int index) const
 
int getIOTOFChipIndex (int lay, int sta, int mod, int chip) const
 
bool getIOTOFChipId (int index, int &lay, int &sta, int &mod, int &chip) const
 
TGeoHMatrix * extractMatrixSensor (int index) const
 
TString getMatrixPath (int index) const
 
- 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 chargetIOTOFVolPattern ()
 
static const chargetITOFLayerPattern ()
 
static const chargetITOFStavePattern ()
 
static const chargetITOFModulePattern ()
 
static const chargetITOFChipPattern ()
 
static const chargetITOFSensorPattern ()
 
static const chargetOTOFLayerPattern ()
 
static const chargetOTOFStavePattern ()
 
static const chargetOTOFModulePattern ()
 
static const chargetOTOFChipPattern ()
 
static const chargetOTOFSensorPattern ()
 
static const chargetFTOFLayerPattern ()
 
static const chargetFTOFChipPattern ()
 
static const chargetFTOFSensorPattern ()
 
static const chargetBTOFLayerPattern ()
 
static const chargetBTOFChipPattern ()
 
static const chargetBTOFSensorPattern ()
 
static const charcomposeSymNameIOTOF (int d)
 
static const charcomposeITOFSymNameLayer (int d, int layer)
 
static const charcomposeITOFSymNameChip (int d, int lr)
 
static const charcomposeITOFSymNameSensor (int d, int layer)
 
static const charcomposeOTOFSymNameLayer (int d, int layer)
 
static const charcomposeOTOFSymNameChip (int d, int lr)
 
static const charcomposeOTOFSymNameSensor (int d, int layer)
 
static const charcomposeFTOFSymNameLayer (int d, int layer)
 
static const charcomposeFTOFSymNameChip (int d, int lr)
 
static const charcomposeFTOFSymNameSensor (int d, int layer)
 
static const charcomposeBTOFSymNameLayer (int d, int layer)
 
static const charcomposeBTOFSymNameChip (int d, int lr)
 
static const charcomposeBTOFSymNameSensor (int d, int layer)
 

Protected Member Functions

int extractNumberOfStavesIOTOF (int lay) const
 
int extractNumberOfModulesIOTOF (int lay) const
 
int extractNumberOfChipsPerModuleIOTOF (int lay) const
 
int extractNumberOfChipsFTOF () const
 
int extractNumberOfChipsBTOF () const
 

Protected Attributes

int mNumberOfStavesIOTOF [2]
 
int mNumberOfModulesIOTOF [2]
 
int mNumberOfChipsPerModuleIOTOF [2]
 
int mNumberOfChipsPerStaveIOTOF [2]
 
int mNumberOfChipsIOTOF [2]
 
int mLastChipIndex [2]
 
int mNumberOfChipsFTOF
 
int mNumberOfChipsBTOF
 

Static Protected Attributes

static std::string sIOTOFVolumeName = "IOTOFV"
 
static std::string sITOFLayerName = "ITOFLayer"
 
static std::string sITOFStaveName = "ITOFStave"
 
static std::string sITOFModuleName = "ITOFModule"
 
static std::string sITOFChipName = "ITOFChip"
 
static std::string sITOFSensorName = "ITOFSensor"
 
static std::string sOTOFLayerName = "OTOFLayer"
 
static std::string sOTOFStaveName = "OTOFStave"
 
static std::string sOTOFModuleName = "OTOFModule"
 
static std::string sOTOFChipName = "OTOFChip"
 
static std::string sOTOFSensorName = "OTOFSensor"
 
static std::string sFTOFLayerName = "FTOFLayer"
 
static std::string sFTOFChipName = "FTOFChip"
 
static std::string sFTOFSensorName = "FTOFSensor"
 
static std::string sBTOFLayerName = "BTOFLayer"
 
static std::string sBTOFChipName = "BTOFChip"
 
static std::string sBTOFSensorName = "BTOFSensor"
 

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::iotof::GeometryTGeo::GeometryTGeo ( bool  build = false,
int  loadTrans = 0 
)

Definition at line 49 of file GeometryTGeo.cxx.

Member Function Documentation

◆ Build()

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

Definition at line 224 of file GeometryTGeo.cxx.

◆ composeBTOFSymNameChip()

static const char * o2::iotof::GeometryTGeo::composeBTOFSymNameChip ( int  d,
int  lr 
)
static

◆ composeBTOFSymNameLayer()

static const char * o2::iotof::GeometryTGeo::composeBTOFSymNameLayer ( int  d,
int  layer 
)
static

◆ composeBTOFSymNameSensor()

static const char * o2::iotof::GeometryTGeo::composeBTOFSymNameSensor ( int  d,
int  layer 
)
static

◆ composeFTOFSymNameChip()

static const char * o2::iotof::GeometryTGeo::composeFTOFSymNameChip ( int  d,
int  lr 
)
static

◆ composeFTOFSymNameLayer()

static const char * o2::iotof::GeometryTGeo::composeFTOFSymNameLayer ( int  d,
int  layer 
)
static

◆ composeFTOFSymNameSensor()

static const char * o2::iotof::GeometryTGeo::composeFTOFSymNameSensor ( int  d,
int  layer 
)
static

◆ composeITOFSymNameChip()

static const char * o2::iotof::GeometryTGeo::composeITOFSymNameChip ( int  d,
int  lr 
)
static

◆ composeITOFSymNameLayer()

static const char * o2::iotof::GeometryTGeo::composeITOFSymNameLayer ( int  d,
int  layer 
)
static

◆ composeITOFSymNameSensor()

static const char * o2::iotof::GeometryTGeo::composeITOFSymNameSensor ( int  d,
int  layer 
)
static

◆ composeOTOFSymNameChip()

static const char * o2::iotof::GeometryTGeo::composeOTOFSymNameChip ( int  d,
int  lr 
)
static

◆ composeOTOFSymNameLayer()

static const char * o2::iotof::GeometryTGeo::composeOTOFSymNameLayer ( int  d,
int  layer 
)
static

◆ composeOTOFSymNameSensor()

static const char * o2::iotof::GeometryTGeo::composeOTOFSymNameSensor ( int  d,
int  layer 
)
static

◆ composeSymNameIOTOF()

static const char * o2::iotof::GeometryTGeo::composeSymNameIOTOF ( int  d)
inlinestatic

Definition at line 59 of file GeometryTGeo.h.

◆ extractMatrixSensor()

TGeoHMatrix * o2::iotof::GeometryTGeo::extractMatrixSensor ( int  index) const

Get the transformation matrix of the SENSOR (not necessary the same as the chip) for a given chip 'index' by querying the TGeoManager

Definition at line 199 of file GeometryTGeo.cxx.

◆ extractNumberOfChipsBTOF()

int o2::iotof::GeometryTGeo::extractNumberOfChipsBTOF ( ) const
protected

Definition at line 133 of file GeometryTGeo.cxx.

◆ extractNumberOfChipsFTOF()

int o2::iotof::GeometryTGeo::extractNumberOfChipsFTOF ( ) const
protected

Definition at line 128 of file GeometryTGeo.cxx.

◆ extractNumberOfChipsPerModuleIOTOF()

int o2::iotof::GeometryTGeo::extractNumberOfChipsPerModuleIOTOF ( int  lay) const
protected

Definition at line 105 of file GeometryTGeo.cxx.

◆ extractNumberOfModulesIOTOF()

int o2::iotof::GeometryTGeo::extractNumberOfModulesIOTOF ( int  lay) const
protected

Definition at line 82 of file GeometryTGeo.cxx.

◆ extractNumberOfStavesIOTOF()

int o2::iotof::GeometryTGeo::extractNumberOfStavesIOTOF ( int  lay) const
protected

Definition at line 59 of file GeometryTGeo.cxx.

◆ fillMatrixCache()

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

Implements o2::detectors::DetMatrixCache.

Definition at line 268 of file GeometryTGeo.cxx.

◆ getBTOFChipPattern()

static const char * o2::iotof::GeometryTGeo::getBTOFChipPattern ( )
inlinestatic

Definition at line 56 of file GeometryTGeo.h.

◆ getBTOFLayerPattern()

static const char * o2::iotof::GeometryTGeo::getBTOFLayerPattern ( )
inlinestatic

Definition at line 55 of file GeometryTGeo.h.

◆ getBTOFSensorPattern()

static const char * o2::iotof::GeometryTGeo::getBTOFSensorPattern ( )
inlinestatic

Definition at line 57 of file GeometryTGeo.h.

◆ getFTOFChipPattern()

static const char * o2::iotof::GeometryTGeo::getFTOFChipPattern ( )
inlinestatic

Definition at line 51 of file GeometryTGeo.h.

◆ getFTOFLayerPattern()

static const char * o2::iotof::GeometryTGeo::getFTOFLayerPattern ( )
inlinestatic

Definition at line 50 of file GeometryTGeo.h.

◆ getFTOFSensorPattern()

static const char * o2::iotof::GeometryTGeo::getFTOFSensorPattern ( )
inlinestatic

Definition at line 52 of file GeometryTGeo.h.

◆ getIOTOFChipId()

bool o2::iotof::GeometryTGeo::getIOTOFChipId ( int  index,
int lay,
int sta,
int mod,
int chip 
) const

Definition at line 157 of file GeometryTGeo.cxx.

◆ getIOTOFChipIndex()

int o2::iotof::GeometryTGeo::getIOTOFChipIndex ( int  lay,
int  sta,
int  mod,
int  chip 
) const

Definition at line 152 of file GeometryTGeo.cxx.

◆ getIOTOFFirstChipIndex()

int o2::iotof::GeometryTGeo::getIOTOFFirstChipIndex ( int  lay) const

Definition at line 138 of file GeometryTGeo.cxx.

◆ getIOTOFLayer()

int o2::iotof::GeometryTGeo::getIOTOFLayer ( int  index) const

Definition at line 143 of file GeometryTGeo.cxx.

◆ getIOTOFVolPattern()

static const char * o2::iotof::GeometryTGeo::getIOTOFVolPattern ( )
inlinestatic

Definition at line 33 of file GeometryTGeo.h.

◆ getITOFChipPattern()

static const char * o2::iotof::GeometryTGeo::getITOFChipPattern ( )
inlinestatic

Definition at line 39 of file GeometryTGeo.h.

◆ getITOFLayerPattern()

static const char * o2::iotof::GeometryTGeo::getITOFLayerPattern ( )
inlinestatic

Definition at line 36 of file GeometryTGeo.h.

◆ getITOFModulePattern()

static const char * o2::iotof::GeometryTGeo::getITOFModulePattern ( )
inlinestatic

Definition at line 38 of file GeometryTGeo.h.

◆ getITOFSensorPattern()

static const char * o2::iotof::GeometryTGeo::getITOFSensorPattern ( )
inlinestatic

Definition at line 40 of file GeometryTGeo.h.

◆ getITOFStavePattern()

static const char * o2::iotof::GeometryTGeo::getITOFStavePattern ( )
inlinestatic

Definition at line 37 of file GeometryTGeo.h.

◆ getMatrixPath()

TString o2::iotof::GeometryTGeo::getMatrixPath ( int  index) const

Definition at line 168 of file GeometryTGeo.cxx.

◆ getOTOFChipPattern()

static const char * o2::iotof::GeometryTGeo::getOTOFChipPattern ( )
inlinestatic

Definition at line 46 of file GeometryTGeo.h.

◆ getOTOFLayerPattern()

static const char * o2::iotof::GeometryTGeo::getOTOFLayerPattern ( )
inlinestatic

Definition at line 43 of file GeometryTGeo.h.

◆ getOTOFModulePattern()

static const char * o2::iotof::GeometryTGeo::getOTOFModulePattern ( )
inlinestatic

Definition at line 45 of file GeometryTGeo.h.

◆ getOTOFSensorPattern()

static const char * o2::iotof::GeometryTGeo::getOTOFSensorPattern ( )
inlinestatic

Definition at line 47 of file GeometryTGeo.h.

◆ getOTOFStavePattern()

static const char * o2::iotof::GeometryTGeo::getOTOFStavePattern ( )
inlinestatic

Definition at line 44 of file GeometryTGeo.h.

◆ Instance()

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

Definition at line 289 of file GeometryTGeo.cxx.

Member Data Documentation

◆ mLastChipIndex

int o2::iotof::GeometryTGeo::mLastChipIndex[2]
protected

Definition at line 136 of file GeometryTGeo.h.

◆ mNumberOfChipsBTOF

int o2::iotof::GeometryTGeo::mNumberOfChipsBTOF
protected

Definition at line 142 of file GeometryTGeo.h.

◆ mNumberOfChipsFTOF

int o2::iotof::GeometryTGeo::mNumberOfChipsFTOF
protected

Definition at line 139 of file GeometryTGeo.h.

◆ mNumberOfChipsIOTOF

int o2::iotof::GeometryTGeo::mNumberOfChipsIOTOF[2]
protected

Definition at line 135 of file GeometryTGeo.h.

◆ mNumberOfChipsPerModuleIOTOF

int o2::iotof::GeometryTGeo::mNumberOfChipsPerModuleIOTOF[2]
protected

Definition at line 133 of file GeometryTGeo.h.

◆ mNumberOfChipsPerStaveIOTOF

int o2::iotof::GeometryTGeo::mNumberOfChipsPerStaveIOTOF[2]
protected

Definition at line 134 of file GeometryTGeo.h.

◆ mNumberOfModulesIOTOF

int o2::iotof::GeometryTGeo::mNumberOfModulesIOTOF[2]
protected

Definition at line 132 of file GeometryTGeo.h.

◆ mNumberOfStavesIOTOF

int o2::iotof::GeometryTGeo::mNumberOfStavesIOTOF[2]
protected

Definition at line 131 of file GeometryTGeo.h.

◆ sBTOFChipName

std::string o2::iotof::GeometryTGeo::sBTOFChipName = "BTOFChip"
staticprotected

Definition at line 127 of file GeometryTGeo.h.

◆ sBTOFLayerName

std::string o2::iotof::GeometryTGeo::sBTOFLayerName = "BTOFLayer"
staticprotected

Definition at line 126 of file GeometryTGeo.h.

◆ sBTOFSensorName

std::string o2::iotof::GeometryTGeo::sBTOFSensorName = "BTOFSensor"
staticprotected

Definition at line 128 of file GeometryTGeo.h.

◆ sFTOFChipName

std::string o2::iotof::GeometryTGeo::sFTOFChipName = "FTOFChip"
staticprotected

Definition at line 122 of file GeometryTGeo.h.

◆ sFTOFLayerName

std::string o2::iotof::GeometryTGeo::sFTOFLayerName = "FTOFLayer"
staticprotected

Definition at line 121 of file GeometryTGeo.h.

◆ sFTOFSensorName

std::string o2::iotof::GeometryTGeo::sFTOFSensorName = "FTOFSensor"
staticprotected

Definition at line 123 of file GeometryTGeo.h.

◆ sIOTOFVolumeName

std::string o2::iotof::GeometryTGeo::sIOTOFVolumeName = "IOTOFV"
staticprotected

Definition at line 104 of file GeometryTGeo.h.

◆ sITOFChipName

std::string o2::iotof::GeometryTGeo::sITOFChipName = "ITOFChip"
staticprotected

Definition at line 110 of file GeometryTGeo.h.

◆ sITOFLayerName

std::string o2::iotof::GeometryTGeo::sITOFLayerName = "ITOFLayer"
staticprotected

Definition at line 107 of file GeometryTGeo.h.

◆ sITOFModuleName

std::string o2::iotof::GeometryTGeo::sITOFModuleName = "ITOFModule"
staticprotected

Definition at line 109 of file GeometryTGeo.h.

◆ sITOFSensorName

std::string o2::iotof::GeometryTGeo::sITOFSensorName = "ITOFSensor"
staticprotected

Definition at line 111 of file GeometryTGeo.h.

◆ sITOFStaveName

std::string o2::iotof::GeometryTGeo::sITOFStaveName = "ITOFStave"
staticprotected

Definition at line 108 of file GeometryTGeo.h.

◆ sOTOFChipName

std::string o2::iotof::GeometryTGeo::sOTOFChipName = "OTOFChip"
staticprotected

Definition at line 117 of file GeometryTGeo.h.

◆ sOTOFLayerName

std::string o2::iotof::GeometryTGeo::sOTOFLayerName = "OTOFLayer"
staticprotected

Definition at line 114 of file GeometryTGeo.h.

◆ sOTOFModuleName

std::string o2::iotof::GeometryTGeo::sOTOFModuleName = "OTOFModule"
staticprotected

Definition at line 116 of file GeometryTGeo.h.

◆ sOTOFSensorName

std::string o2::iotof::GeometryTGeo::sOTOFSensorName = "OTOFSensor"
staticprotected

Definition at line 118 of file GeometryTGeo.h.

◆ sOTOFStaveName

std::string o2::iotof::GeometryTGeo::sOTOFStaveName = "OTOFStave"
staticprotected

Definition at line 115 of file GeometryTGeo.h.


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