13 #ifndef DT_TRACO_LUTS_H
14 #define DT_TRACO_LUTS_H
32 typedef std::vector<unsigned short int>
LUT;
55 unsigned short int getPhiRad(
int pos,
int qualflag)
const;
58 unsigned short int getPsi(
int ang)
const;
61 unsigned short int getBendAng(
int pos,
int ang,
int qualflag)
const;
unsigned short int getBendAng(int pos, int ang, int qualflag) const
return bending angle from pos and ang
DTTracoLUTs(std::string filename)
constructor
void reset()
reset look-up tables
int size_psiLUT() const
return number of entries in the LUT
virtual ~DTTracoLUTs()
destructor
int load()
load look-up tables
unsigned short int getPhiRad(int pos, int qualflag) const
get radial angle from traco position and flag: 0=outer, 1=inner, 2=correl.
void print() const
print look-up tables
unsigned short int getPsi(int ang) const
get psi angle from traco k parameter
std::vector< unsigned short int > LUT
int size_phiLUT(int i) const