![]() |
Project
|
#include <GeometryTGeo.h>
Inherits o2::itsmft::GeometryTGeo.
Public Types | |
typedef o2::math_utils::Transform3D | Mat3D |
![]() | |
typedef o2::math_utils::Transform3D | Mat3D |
typedef o2::math_utils::Rotation2Df_t | Rot2D |
Public Member Functions | |
GeometryTGeo (bool build=kFALSE, int loadTrans=0) | |
~GeometryTGeo () override=default | |
Default destructor. | |
GeometryTGeo (const GeometryTGeo &src)=delete | |
GeometryTGeo & | operator= (const GeometryTGeo &geom)=delete |
void | fillMatrixCache (int mask) override |
void | Build (int loadTrans=0) override |
Exract FCT parameters from TGeo. | |
void | Print (Option_t *opt="") const |
![]() | |
GeometryTGeo ()=default | |
GeometryTGeo (const GeometryTGeo &src)=delete | |
GeometryTGeo & | operator= (const GeometryTGeo &geom)=delete |
GeometryTGeo (const o2::detectors::DetID &detid) | |
~GeometryTGeo () override=default | |
Int_t | getNumberOfChips () const |
bool | isOwner () const |
void | setOwner (bool v) |
![]() | |
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 void | adopt (GeometryTGeo *raw) |
static const char * | getFCTVolPattern () |
static const char * | getFCTInnerVolPattern () |
static const char * | getFCTLayerPattern () |
static const char * | getFCTChipPattern () |
static const char * | getFCTSensorPattern () |
static const char * | composeSymNameFCT (Int_t d) |
static const char * | composeSymNameLayer (Int_t d, Int_t lr) |
static const char * | composeSymNameChip (Int_t d, Int_t lr) |
static const char * | composeSymNameSensor (Int_t d, Int_t lr) |
Protected Attributes | |
Int_t | mNumberOfLayers |
number of layers | |
![]() | |
bool | mOwner = true |
Static Protected Attributes | |
static constexpr int | MAXLAYERS = 15 |
max number of active layers | |
static std::string | sInnerVolumeName = "FCTInner" |
Mother inner volume name. | |
static std::string | sVolumeName = "FCTV" |
Mother volume name. | |
static std::string | sLayerName = "FCTLayer" |
Layer name. | |
static std::string | sChipName = "FCTChip" |
Chip name. | |
static std::string | sSensorName = "FCTSensor" |
Sensor name. | |
Additional Inherited Members | |
![]() | |
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) | |
![]() | |
ClassDefOverride (GeometryTGeo, 1) | |
is it owned by the singleton? | |
GeometryTGeo is a simple interface class to TGeoManager. It is used in the simulation in order to query the TGeo FCT geometry. RS: In order to preserve the static character of the class but make it dynamically access geometry, we need to check in every method if the structures are initialized. To be converted to singleton at later stage.
Definition at line 44 of file GeometryTGeo.h.
Definition at line 47 of file GeometryTGeo.h.
GeometryTGeo::GeometryTGeo | ( | bool | build = kFALSE , |
int | loadTrans = 0 |
||
) |
Definition at line 59 of file GeometryTGeo.cxx.
|
overridedefault |
Default destructor.
|
delete |
|
static |
Exract FCT parameters from TGeo.
Implements o2::itsmft::GeometryTGeo.
Definition at line 74 of file GeometryTGeo.cxx.
|
static |
Definition at line 96 of file GeometryTGeo.cxx.
|
inlinestatic |
Definition at line 98 of file GeometryTGeo.h.
|
static |
Definition at line 90 of file GeometryTGeo.cxx.
|
static |
Definition at line 102 of file GeometryTGeo.cxx.
Implements o2::detectors::DetMatrixCache.
Definition at line 108 of file GeometryTGeo.cxx.
|
inlinestatic |
Definition at line 95 of file GeometryTGeo.h.
|
inlinestatic |
Definition at line 93 of file GeometryTGeo.h.
|
inlinestatic |
Definition at line 94 of file GeometryTGeo.h.
|
inlinestatic |
Definition at line 96 of file GeometryTGeo.h.
|
inlinestatic |
Definition at line 92 of file GeometryTGeo.h.
|
inlinestatic |
Definition at line 55 of file GeometryTGeo.h.
|
delete |
void o2::fct::GeometryTGeo::Print | ( | Option_t * | opt = "" | ) | const |
|
staticconstexprprotected |
max number of active layers
Definition at line 104 of file GeometryTGeo.h.
|
protected |
number of layers
Definition at line 106 of file GeometryTGeo.h.
|
staticprotected |
|
staticprotected |
Mother inner volume name.
Definition at line 107 of file GeometryTGeo.h.
|
staticprotected |
Layer name.
Definition at line 109 of file GeometryTGeo.h.
|
staticprotected |
Sensor name.
Definition at line 112 of file GeometryTGeo.h.
|
staticprotected |
Mother volume name.
Definition at line 108 of file GeometryTGeo.h.