Project
Loading...
Searching...
No Matches
o2::iotof::Segmentation Class Reference

#include <Segmentation.h>

Public Member Functions

 ~Segmentation ()=default
 
void configChip (const int nCols, const int nRows, const float pitchCol, const float pitchRow, const float passiveEdgeReadOut, const float passiveEdgeTop, const float passiveEdgeSide, const float sensorLayerThicknessEff, const float sensorLayerThickness, const int subDetectorID)
 
void configChip (const ChipSpecifics &specsConfig, const int subDetectorID)
 
bool localToDetector (float x, float z, int &iRow, int &iCol, const int subDetectorID)
 
void localToDetectorUnchecked (float xRow, float zCol, int &iRow, int &iCol, const int subDetectorID)
 same but w/o check for row/column range
 
template<typename T = float, typename L = float>
void detectorToLocalUnchecked (L row, L col, T &xRow, T &zCol, const int subDetectorID)
 
template<typename T = float, typename L = float>
void detectorToLocalUnchecked (L row, L col, math_utils::Point3D< T > &loc, const int subDetectorID)
 
template<typename T = float, typename L = float>
void detectorToLocalUnchecked (L row, L col, std::array< T, 3 > &loc, const int subDetectorID)
 
template<typename T = float, typename L = float>
bool detectorToLocal (L row, L col, T &xRow, T &zCol, const int subDetectorID)
 
template<typename T = float, typename L = float>
bool detectorToLocal (L row, L col, math_utils::Point3D< T > &loc, const int subDetectorID)
 
template<typename T = float, typename L = float>
bool detectorToLocal (L row, L col, std::array< T, 3 > &loc, const int subDetectorID)
 
float getFirstRowCoordinate (const int subDetectorID)
 
float getFirstColCoordinate (const int subDetectorID)
 
void print ()
 
 ClassDefNV (Segmentation, 1)
 

Static Public Member Functions

static SegmentationInstance ()
 

Public Attributes

ChipSpecifics mITofSpecsConfig
 
ChipSpecifics mOTofSpecsConfig
 

Detailed Description

Segmentation and response for pixels in inner and outer TOF of the ALICE 3 apparatus Questions to solve:

Definition at line 31 of file Segmentation.h.

Constructor & Destructor Documentation

◆ ~Segmentation()

o2::iotof::Segmentation::~Segmentation ( )
default

Member Function Documentation

◆ ClassDefNV()

o2::iotof::Segmentation::ClassDefNV ( Segmentation  ,
 
)

◆ configChip() [1/2]

void o2::iotof::Segmentation::configChip ( const ChipSpecifics specsConfig,
const int  subDetectorID 
)

Definition at line 61 of file Segmentation.cxx.

◆ configChip() [2/2]

void o2::iotof::Segmentation::configChip ( const int  nCols,
const int  nRows,
const float  pitchCol,
const float  pitchRow,
const float  passiveEdgeReadOut,
const float  passiveEdgeTop,
const float  passiveEdgeSide,
const float  sensorLayerThicknessEff,
const float  sensorLayerThickness,
const int  subDetectorID 
)

Definition at line 49 of file Segmentation.cxx.

◆ detectorToLocal() [1/3]

template<typename T = float, typename L = float>
bool o2::iotof::Segmentation::detectorToLocal ( row,
col,
math_utils::Point3D< T > &  loc,
const int  subDetectorID 
)
inline

Definition at line 127 of file Segmentation.h.

◆ detectorToLocal() [2/3]

template<typename T = float, typename L = float>
bool o2::iotof::Segmentation::detectorToLocal ( row,
col,
std::array< T, 3 > &  loc,
const int  subDetectorID 
)
inline

Definition at line 141 of file Segmentation.h.

◆ detectorToLocal() [3/3]

template<typename T = float, typename L = float>
bool o2::iotof::Segmentation::detectorToLocal ( row,
col,
T &  xRow,
T &  zCol,
const int  subDetectorID 
)
inline

Definition at line 112 of file Segmentation.h.

◆ detectorToLocalUnchecked() [1/3]

template<typename T = float, typename L = float>
void o2::iotof::Segmentation::detectorToLocalUnchecked ( row,
col,
math_utils::Point3D< T > &  loc,
const int  subDetectorID 
)
inline

Definition at line 87 of file Segmentation.h.

◆ detectorToLocalUnchecked() [2/3]

template<typename T = float, typename L = float>
void o2::iotof::Segmentation::detectorToLocalUnchecked ( row,
col,
std::array< T, 3 > &  loc,
const int  subDetectorID 
)
inline

Definition at line 97 of file Segmentation.h.

◆ detectorToLocalUnchecked() [3/3]

template<typename T = float, typename L = float>
void o2::iotof::Segmentation::detectorToLocalUnchecked ( row,
col,
T &  xRow,
T &  zCol,
const int  subDetectorID 
)
inline

Transformation from Detector cell coordiantes to Geant detector centered local coordinates (cm)

Parameters
intiRow Detector x cell coordinate. Has the range 0 <= iRow < mNumberOfRows
intiCol Detector z cell coordinate. Has the range 0 <= iCol < mNumberOfColumns
floatx Detector local coordinate x in cm with respect to the center of the sensitive volume.
floatz Detector local coordinate z in cm with respect to the center of the sensitive volulme. If iRow and or iCol is outside of the segmentation range a value of -0.5*Dx() or -0.5*Dz() is returned.

Definition at line 76 of file Segmentation.h.

◆ getFirstColCoordinate()

float o2::iotof::Segmentation::getFirstColCoordinate ( const int  subDetectorID)
inline

Definition at line 160 of file Segmentation.h.

◆ getFirstRowCoordinate()

float o2::iotof::Segmentation::getFirstRowCoordinate ( const int  subDetectorID)
inline

Definition at line 155 of file Segmentation.h.

◆ Instance()

Segmentation * o2::iotof::Segmentation::Instance ( )
static

Definition at line 27 of file Segmentation.cxx.

◆ localToDetector()

bool o2::iotof::Segmentation::localToDetector ( float  x,
float  z,
int iRow,
int iCol,
const int  subDetectorID 
)
inline

Transformation from Geant detector centered local coordinates (cm) to Pixel cell numbers iRow and iCol. Returns kTRUE if point x,z is inside sensitive volume, kFALSE otherwise. A value of -1 for iRow or iCol indicates that this point is outside of the detector segmentation as defined.

Parameters
floatx Detector local coordinate x in cm with respect to the center of the sensitive volume.
floatz Detector local coordinate z in cm with respect to the center of the sensitive volulme.
intiRow Detector x cell coordinate. Has the range 0 <= iRow < mNumberOfRows
intiCol Detector z cell coordinate. Has the range 0 <= iCol < mNumberOfColumns

Definition at line 193 of file Segmentation.h.

◆ localToDetectorUnchecked()

void o2::iotof::Segmentation::localToDetectorUnchecked ( float  xRow,
float  zCol,
int iRow,
int iCol,
const int  subDetectorID 
)
inline

same but w/o check for row/column range

Definition at line 172 of file Segmentation.h.

◆ print()

void o2::iotof::Segmentation::print ( )

Definition at line 72 of file Segmentation.cxx.

Member Data Documentation

◆ mITofSpecsConfig

ChipSpecifics o2::iotof::Segmentation::mITofSpecsConfig

Definition at line 38 of file Segmentation.h.

◆ mOTofSpecsConfig

ChipSpecifics o2::iotof::Segmentation::mOTofSpecsConfig

Definition at line 39 of file Segmentation.h.


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