Typedefs | |
typedef boost::multi_array < float, 2 > | array_2d |
Functions | |
int | PixelTempReco2D (int id, float cotalpha, float cotbeta, float locBz, array_2d &cluster, std::vector< bool > &ydouble, std::vector< bool > &xdouble, SiPixelTemplate &templ, float &yrec, float &sigmay, float &proby, float &xrec, float &sigmax, float &probx, int &qbin, int speed, bool deadpix, std::vector< std::pair< int, int > > &zeropix, float &probQ) |
int | PixelTempReco2D (int id, float cotalpha, float cotbeta, float locBz, array_2d &cluster, std::vector< bool > &ydouble, std::vector< bool > &xdouble, SiPixelTemplate &templ, float &yrec, float &sigmay, float &proby, float &xrec, float &sigmax, float &probx, int &qbin, int speed, float &probQ) |
int | PixelTempReco2D (int id, float cotalpha, float cotbeta, array_2d &cluster, std::vector< bool > &ydouble, std::vector< bool > &xdouble, SiPixelTemplate &templ, float &yrec, float &sigmay, float &proby, float &xrec, float &sigmax, float &probx, int &qbin, int speed, float &probQ) |
int | PixelTempReco2D (int id, float cotalpha, float cotbeta, array_2d &cluster, std::vector< bool > &ydouble, std::vector< bool > &xdouble, SiPixelTemplate &templ, float &yrec, float &sigmay, float &proby, float &xrec, float &sigmax, float &probx, int &qbin, int speed) |
typedef boost::multi_array<float, 2> SiPixelTemplateReco::array_2d |
Definition at line 70 of file SiPixelTemplateReco.h.
int SiPixelTemplateReco::PixelTempReco2D | ( | int | id, |
float | cotalpha, | ||
float | cotbeta, | ||
float | locBz, | ||
array_2d & | clust, | ||
std::vector< bool > & | ydouble, | ||
std::vector< bool > & | xdouble, | ||
SiPixelTemplate & | templ, | ||
float & | yrec, | ||
float & | sigmay, | ||
float & | proby, | ||
float & | xrec, | ||
float & | sigmax, | ||
float & | probx, | ||
int & | qbin, | ||
int | speed, | ||
bool | deadpix, | ||
std::vector< std::pair< int, int > > & | zeropix, | ||
float & | probQ | ||
) |
Reconstruct the best estimate of the hit position for pixel clusters.
id | - (input) identifier of the template to use |
cotalpha | - (input) the cotangent of the alpha track angle (see CMS IN 2004/014) |
cotbeta | - (input) the cotangent of the beta track angle (see CMS IN 2004/014) |
locBz | - (input) the sign of the local B_z field for FPix (usually B_z<0 when cot(beta)>0 and B_z>0 when cot(beta)<0 |
cluster | - (input) boost multi_array container of 7x21 array of pixel signals, origin of local coords (0,0) at center of pixel cluster[0][0]. Set dead pixels to small non-zero values (0.1 e). |
ydouble | - (input) STL vector of 21 element array to flag a double-pixel |
xdouble | - (input) STL vector of 7 element array to flag a double-pixel |
templ | - (input) the template used in the reconstruction |
yrec | - (output) best estimate of y-coordinate of hit in microns |
sigmay | - (output) best estimate of uncertainty on yrec in microns |
proby | - (output) probability describing goodness-of-fit for y-reco |
xrec | - (output) best estimate of x-coordinate of hit in microns |
sigmax | - (output) best estimate of uncertainty on xrec in microns |
probx | - (output) probability describing goodness-of-fit for x-reco |
qbin | - (output) index (0-4) describing the charge of the cluster qbin = 0 Q/Q_avg > 1.5 [few % of all hits] 1 1.5 > Q/Q_avg > 1.0 [~30% of all hits] 2 1.0 > Q/Q_avg > 0.85 [~30% of all hits] 3 0.85 > Q/Q_avg > min1 [~30% of all hits] 4 min1 > Q/Q_avg > min2 [~0.1% of all hits] 5 min2 > Q/Q_avg [~0.1% of all hits] |
speed | - (input) switch (-2->5) trading speed vs robustness -2 totally bombproof, searches the entire 41 bin range at full density (equiv to V2_4), calculates Q probability w/ VVIObj (better but slower) -1 totally bombproof, searches the entire 41 bin range at full density (equiv to V2_4), calculates Q probability w/ TMath::VavilovI (poorer but faster) 0 totally bombproof, searches the entire 41 bin range at full density (equiv to V2_4) 1 faster, searches reduced 25 bin range (no big pix) + 33 bins (big pix at ends) at full density 2 faster yet, searches same range as 1 but at 1/2 density 3 fastest, searches same range as 1 but at 1/4 density (no big pix) and 1/2 density (big pix in cluster) 4 fastest w/ Q prob, searches same range as 1 but at 1/4 density (no big pix) and 1/2 density (big pix in cluster), calculates Q probability w/ VVIObj (better but slower) 5 fastest w/ Q prob, searches same range as 1 but at 1/4 density (no big pix) and 1/2 density (big pix in cluster), calculates Q probability w/ TMath::VavilovI (poorer but faster) |
deadpix | - (input) bool to indicate that there are dead pixels to be included in the analysis |
zeropix | - (input) vector of index pairs pointing to the dead pixels |
probQ | - (output) the Vavilov-distribution-based cluster charge probability |
Definition at line 125 of file SiPixelTemplateReco.cc.
References assert(), BHX, BHY, BXM1, BXM2, BXSIZE, BYM1, BYM2, BYM3, BYSIZE, SiPixelTemplate::chi2xavg(), SiPixelTemplate::chi2xavgone(), SiPixelTemplate::chi2xmin(), SiPixelTemplate::chi2xminone(), SiPixelTemplate::chi2yavg(), SiPixelTemplate::chi2yavgone(), SiPixelTemplate::chi2ymin(), SiPixelTemplate::chi2yminone(), SiPixelTemplate::cxtemp(), SiPixelTemplate::cytemp(), delta, SiPixelTemplate::dxone(), SiPixelTemplate::dxtwo(), SiPixelTemplate::dyone(), SiPixelTemplate::dytwo(), ENDL, Exception, f, VVIObjF::fcn(), Gamma, i, SiPixelTemplate::interpolate(), j, relval_steps::k, kappa, LOGDEBUG, LOGERROR, maxpix, SiPixelTemplate::pixmax(), SiPixelTemplate::qavg(), SiPixelTemplate::qmin(), SiPixelTemplate::qscale(), SiPixelTemplate::s50(), python.multivaluedict::sort(), SiPixelTemplate::sxmax(), SiPixelTemplate::sxone(), SiPixelTemplate::sxtwo(), SiPixelTemplate::symax(), SiPixelTemplate::syone(), SiPixelTemplate::sytwo(), theVerboseLevel, TXSIZE, TYSIZE, SiPixelTemplate::vavilov_pars(), SiPixelTemplate::xavg(), SiPixelTemplate::xflcorr(), SiPixelTemplate::xrms(), SiPixelTemplate::xsigma2(), xsize, SiPixelTemplate::xsize(), SiPixelTemplate::xtemp(), SiPixelTemplate::yavg(), SiPixelTemplate::yflcorr(), SiPixelTemplate::yrms(), SiPixelTemplate::ysigma2(), ysize, SiPixelTemplate::ysize(), and SiPixelTemplate::ytemp().
Referenced by PixelCPETemplateReco::localPosition(), and PixelTempReco2D().
int SiPixelTemplateReco::PixelTempReco2D | ( | int | id, |
float | cotalpha, | ||
float | cotbeta, | ||
float | locBz, | ||
array_2d & | cluster, | ||
std::vector< bool > & | ydouble, | ||
std::vector< bool > & | xdouble, | ||
SiPixelTemplate & | templ, | ||
float & | yrec, | ||
float & | sigmay, | ||
float & | proby, | ||
float & | xrec, | ||
float & | sigmax, | ||
float & | probx, | ||
int & | qbin, | ||
int | speed, | ||
float & | probQ | ||
) |
Reconstruct the best estimate of the hit position for pixel clusters.
id | - (input) identifier of the template to use |
cotalpha | - (input) the cotangent of the alpha track angle (see CMS IN 2004/014) |
cotbeta | - (input) the cotangent of the beta track angle (see CMS IN 2004/014) |
locBz | - (input) the sign of the local B_z field for FPix (usually B_z<0 when cot(beta)>0 and B_z>0 when cot(beta)<0 |
cluster | - (input) boost multi_array container of 7x21 array of pixel signals, origin of local coords (0,0) at center of pixel cluster[0][0]. |
ydouble | - (input) STL vector of 21 element array to flag a double-pixel |
xdouble | - (input) STL vector of 7 element array to flag a double-pixel |
templ | - (input) the template used in the reconstruction |
yrec | - (output) best estimate of y-coordinate of hit in microns |
sigmay | - (output) best estimate of uncertainty on yrec in microns |
proby | - (output) probability describing goodness-of-fit for y-reco |
xrec | - (output) best estimate of x-coordinate of hit in microns |
sigmax | - (output) best estimate of uncertainty on xrec in microns |
probx | - (output) probability describing goodness-of-fit for x-reco |
qbin | - (output) index (0-4) describing the charge of the cluster [0: 1.5<Q/Qavg, 1: 1<Q/Qavg<1.5, 2: 0.85<Q/Qavg<1, 3: 0.95Qmin<Q<0.85Qavg, 4: Q<0.95Qmin] |
speed | - (input) switch (-1-4) trading speed vs robustness -1 totally bombproof, searches the entire 41 bin range at full density (equiv to V2_4), calculates Q probability 0 totally bombproof, searches the entire 41 bin range at full density (equiv to V2_4) 1 faster, searches reduced 25 bin range (no big pix) + 33 bins (big pix at ends) at full density 2 faster yet, searches same range as 1 but at 1/2 density 3 fastest, searches same range as 1 but at 1/4 density (no big pix) and 1/2 density (big pix in cluster) 4 fastest w/ Q prob, searches same range as 1 but at 1/4 density (no big pix) and 1/2 density (big pix in cluster), calculates Q probability |
probQ | - (output) the Vavilov-distribution-based cluster charge probability |
Definition at line 1028 of file SiPixelTemplateReco.cc.
References PixelTempReco2D().
int SiPixelTemplateReco::PixelTempReco2D | ( | int | id, |
float | cotalpha, | ||
float | cotbeta, | ||
array_2d & | cluster, | ||
std::vector< bool > & | ydouble, | ||
std::vector< bool > & | xdouble, | ||
SiPixelTemplate & | templ, | ||
float & | yrec, | ||
float & | sigmay, | ||
float & | proby, | ||
float & | xrec, | ||
float & | sigmax, | ||
float & | probx, | ||
int & | qbin, | ||
int | speed, | ||
float & | probQ | ||
) |
Reconstruct the best estimate of the hit position for pixel clusters.
id | - (input) identifier of the template to use |
cotalpha | - (input) the cotangent of the alpha track angle (see CMS IN 2004/014) |
cotbeta | - (input) the cotangent of the beta track angle (see CMS IN 2004/014) |
cluster | - (input) boost multi_array container of 7x21 array of pixel signals, origin of local coords (0,0) at center of pixel cluster[0][0]. |
ydouble | - (input) STL vector of 21 element array to flag a double-pixel |
xdouble | - (input) STL vector of 7 element array to flag a double-pixel |
templ | - (input) the template used in the reconstruction |
yrec | - (output) best estimate of y-coordinate of hit in microns |
sigmay | - (output) best estimate of uncertainty on yrec in microns |
proby | - (output) probability describing goodness-of-fit for y-reco |
xrec | - (output) best estimate of x-coordinate of hit in microns |
sigmax | - (output) best estimate of uncertainty on xrec in microns |
probx | - (output) probability describing goodness-of-fit for x-reco |
qbin | - (output) index (0-4) describing the charge of the cluster [0: 1.5<Q/Qavg, 1: 1<Q/Qavg<1.5, 2: 0.85<Q/Qavg<1, 3: 0.95Qmin<Q<0.85Qavg, 4: Q<0.95Qmin] |
speed | - (input) switch (-1-4) trading speed vs robustness -1 totally bombproof, searches the entire 41 bin range at full density (equiv to V2_4), calculates Q probability 0 totally bombproof, searches the entire 41 bin range at full density (equiv to V2_4) 1 faster, searches reduced 25 bin range (no big pix) + 33 bins (big pix at ends) at full density 2 faster yet, searches same range as 1 but at 1/2 density 3 fastest, searches same range as 1 but at 1/4 density (no big pix) and 1/2 density (big pix in cluster) 4 fastest w/ Q prob, searches same range as 1 but at 1/4 density (no big pix) and 1/2 density (big pix in cluster), calculates Q probability |
probQ | - (output) the Vavilov-distribution-based cluster charge probability |
Definition at line 1072 of file SiPixelTemplateReco.cc.
References PixelTempReco2D().
int SiPixelTemplateReco::PixelTempReco2D | ( | int | id, |
float | cotalpha, | ||
float | cotbeta, | ||
array_2d & | cluster, | ||
std::vector< bool > & | ydouble, | ||
std::vector< bool > & | xdouble, | ||
SiPixelTemplate & | templ, | ||
float & | yrec, | ||
float & | sigmay, | ||
float & | proby, | ||
float & | xrec, | ||
float & | sigmax, | ||
float & | probx, | ||
int & | qbin, | ||
int | speed | ||
) |
Reconstruct the best estimate of the hit position for pixel clusters.
id | - (input) identifier of the template to use |
cotalpha | - (input) the cotangent of the alpha track angle (see CMS IN 2004/014) |
cotbeta | - (input) the cotangent of the beta track angle (see CMS IN 2004/014) |
cluster | - (input) boost multi_array container of 7x21 array of pixel signals, origin of local coords (0,0) at center of pixel cluster[0][0]. |
ydouble | - (input) STL vector of 21 element array to flag a double-pixel |
xdouble | - (input) STL vector of 7 element array to flag a double-pixel |
templ | - (input) the template used in the reconstruction |
yrec | - (output) best estimate of y-coordinate of hit in microns |
sigmay | - (output) best estimate of uncertainty on yrec in microns |
proby | - (output) probability describing goodness-of-fit for y-reco |
xrec | - (output) best estimate of x-coordinate of hit in microns |
sigmax | - (output) best estimate of uncertainty on xrec in microns |
probx | - (output) probability describing goodness-of-fit for x-reco |
qbin | - (output) index (0-4) describing the charge of the cluster [0: 1.5<Q/Qavg, 1: 1<Q/Qavg<1.5, 2: 0.85<Q/Qavg<1, 3: 0.95Qmin<Q<0.85Qavg, 4: Q<0.95Qmin] |
speed | - (input) switch (0-3) trading speed vs robustness 0 totally bombproof, searches the entire 41 bin range at full density (equiv to V2_4) 1 faster, searches reduced 25 bin range (no big pix) + 33 bins (big pix at ends) at full density 2 faster yet, searches same range as 1 but at 1/2 density 3 fastest, searches same range as 1 but at 1/4 density (no big pix) and 1/2 density (big pix in cluster) |
Definition at line 1116 of file SiPixelTemplateReco.cc.
References PixelTempReco2D().