Project
Loading...
Searching...
No Matches
o2::mi3::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 chargetMIDVolPattern ()
 
static const chargetMIDLayerPattern ()
 
static const chargetMIDStavePattern ()
 
static const chargetMIDModulePattern ()
 
static const chargetMIDSensorPattern ()
 
static const charcomposeSymNameMID (int d)
 
static const charcomposeSymNameLayer (const int layer)
 
static const charcomposeSymNameStave (const int layer, const int stave)
 
static const charcomposeSymNameModule (const int layer, const int stave, const int module)
 
static const charcomposeSymNameSensor (const int layer, const int stave, const int module, const int sensor)
 

Static Protected Attributes

static std::string sLayerName = "MIDLayer"
 
static std::string sVolumeName = "MIDV"
 
static std::string sStaveName = "MIDStave"
 
static std::string sModuleName = "MIDModule"
 
static std::string sSensorName = "MIDSensor"
 

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 19 of file GeometryTGeo.h.

Constructor & Destructor Documentation

◆ GeometryTGeo()

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

Definition at line 25 of file GeometryTGeo.cxx.

Member Function Documentation

◆ Build()

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

Definition at line 35 of file GeometryTGeo.cxx.

◆ composeSymNameLayer()

const char * o2::mi3::GeometryTGeo::composeSymNameLayer ( const int  layer)
static

Definition at line 61 of file GeometryTGeo.cxx.

◆ composeSymNameMID()

static const char * o2::mi3::GeometryTGeo::composeSymNameMID ( int  d)
inlinestatic

Definition at line 33 of file GeometryTGeo.h.

◆ composeSymNameModule()

const char * o2::mi3::GeometryTGeo::composeSymNameModule ( const int  layer,
const int  stave,
const int  module 
)
static

Definition at line 72 of file GeometryTGeo.cxx.

◆ composeSymNameSensor()

const char * o2::mi3::GeometryTGeo::composeSymNameSensor ( const int  layer,
const int  stave,
const int  module,
const int  sensor 
)
static

Definition at line 79 of file GeometryTGeo.cxx.

◆ composeSymNameStave()

const char * o2::mi3::GeometryTGeo::composeSymNameStave ( const int  layer,
const int  stave 
)
static

Definition at line 66 of file GeometryTGeo.cxx.

◆ fillMatrixCache()

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

Implements o2::detectors::DetMatrixCache.

Definition at line 49 of file GeometryTGeo.cxx.

◆ getMIDLayerPattern()

static const char * o2::mi3::GeometryTGeo::getMIDLayerPattern ( )
inlinestatic

Definition at line 28 of file GeometryTGeo.h.

◆ getMIDModulePattern()

static const char * o2::mi3::GeometryTGeo::getMIDModulePattern ( )
inlinestatic

Definition at line 30 of file GeometryTGeo.h.

◆ getMIDSensorPattern()

static const char * o2::mi3::GeometryTGeo::getMIDSensorPattern ( )
inlinestatic

Definition at line 31 of file GeometryTGeo.h.

◆ getMIDStavePattern()

static const char * o2::mi3::GeometryTGeo::getMIDStavePattern ( )
inlinestatic

Definition at line 29 of file GeometryTGeo.h.

◆ getMIDVolPattern()

static const char * o2::mi3::GeometryTGeo::getMIDVolPattern ( )
inlinestatic

Definition at line 27 of file GeometryTGeo.h.

◆ Instance()

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

Definition at line 53 of file GeometryTGeo.cxx.

Member Data Documentation

◆ sLayerName

std::string o2::mi3::GeometryTGeo::sLayerName = "MIDLayer"
staticprotected

Definition at line 49 of file GeometryTGeo.h.

◆ sModuleName

std::string o2::mi3::GeometryTGeo::sModuleName = "MIDModule"
staticprotected

Definition at line 52 of file GeometryTGeo.h.

◆ sSensorName

std::string o2::mi3::GeometryTGeo::sSensorName = "MIDSensor"
staticprotected

Definition at line 53 of file GeometryTGeo.h.

◆ sStaveName

std::string o2::mi3::GeometryTGeo::sStaveName = "MIDStave"
staticprotected

Definition at line 51 of file GeometryTGeo.h.

◆ sVolumeName

std::string o2::mi3::GeometryTGeo::sVolumeName = "MIDV"
staticprotected

Definition at line 50 of file GeometryTGeo.h.


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