Project
Loading...
Searching...
No Matches
o2::ecal::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
 
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 const char * getECalVolPattern ()
 
static const char * getECalSectorPattern ()
 
static const char * getECalModulePattern ()
 
static const char * composeSymNameECal ()
 
static const char * composeSymNameSector (int s)
 
static const char * composeSymNameModule (int s, int m)
 

Static Protected Attributes

static std::string sVolumeName = "ECALV"
 
static std::string sSectorName = "ECALSector"
 
static std::string sModuleName = "ECALModule"
 

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

Definition at line 26 of file GeometryTGeo.h.

Constructor & Destructor Documentation

◆ GeometryTGeo()

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

Definition at line 30 of file GeometryTGeo.cxx.

Member Function Documentation

◆ Build()

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

Definition at line 40 of file GeometryTGeo.cxx.

◆ composeSymNameECal()

static const char * o2::ecal::GeometryTGeo::composeSymNameECal ( )
inlinestatic

Definition at line 38 of file GeometryTGeo.h.

◆ composeSymNameModule()

const char * o2::ecal::GeometryTGeo::composeSymNameModule ( int  s,
int  m 
)
static

Definition at line 71 of file GeometryTGeo.cxx.

◆ composeSymNameSector()

const char * o2::ecal::GeometryTGeo::composeSymNameSector ( int  s)
static

Definition at line 66 of file GeometryTGeo.cxx.

◆ fillMatrixCache()

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

Implements o2::detectors::DetMatrixCache.

Definition at line 54 of file GeometryTGeo.cxx.

◆ getECalModulePattern()

static const char * o2::ecal::GeometryTGeo::getECalModulePattern ( )
inlinestatic

Definition at line 36 of file GeometryTGeo.h.

◆ getECalSectorPattern()

static const char * o2::ecal::GeometryTGeo::getECalSectorPattern ( )
inlinestatic

Definition at line 35 of file GeometryTGeo.h.

◆ getECalVolPattern()

static const char * o2::ecal::GeometryTGeo::getECalVolPattern ( )
inlinestatic

Definition at line 34 of file GeometryTGeo.h.

◆ Instance()

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

Definition at line 58 of file GeometryTGeo.cxx.

Member Data Documentation

◆ sModuleName

std::string o2::ecal::GeometryTGeo::sModuleName = "ECALModule"
staticprotected

Definition at line 48 of file GeometryTGeo.h.

◆ sSectorName

std::string o2::ecal::GeometryTGeo::sSectorName = "ECALSector"
staticprotected

Definition at line 47 of file GeometryTGeo.h.

◆ sVolumeName

std::string o2::ecal::GeometryTGeo::sVolumeName = "ECALV"
staticprotected

Definition at line 46 of file GeometryTGeo.h.


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