Project
Loading...
Searching...
No Matches
o2::its3::ChipSimResponse Class Reference

#include <ChipSimResponse.h>

Inherits o2::itsmft::AlpideSimResponse.

Public Member Functions

 ChipSimResponse ()=default
 
 ChipSimResponse (const ChipSimResponse &other)=default
 
float getRespCentreDep () const
 
void computeCentreFromData ()
 
void initData (int tableNumber, std::string dataPath, const bool quiet=true)
 
- Public Member Functions inherited from o2::itsmft::AlpideSimResponse
 AlpideSimResponse ()=default
 format to read the data for given Col,Row
 
 ~AlpideSimResponse ()=default
 
void initData (int tableNumber, std::string dataPath, const bool quiet=true)
 
bool getResponse (float vRow, float vCol, float cDepth, AlpideRespSimMat &dest) const
 
const AlpideRespSimMatgetResponse (float vRow, float vCol, float vDepth, bool &flipRow, bool &flipCol) const
 
const AlpideRespSimMatgetResponse (float vRow, float vCol, float vDepth, bool &flipRow, bool &flipCol, float rowMax, float colMax) const
 
int getNBinCol () const
 
int getNBinRow () const
 
int getNBinDepth () const
 
float getColMax () const
 
float getRowMax () const
 
float getDepthMin () const
 
float getDepthMax () const
 
float getDepthShift () const
 
float getStepCol () const
 
float getStepRow () const
 
float getStepDepth () const
 
void setColMax (float v) noexcept
 
void setRowMax (float v) noexcept
 
void setDataPath (const std::string pth)
 
void setGridColName (const std::string nm)
 
void setGridRowName (const std::string nm)
 
void setColRowDataFmt (const std::string nm)
 
const std::string & getDataPath () const
 
const std::string & getGridColName () const
 
const std::string & getGridRowName () const
 
const std::string & getColRowDataFmt () const
 
void print () const
 
 ClassDefNV (AlpideSimResponse, 2)
 

Additional Inherited Members

- Static Public Member Functions inherited from o2::itsmft::AlpideSimResponse
static int constexpr getNPix ()
 
- Protected Attributes inherited from o2::itsmft::AlpideSimResponse
int mNBinCol = 0
 
int mNBinRow = 0
 number of bins in X(col direction)
 
int mNBinDpt = 0
 number of bins in Y(row direction)
 
int mMaxBinCol = 0
 number of bins in Z(sensor dept)
 
int mMaxBinRow = 0
 max allowed Xb (to avoid subtraction)
 
float mColMax = SegmentationAlpide::PitchCol / 2.f
 max allowed Yb (to avoid subtraction)
 
float mRowMax = SegmentationAlpide::PitchRow / 2.f
 upper boundary of Col
 
float mDptMin = 0.f
 upper boundary of Row
 
float mDptMax = 0.f
 lower boundary of Dpt
 
float mDptShift = 0.f
 upper boundary of Dpt
 
float mStepInvCol = 0
 shift of the depth center wrt 0
 
float mStepInvRow = 0
 inverse step of the Col grid
 
float mStepInvDpt = 0
 inverse step of the Row grid
 
std::vector< AlpideRespSimMatmData
 inverse step of the Dpt grid
 
std::string mDataPath
 path to look for data file
 
std::string mGridColName = "grid_list_x.txt"
 
std::string mGridRowName = "grid_list_y.txt"
 name of the file with grid in Col
 
std::string mColRowDataFmt = "data_pixels_%.2f_%.2f.txt"
 name of the file with grid in Row
 

Detailed Description

Definition at line 22 of file ChipSimResponse.h.

Constructor & Destructor Documentation

◆ ChipSimResponse() [1/2]

o2::its3::ChipSimResponse::ChipSimResponse ( )
default

◆ ChipSimResponse() [2/2]

o2::its3::ChipSimResponse::ChipSimResponse ( const ChipSimResponse other)
default

Member Function Documentation

◆ computeCentreFromData()

void ChipSimResponse::computeCentreFromData ( )

Definition at line 26 of file ChipSimResponse.cxx.

◆ getRespCentreDep()

float o2::its3::ChipSimResponse::getRespCentreDep ( ) const
inline

Definition at line 28 of file ChipSimResponse.h.

◆ initData()

void ChipSimResponse::initData ( int  tableNumber,
std::string  dataPath,
const bool  quiet = true 
)

Definition at line 20 of file ChipSimResponse.cxx.


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