Go to the documentation of this file.
17 #ifndef SiPixelGenError_h
18 #define SiPixelGenError_h 1
24 #include "boost/multi_array.hpp"
26 #ifndef SI_PIXEL_TEMPLATE_STANDALONE
80 #ifndef SI_PIXEL_TEMPLATE_USE_BOOST
92 boost::multi_array<SiPixelGenErrorEntry, 1>
enty;
93 boost::multi_array<SiPixelGenErrorEntry, 2>
entx;
124 #ifndef SI_PIXEL_TEMPLATE_STANDALONE
139 bool irradiationCorrections,
184 #ifndef SI_PIXEL_TEMPLATE_STANDALONE
185 if (i < 0 || i > 2) {
187 <<
"SiPixelTemplate::chi2xminc2m called with illegal index = " <<
i << std::endl;
float zsize_
Pixel z-size (thickness)
float lorxbias()
signed lorentz x-bias (microns)
float ysize()
pixel y-size (microns)
SiPixelGenError(const std::vector< SiPixelGenErrorStore > &thePixelTemp)
Constructor for cases in which template store already exists.
float lorxwidth()
signed lorentz x-width (microns)
float fbin(int i)
Return lower bound of Qbin definition.
static void postInit(std::vector< SiPixelGenErrorStore > &thePixelTemp_)
float lorybias()
signed lorentz y-bias (microns)
int qbin(int id, float cotalpha, float cotbeta, float locBz, float locBx, float qclus, bool irradiationCorrections, int &pixmx, float &sigmay, float &deltay, float &sigmax, float &deltax, float &sy1, float &dy1, float &sy2, float &dy2, float &sx1, float &dx1, float &sx2, float &dx2)
float lorybias_
Lorentz y-width (sign corrected for fpix frame)
#define TEMP_ENTRY_SIZEX_B
float yavggen[4]
generic algorithm: average y-bias of reconstruction binned in 4 charge bins
float lorxbias_
Lorentz x-width.
float xsize()
pixel x-size (microns)
float sytwo
rms for one double-pixel y-clusters
int runnum
< Basic template entry corresponding to a single set of track angles
SiPixelGenErrorEntry entx[60][60]
float dxone
mean offset/correction for one pixel x-clusters
float dxtwo
mean offset/correction for one double-pixel x-clusters
int index_id_
current index
SiPixelGenErrorEntry enty[60]
60 x templates spanning cluster lengths from -6px (-1.125Rad) to +6px (+1.125Rad) in each of 60 slice...
float syone
rms for one pixel y-clusters
float lorywidth_
Lorentz y-width (sign corrected for fpix frame)
float sxtwo
rms for one double-pixel x-clusters
float xavggen[4]
generic algorithm: average x-bias of reconstruction binned in 4 charge bins
float lorxwidth_
Lorentz x-width.
int id_current_
current id
float pixmax
maximum charge for individual pixels in cluster
float zsize()
pixel z-size or thickness (microns)
float dyone
mean offset/correction for one pixel y-clusters
SiPixelGenErrorHeader head
< template storage structure
float dytwo
mean offset/correction for one double-pixel y-clusters
float fbin_[3]
The QBin definitions in Q_clus/Q_avg.
static bool pushfile(int filenum, std::vector< SiPixelGenErrorStore > &pixelTemp, std::string dir="")
float cotalphaX[60]
60 y templates spanning cluster lengths from 0px to +18px
float xsize_
Pixel x-size.
#define TEMP_ENTRY_SIZEX_A
float lorywidth()
signed lorentz y-width (microns)
float cotalpha
cot(alpha) is proportional to cluster length in x and is basis of interpolation
float xrmsgen[4]
generic algorithm: average x-rms of reconstruction binned in 4 charge bins
const std::vector< SiPixelGenErrorStore > & thePixelTemp_
float ysize_
Pixel y-size.
float sxone
rms for one pixel x-clusters
float qavg
average cluster charge for this set of track angles (now includes threshold effects)
float cotbeta
cot(beta) is proportional to cluster length in y and is basis of interpolation
float yrmsgen[4]
generic algorithm: average y-rms of reconstruction binned in 4 charge bins
float qmin
minimum cluster charge for valid hit (keeps 99.9% of simulated hits)