53 for (
int k = 0;
k < 3;
k++)
66 for (
int k = 0;
k < 3;
k++)
80 if (filePSI.
open() != 0)
88 for (
int u = 0; u < 1024; u++) {
100 if (filePHI.
open() != 0)
105 for (
int y = 0;
y < 3;
y++) {
106 for (
int h = 0;
h < 512;
h++) {
126 cout <<
"L1 barrel Traco look-up tables :" << endl;
127 cout <<
"====================================================" << endl;
132 for (
int x = 0;
x < 1024;
x++)
134 for (
int m = 0;
m < 512;
m++)
136 <<
" " <<
dec << endl;
155 unsigned short int ipsi = (
psi_lut)[ang + 512];
DTTracoLUTs(std::string filename)
constructor
void reset()
reset look-up tables
void print() const
print 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.
virtual ~DTTracoLUTs()
destructor
int load()
load look-up tables
unsigned short int getPsi(int ang) const
get psi angle from traco k parameter
int readHex()
read one hex from file
unsigned short int getBendAng(int pos, int ang, int qualflag) const
return bending angle from pos and ang
void clear(HadCaloObj &c)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.