Project
Loading...
Searching...
No Matches
o2::trd::Geometry Class Reference

#include <Geometry.h>

Inherits o2::trd::GeometryBase, and o2::detectors::DetMatrixCacheIndirect.

Public Member Functions

 ~Geometry () override=default
 
void createGeometry (std::vector< int > const &idtmed)
 
void addAlignableVolumes () const
 
bool createClusterMatrixArray ()
 
void createPadPlaneArray ()
 
bool rotateBack (int det, const float *const loc, float *glb) const
 
bool chamberInGeometry (int det) const
 
std::vector< std::string > const & getSensitiveTRDVolumes () const
 
- Public Member Functions inherited from o2::trd::GeometryBase
 ~GeometryBase ()=default
 
 GPUd () int isVersion()
 
 GPUd () bool isHole(int la
 
 GPUd () bool isOnBoundary(int det
 
 GPUd () void setSMstatus(int sm
 
 GPUd () const PadPlane *getPadPlane(int layer
 
 GPUd () const PadPlane *getPadPlane(int det) const
 
 GPUd () int getRowMax(int layer
 
 GPUd () int getColMax(int layer) const
 
 GPUd () float getRow0(int layer
 
 GPUd () float getCol0(int layer) const
 
 GPUd () float getRowPos(int layer
 
 GPUd () float getRowSize(int layer
 
 GPUd () float getRow0(int layer
 
 GPUd () float getRowEnd(int layer
 
- Public Member Functions inherited from o2::detectors::DetMatrixCacheIndirect
 DetMatrixCacheIndirect ()=default
 
 DetMatrixCacheIndirect (const o2::detectors::DetID &id)
 
 ~DetMatrixCacheIndirect () override=default
 
 DetMatrixCacheIndirect (const DetMatrixCacheIndirect &src)=delete
 
DetMatrixCacheIndirect & operator= (const DetMatrixCacheIndirect &geom)=delete
 
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
 
int getIndirectSize () const
 
bool isMatrixAvailable (int sensID) const
 

Static Public Member Functions

static Geometry * instance ()
 
- Static Public Member Functions inherited from o2::trd::GeometryBase
static constexpr GPUd () int getSector(int det)
 
static constexpr GPUd () double getTime0(int layer)
 
static constexpr GPUd () double getXtrdBeg()
 
static constexpr GPUd () double getXtrdEnd()
 
static constexpr GPUd () double getChamberWidth(int layer)
 
static constexpr GPUd () double getChamberLength(int layer
 
static constexpr GPUd () double getAlpha()
 
static constexpr GPUd () double cheight()
 
static constexpr GPUd () double cheightSV()
 
static constexpr GPUd () double cspace()
 
static constexpr GPUd () double craHght()
 
static constexpr GPUd () double cdrHght()
 
static constexpr GPUd () double camHght()
 
static constexpr GPUd () double croHght()
 
static constexpr GPUd () double csvHght()
 
static constexpr GPUd () double croWid()
 
static constexpr GPUd () double anodePos()
 
static constexpr GPUd () double myThick()
 
static constexpr GPUd () double drThick()
 
static constexpr GPUd () double amThick()
 
static constexpr GPUd () double drZpos()
 
static constexpr GPUd () double rpadW()
 
static constexpr GPUd () double cpadW()
 
static constexpr GPUd () double cwidcha()
 
static constexpr GPUd () int MCMmax()
 
static constexpr GPUd () int MCMrow()
 
static constexpr GPUd () int ROBmaxC0()
 
static constexpr GPUd () int ROBmaxC1()
 
static constexpr GPUd () int ADCmax()
 
static constexpr GPUd () int TBmax()
 
static constexpr GPUd () int padmax()
 
static constexpr GPUd () int colmax()
 
static constexpr GPUd () int rowmaxC0()
 
static constexpr GPUd () int rowmaxC1()
 

Protected Member Functions

void fillMatrixCache (int mask) override
 
- Protected Member Functions inherited from o2::trd::GeometryBase
 GeometryBase ()=default
 
 ClassDefNV (GeometryBase, 1)
 
- Protected Member Functions inherited from o2::detectors::DetMatrixCacheIndirect
void setSize (int s)=delete
 
void setSize (int size, int sizeIndirect)
 
void setMatrixT2L (const Mat3D &matrix, int sensID)
 
void setMatrixT2G (const Mat3D &matrix, int sensID)
 
void setMatrixL2G (const Mat3D &matrix, int sensID)
 
void setMatrixT2GRot (const Rot2D &matrix, int sensID)
 
void useT2LCache ()
 
void useT2GCache ()
 
void useL2GCache ()
 
void useT2GRotCache ()
 

Additional Inherited Members

- Public Types inherited from o2::detectors::DetMatrixCacheIndirect
typedef o2::math_utils::Transform3D Mat3D
 
typedef o2::math_utils::Rotation2Df_t Rot2D
 
- Public Attributes inherited from o2::trd::GeometryBase
int st
 
int int se const { return (((se == 13) || (se == 14) || (se == 15)) && (st == 2))
 
float y
 
float float z
 
float float float eps = 0.5) const
 
bool status
 
int stack const { return &mPadPlanes[getDetectorSec(layer, stack)]
 
int stack { return mPadPlanes[getDetectorSec(layer, stack)].getRow0()
 
int int const { return getPadPlane(layer, stack)->getNrows()
 
int int row { return mPadPlanes[getDetectorSec(layer, stack)].getRowPos(row)
 
static constexpr int stack { return CLENGTH[layer][stack]
 
- Static Protected Member Functions inherited from o2::trd::GeometryBase
static GPUglobalconstexpr () double TLENGTH
 Total length of the TRD mother volume.
 
static GPUglobalconstexpr () double SHEIGHT
 Height of the supermodule.
 
static GPUglobalconstexpr () double SWIDTH1
 Lower width of the supermodule.
 
static GPUglobalconstexpr () double SWIDTH2
 Upper width of the supermodule.
 
static GPUglobalconstexpr () double SLENGTH
 Length of the supermodule.
 
static GPUglobalconstexpr () double FLENGTH
 
static GPUglobalconstexpr () double SMPLTT=0.2
 Thickness of the super module side plates.
 
static GPUglobalconstexpr () double VSPACE
 Vertical spacing of the chambers.
 
static GPUglobalconstexpr () double HSPACE
 Horizontal spacing of the chambers.
 
static GPUglobalconstexpr () double VROCSM
 Radial distance of the first ROC to the outer plates of the SM.
 
static GPUglobalconstexpr () double CRAH
 Height of the radiator part of the chambers.
 
static GPUglobalconstexpr () double CDRH
 Height of the drift region of the chambers.
 
static GPUglobalconstexpr () double CAMH=0.7
 Height of the amplification region of the chambers.
 
static GPUglobalconstexpr () double CROH
 Height of the readout of the chambers.
 
static GPUglobalconstexpr () double CROW=0.9
 Additional width of the readout chamber frames.
 
static GPUglobalconstexpr () double CSVH
 Height of the services on top of the chambers.
 
static GPUglobalconstexpr () double CH
 Total height of the chambers (w/o services)
 
static GPUglobalconstexpr () double CHSV
 Total height of the chambers (with services)
 
static GPUglobalconstexpr () double ANODEPOS
 
static GPUglobalconstexpr () double CALT=0.4
 Thicknesses of different parts of the chamber frame Lower aluminum frame.
 
static GPUglobalconstexpr () double CCLST=0.21
 Thickness of the lower Wacosit frame sides.
 
static GPUglobalconstexpr () double CCLFT
 Thickness of the lower Wacosit frame front.
 
static GPUglobalconstexpr () double CGLT=0.25
 Thichness of the glue around the radiator.
 
static GPUglobalconstexpr () double CCUTA
 Upper Wacosit frame around amplification region.
 
static GPUglobalconstexpr () double CCUTB=0.8
 Thickness of the upper Wacosit frame around amp. region.
 
static GPUglobalconstexpr () double CAUT
 Al frame of back panel.
 
static GPUglobalconstexpr () double CALW
 Width of additional aluminum ledge on lower frame.
 
static GPUglobalconstexpr () double CALH=0.4
 Height of additional aluminum ledge on lower frame.
 
static GPUglobalconstexpr () double CALWMOD=0.4
 Width of additional aluminum ledge on lower frame.
 
static GPUglobalconstexpr () double CALHMOD
 Height of additional aluminum ledge on lower frame.
 
static GPUglobalconstexpr () double CWSW
 Width of additional wacosit ledge on lower frame.
 
static GPUglobalconstexpr () double CWSH=0.3
 Height of additional wacosit ledge on lower frame.
 
static GPUglobalconstexpr () double CPADW=0.0
 
static GPUglobalconstexpr () double RPADW
 >Difference of outer chamber width and pad plane width
 
static GPUglobalconstexpr () double DRTHICK
 Thickness of the drift region.
 
static GPUglobalconstexpr () double AMTHICK
 Thickness of the amplification region.
 
static GPUglobalconstexpr () double XETHICK
 Thickness of the gas volume.
 
static GPUglobalconstexpr () double WRTHICK=0.00011
 Thickness of the wire planes.
 
static GPUglobalconstexpr () double RMYTHICK=0.0015
 Thickness of the mylar layers in the radiator.
 
static GPUglobalconstexpr () double RCBTHICK=0.0055
 Thickness of the carbon layers in the radiator.
 
static GPUglobalconstexpr () double RGLTHICK=0.0065
 Thickness of the glue layers in the radiator.
 
static GPUglobalconstexpr () double RRHTHICK=0.8
 Thickness of the rohacell layers in the radiator.
 
static GPUglobalconstexpr () double RFBTHICK
 Thickness of the fiber layers in the radiator.
 
static GPUglobalconstexpr () double PPDTHICK=0.0025
 Thickness of copper of the pad plane.
 
static GPUglobalconstexpr () double PPPTHICK=0.0356
 Thickness of PCB board of the pad plane.
 
static GPUglobalconstexpr () double PGLTHICK=0.1428
 Thickness of the glue layer.
 
static GPUglobalconstexpr () double PCBTHICK=0.019
 Thickness of the carbon layers.
 
static GPUglobalconstexpr () double PPCTHICK=0.0486
 Thickness of the PCB readout boards.
 
static GPUglobalconstexpr () double PRBTHICK=0.0057
 Thickness of the PCB copper layers.
 
static GPUglobalconstexpr () double PELTHICK=0.0029
 Thickness of all other electronics components (caps, etc.)
 
static GPUglobalconstexpr () double PHCTHICK
 Thickness of the honeycomb support structure.
 
static GPUglobalconstexpr () double DRZPOS
 Position of the drift region.
 
static GPUglobalconstexpr () double AMZPOS=0.0
 Position of the amplification region.
 
static GPUglobalconstexpr () double WRZPOSA=0.0
 Position of the wire planes.
 
static GPUglobalconstexpr () double WRZPOSB
 Position of the wire planes.
 
static GPUglobalconstexpr () double CALZPOS=0.3
 Position of the additional aluminum ledges.
 
static GPUglobalconstexpr () int MCMMAX
 Maximum number of MCMs per ROB.
 
static GPUglobalconstexpr () int MCMROW
 Maximum number of MCMs per ROB Row.
 
static GPUglobalconstexpr () int ROBMAXC0
 Maximum number of ROBs per C0 chamber.
 
static GPUglobalconstexpr () int ROBMAXC1
 Maximum number of ROBs per C1 chamber.
 
static GPUglobalconstexpr () int ADCMAX
 Maximum number of ADC channels per MCM.
 
static GPUglobalconstexpr () int TBMAX
 Maximum number of Time bins.
 
static GPUglobalconstexpr () int PADMAX
 Maximum number of pads per MCM.
 
static GPUglobalconstexpr () int COLMAX
 Maximum number of pads per padplane row.
 
static GPUglobalconstexpr () int ROWMAXC0
 Maximum number of Rows per C0 chamber.
 
static GPUglobalconstexpr () int ROWMAXC1
 Maximum number of Rows per C1 chamber.
 
static GPUglobalconstexpr () double TIME0BASE
 Base value for calculation of Time-position of pad 0.
 
static GPUglobalconstexpr () double TIME0[6]
 
static GPUglobalconstexpr () double XTRDBEG
 X-coordinate in tracking system of begin of TRD mother volume.
 
static GPUglobalconstexpr () double XTRDEND
 X-coordinate in tracking system of end of TRD mother volume.
 
static GPUglobalconstexpr () double CWIDTH[constants
 
static GPUglobalconstexpr () double CLENGTH[constants
 
- Protected Attributes inherited from o2::trd::GeometryBase
PadPlane mPadPlanes [constants::NLAYER *constants::NSTACK]
 
int mSMStatus = 0x3ffff
 

Detailed Description

Definition at line 28 of file Geometry.h.

Constructor & Destructor Documentation

◆ ~Geometry()

o2::trd::Geometry::~Geometry ( )
overridedefault

Member Function Documentation

◆ addAlignableVolumes()

void Geometry::addAlignableVolumes ( ) const

Definition at line 2669 of file Geometry.cxx.

◆ chamberInGeometry()

bool Geometry::chamberInGeometry ( int  det) const

Definition at line 2789 of file Geometry.cxx.

◆ createClusterMatrixArray()

bool Geometry::createClusterMatrixArray ( )

Definition at line 2769 of file Geometry.cxx.

◆ createGeometry()

void Geometry::createGeometry ( std::vector< int > const &  idtmed)

Definition at line 258 of file Geometry.cxx.

◆ createPadPlaneArray()

void Geometry::createPadPlaneArray ( )

Definition at line 55 of file Geometry.cxx.

◆ fillMatrixCache()

void Geometry::fillMatrixCache ( int  mask)
overrideprotectedvirtual

Implements o2::detectors::DetMatrixCache.

Definition at line 2577 of file Geometry.cxx.

◆ getSensitiveTRDVolumes()

std::vector< std::string > const & o2::trd::Geometry::getSensitiveTRDVolumes ( ) const
inline

Definition at line 46 of file Geometry.h.

◆ instance()

static Geometry * o2::trd::Geometry::instance ( )
inlinestatic

Definition at line 33 of file Geometry.h.

◆ rotateBack()

bool Geometry::rotateBack ( int  det,
const float *const  loc,
float *  glb 
) const

Definition at line 37 of file Geometry.cxx.


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