Project
Loading...
Searching...
No Matches
o2::itsmft::AlpideSimResponse Class Reference

#include <AlpideSimResponse.h>

Inherited by o2::its3::ChipSimResponse.

Public Member Functions

 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)
 

Static Public Member Functions

static int constexpr getNPix ()
 

Protected Attributes

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 85 of file AlpideSimResponse.h.

Constructor & Destructor Documentation

◆ AlpideSimResponse()

o2::itsmft::AlpideSimResponse::AlpideSimResponse ( )
default

format to read the data for given Col,Row

◆ ~AlpideSimResponse()

o2::itsmft::AlpideSimResponse::~AlpideSimResponse ( )
default

Member Function Documentation

◆ ClassDefNV()

o2::itsmft::AlpideSimResponse::ClassDefNV ( AlpideSimResponse  ,
 
)

◆ getColMax()

float o2::itsmft::AlpideSimResponse::getColMax ( ) const
inline

Definition at line 128 of file AlpideSimResponse.h.

◆ getColRowDataFmt()

const std::string & o2::itsmft::AlpideSimResponse::getColRowDataFmt ( ) const
inline

Definition at line 145 of file AlpideSimResponse.h.

◆ getDataPath()

const std::string & o2::itsmft::AlpideSimResponse::getDataPath ( ) const
inline

Definition at line 142 of file AlpideSimResponse.h.

◆ getDepthMax()

float o2::itsmft::AlpideSimResponse::getDepthMax ( ) const
inline

Definition at line 131 of file AlpideSimResponse.h.

◆ getDepthMin()

float o2::itsmft::AlpideSimResponse::getDepthMin ( ) const
inline

Definition at line 130 of file AlpideSimResponse.h.

◆ getDepthShift()

float o2::itsmft::AlpideSimResponse::getDepthShift ( ) const
inline

Definition at line 132 of file AlpideSimResponse.h.

◆ getGridColName()

const std::string & o2::itsmft::AlpideSimResponse::getGridColName ( ) const
inline

Definition at line 143 of file AlpideSimResponse.h.

◆ getGridRowName()

const std::string & o2::itsmft::AlpideSimResponse::getGridRowName ( ) const
inline

Definition at line 144 of file AlpideSimResponse.h.

◆ getNBinCol()

int o2::itsmft::AlpideSimResponse::getNBinCol ( ) const
inline

Definition at line 125 of file AlpideSimResponse.h.

◆ getNBinDepth()

int o2::itsmft::AlpideSimResponse::getNBinDepth ( ) const
inline

Definition at line 127 of file AlpideSimResponse.h.

◆ getNBinRow()

int o2::itsmft::AlpideSimResponse::getNBinRow ( ) const
inline

Definition at line 126 of file AlpideSimResponse.h.

◆ getNPix()

static int constexpr o2::itsmft::AlpideSimResponse::getNPix ( )
inlinestaticconstexpr

Definition at line 124 of file AlpideSimResponse.h.

◆ getResponse() [1/3]

bool AlpideSimResponse::getResponse ( float  vRow,
float  vCol,
float  cDepth,
AlpideRespSimMat dest 
) const

Definition at line 217 of file AlpideSimResponse.cxx.

◆ getResponse() [2/3]

const AlpideRespSimMat * AlpideSimResponse::getResponse ( float  vRow,
float  vCol,
float  vDepth,
bool &  flipRow,
bool &  flipCol 
) const

Definition at line 260 of file AlpideSimResponse.cxx.

◆ getResponse() [3/3]

const AlpideRespSimMat * AlpideSimResponse::getResponse ( float  vRow,
float  vCol,
float  vDepth,
bool &  flipRow,
bool &  flipCol,
float  rowMax,
float  colMax 
) const

Definition at line 266 of file AlpideSimResponse.cxx.

◆ getRowMax()

float o2::itsmft::AlpideSimResponse::getRowMax ( ) const
inline

Definition at line 129 of file AlpideSimResponse.h.

◆ getStepCol()

float o2::itsmft::AlpideSimResponse::getStepCol ( ) const
inline

Definition at line 133 of file AlpideSimResponse.h.

◆ getStepDepth()

float o2::itsmft::AlpideSimResponse::getStepDepth ( ) const
inline

Definition at line 135 of file AlpideSimResponse.h.

◆ getStepRow()

float o2::itsmft::AlpideSimResponse::getStepRow ( ) const
inline

Definition at line 134 of file AlpideSimResponse.h.

◆ initData()

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

Definition at line 33 of file AlpideSimResponse.cxx.

◆ print()

void AlpideSimResponse::print ( ) const

Definition at line 189 of file AlpideSimResponse.cxx.

◆ setColMax()

void o2::itsmft::AlpideSimResponse::setColMax ( float  v)
inlinenoexcept

Definition at line 136 of file AlpideSimResponse.h.

◆ setColRowDataFmt()

void o2::itsmft::AlpideSimResponse::setColRowDataFmt ( const std::string  nm)
inline

Definition at line 141 of file AlpideSimResponse.h.

◆ setDataPath()

void o2::itsmft::AlpideSimResponse::setDataPath ( const std::string  pth)
inline

Definition at line 138 of file AlpideSimResponse.h.

◆ setGridColName()

void o2::itsmft::AlpideSimResponse::setGridColName ( const std::string  nm)
inline

Definition at line 139 of file AlpideSimResponse.h.

◆ setGridRowName()

void o2::itsmft::AlpideSimResponse::setGridRowName ( const std::string  nm)
inline

Definition at line 140 of file AlpideSimResponse.h.

◆ setRowMax()

void o2::itsmft::AlpideSimResponse::setRowMax ( float  v)
inlinenoexcept

Definition at line 137 of file AlpideSimResponse.h.

Member Data Documentation

◆ mColMax

float o2::itsmft::AlpideSimResponse::mColMax = SegmentationAlpide::PitchCol / 2.f
protected

max allowed Yb (to avoid subtraction)

Definition at line 100 of file AlpideSimResponse.h.

◆ mColRowDataFmt

std::string o2::itsmft::AlpideSimResponse::mColRowDataFmt = "data_pixels_%.2f_%.2f.txt"
protected

name of the file with grid in Row

Definition at line 113 of file AlpideSimResponse.h.

◆ mData

std::vector<AlpideRespSimMat> o2::itsmft::AlpideSimResponse::mData
protected

inverse step of the Dpt grid

Definition at line 108 of file AlpideSimResponse.h.

◆ mDataPath

std::string o2::itsmft::AlpideSimResponse::mDataPath
protected

path to look for data file

response data

Definition at line 110 of file AlpideSimResponse.h.

◆ mDptMax

float o2::itsmft::AlpideSimResponse::mDptMax = 0.f
protected

lower boundary of Dpt

Definition at line 103 of file AlpideSimResponse.h.

◆ mDptMin

float o2::itsmft::AlpideSimResponse::mDptMin = 0.f
protected

upper boundary of Row

Definition at line 102 of file AlpideSimResponse.h.

◆ mDptShift

float o2::itsmft::AlpideSimResponse::mDptShift = 0.f
protected

upper boundary of Dpt

Definition at line 104 of file AlpideSimResponse.h.

◆ mGridColName

std::string o2::itsmft::AlpideSimResponse::mGridColName = "grid_list_x.txt"
protected

Definition at line 111 of file AlpideSimResponse.h.

◆ mGridRowName

std::string o2::itsmft::AlpideSimResponse::mGridRowName = "grid_list_y.txt"
protected

name of the file with grid in Col

Definition at line 112 of file AlpideSimResponse.h.

◆ mMaxBinCol

int o2::itsmft::AlpideSimResponse::mMaxBinCol = 0
protected

number of bins in Z(sensor dept)

Definition at line 98 of file AlpideSimResponse.h.

◆ mMaxBinRow

int o2::itsmft::AlpideSimResponse::mMaxBinRow = 0
protected

max allowed Xb (to avoid subtraction)

Definition at line 99 of file AlpideSimResponse.h.

◆ mNBinCol

int o2::itsmft::AlpideSimResponse::mNBinCol = 0
protected

Definition at line 95 of file AlpideSimResponse.h.

◆ mNBinDpt

int o2::itsmft::AlpideSimResponse::mNBinDpt = 0
protected

number of bins in Y(row direction)

Definition at line 97 of file AlpideSimResponse.h.

◆ mNBinRow

int o2::itsmft::AlpideSimResponse::mNBinRow = 0
protected

number of bins in X(col direction)

Definition at line 96 of file AlpideSimResponse.h.

◆ mRowMax

float o2::itsmft::AlpideSimResponse::mRowMax = SegmentationAlpide::PitchRow / 2.f
protected

upper boundary of Col

Definition at line 101 of file AlpideSimResponse.h.

◆ mStepInvCol

float o2::itsmft::AlpideSimResponse::mStepInvCol = 0
protected

shift of the depth center wrt 0

Definition at line 105 of file AlpideSimResponse.h.

◆ mStepInvDpt

float o2::itsmft::AlpideSimResponse::mStepInvDpt = 0
protected

inverse step of the Row grid

Definition at line 107 of file AlpideSimResponse.h.

◆ mStepInvRow

float o2::itsmft::AlpideSimResponse::mStepInvRow = 0
protected

inverse step of the Col grid

Definition at line 106 of file AlpideSimResponse.h.


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