18#ifndef ALICEO2_FT3_GEOMETRYTGEO_H_
19#define ALICEO2_FT3_GEOMETRYTGEO_H_
35 using DetMatrixCache::getMatrixL2G;
36 using DetMatrixCache::getMatrixT2GRot;
37 using DetMatrixCache::getMatrixT2L;
40 using DetMatrixCache::getMatrixT2G;
43 void Build(
int loadTrans);
50 sInstance = std::unique_ptr<GeometryTGeo>(
new GeometryTGeo(
true, 0));
52 return sInstance.get();
62 void extractChipIds(std::string
const volName,
int& direction,
int&
layer,
int& stave,
int& chip);
64 int getChipIndex(
int dir,
int disc,
int stave,
int chip)
const;
81 void Print(Option_t* opt =
"")
const;
115 static std::unique_ptr<o2::ft3::GeometryTGeo> sInstance;
Static class with identifiers, bitmasks and names for ALICE detectors.
const char * getName() const
int mSize
prebooked number of sensors
int getStaveIdxDisc(int absDisc) const
int extractNumberOfDiscs(int dir)
std::vector< float > mCacheRefXDiscs
static std::string sPassiveName
Passive material name.
int getNumberOfChips() const
static std::string sChipName
Chip name.
void extractChipIds(std::string const volName, int &direction, int &layer, int &stave, int &chip)
static const char * getFT3PassivePattern()
std::vector< int > mNumberOfChipsPerDisc
Index of first chup for each global stave.
void Build(int loadTrans)
int getNumberOfLayers() const
static const char * composeSymNameSensor(Int_t d, Int_t lr)
static std::string sLayerName
Layer name.
int getSubDetID(int) const
static const char * getFT3SensorPattern()
void Print(Option_t *opt="") const
static std::string sVolumeName
Mother volume name.
void fillMatrixCache(int mask)
int getChipOnStave(int chipIdx) const
static const char * getFT3ChipPattern()
std::vector< int > mNumberOfStavesPerDisc
int getNumberOfStaves(int absDisc) const
static std::string sSensorName
Sensor name.
int getChipIdxStave(int absStave) const
static const char * composeSymNameLayer(Int_t d, Int_t lr)
int getStave(int chipIdx) const
static void adopt(GeometryTGeo *raw)
int extractNumberOfChips(int dir, int layer)
bool isOwner() const
Exract FT3 parameters from TGeo.
std::vector< int > mChipIdxStave
Index of first global stave Id for each disc.
static const char * composeSymNameFT3(Int_t d)
static std::string sInnerVolumeName
Mother inner volume name.
std::vector< float > mCacheRefAlphaDiscs
cache for X of ML and OT
std::vector< int > mStaveIdxDisc
TODO; in principle redundant?
static const char * getFT3LayerPattern()
static const char * composeSymNameChip(Int_t d, Int_t lr)
int extractChipId(std::string const volName)
std::vector< int > mNumberOfDiscs
cache for sensor ref alpha ML and OT
void extractStaveChipId(std::string const volName, int &stave, int &chip)
static GeometryTGeo * Instance()
int getLayer(int chipIdx) const
static const char * getFT3VolPattern()
int getChipIndex(int dir, int disc, int stave, int chip) const
std::string getMatrixPath(int direction, int layer, int stave, int chip) const
static const char * getFT3InnerVolPattern()
GLenum GLuint GLint GLint layer
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...