Typedefs | |
typedef boost::multi_array < float, 2 > | array_2d |
typedef boost::multi_array < float, 3 > | array_3d |
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) |
int | PixelTempSplit (int id, bool fpix, float cotalpha, float cotbeta, array_2d cluster, std::vector< bool > ydouble, std::vector< bool > xdouble, SiPixelTemplate &templ, float &yrec1, float &yrec2, float &sigmay, float &proby, float &xrec1, float &xrec2, float &sigmax, float &probx, int &qbin, bool deadpix, std::vector< std::pair< int, int > > zeropix) |
int | PixelTempSplit (int id, bool fpix, float cotalpha, float cotbeta, array_2d cluster, std::vector< bool > ydouble, std::vector< bool > xdouble, SiPixelTemplate &templ, float &yrec1, float &yrec2, float &sigmay, float &proby, float &xrec1, float &xrec2, float &sigmax, float &probx, int &qbin) |
typedef boost::multi_array< float, 2 > SiPixelTemplateReco::array_2d |
Definition at line 69 of file SiPixelTemplateReco.h.
typedef boost::multi_array<float, 3> SiPixelTemplateReco::array_3d |
Definition at line 45 of file SiPixelTemplateSplit.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 120 of file SiPixelTemplateReco.cc.
References 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(), delta, SiPixelTemplate::dxone(), SiPixelTemplate::dxtwo(), SiPixelTemplate::dyone(), SiPixelTemplate::dytwo(), ENDL, edm::hlt::Exception, f, VVIObj::fcn(), Gamma, i, SiPixelTemplate::interpolate(), j, gen::k, LOGDEBUG, LOGERROR, maxpix, SiPixelTemplate::pixmax(), SiPixelTemplate::qavg(), SiPixelTemplate::qmin(), SiPixelTemplate::qscale(), SiPixelTemplate::s50(), ExpressReco_HICollisions_FallBack::sigma, 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(), SiPixelTemplate::xsize(), SiPixelTemplate::xtemp(), SiPixelTemplate::yavg(), SiPixelTemplate::yflcorr(), SiPixelTemplate::yrms(), SiPixelTemplate::ysigma2(), 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 1030 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 1074 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 1118 of file SiPixelTemplateReco.cc.
References PixelTempReco2D().
int SiPixelTemplateReco::PixelTempSplit | ( | int | id, |
bool | fpix, | ||
float | cotalpha, | ||
float | cotbeta, | ||
array_2d | cluster, | ||
std::vector< bool > | ydouble, | ||
std::vector< bool > | xdouble, | ||
SiPixelTemplate & | templ, | ||
float & | yrec1, | ||
float & | yrec2, | ||
float & | sigmay, | ||
float & | proby, | ||
float & | xrec1, | ||
float & | xrec2, | ||
float & | sigmax, | ||
float & | probx, | ||
int & | qbin, | ||
bool | deadpix, | ||
std::vector< std::pair< int, int > > | zeropix | ||
) |
Reconstruct the best estimate of the hit positions for pixel clusters.
id | - (input) identifier of the template to use |
fpix | - (input) logical input indicating whether to use FPix templates (true) or Barrel templates (false) |
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 |
yrec1 | - (output) best estimate of first y-coordinate of hit in microns |
yrec2 | - (output) best estimate of second 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 |
xrec1 | - (output) best estimate of first x-coordinate of hit in microns |
xrec2 | - (output) best estimate of second 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] |
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 |
Definition at line 70 of file SiPixelTemplateSplit.cc.
References BHX, BHY, BXM1, BXM2, BXSIZE, BYM1, BYM2, BYM3, BYSIZE, SiPixelTemplate::chi2xavg(), SiPixelTemplate::chi2xavgone(), SiPixelTemplate::chi2xminone(), SiPixelTemplate::chi2yavg(), SiPixelTemplate::chi2yavgone(), SiPixelTemplate::chi2yminone(), delta, SiPixelTemplate::dxone(), SiPixelTemplate::dxtwo(), SiPixelTemplate::dyone(), SiPixelTemplate::dytwo(), ENDL, Gamma, i, SiPixelTemplate::interpolate(), j, gen::k, LOGDEBUG, LOGERROR, max(), maxpix, min, SiPixelTemplate::pixmax(), SiPixelTemplate::qavg(), SiPixelTemplate::qmin(), SiPixelTemplate::qscale(), SiPixelTemplate::s50(), ExpressReco_HICollisions_FallBack::sigma, python.multivaluedict::sort(), SiPixelTemplate::sxmax(), SiPixelTemplate::sxone(), SiPixelTemplate::sxtwo(), SiPixelTemplate::symax(), SiPixelTemplate::syone(), SiPixelTemplate::sytwo(), theVerboseLevel, TXSIZE, TYSIZE, SiPixelTemplate::xavgc2m(), SiPixelTemplate::xrmsc2m(), SiPixelTemplate::xsigma2(), SiPixelTemplate::xtemp3d(), SiPixelTemplate::yavgc2m(), SiPixelTemplate::yrmsc2m(), SiPixelTemplate::ysigma2(), and SiPixelTemplate::ytemp3d().
Referenced by PixelCPETemplateReco::localPosition(), and PixelTempSplit().
int SiPixelTemplateReco::PixelTempSplit | ( | int | id, |
bool | fpix, | ||
float | cotalpha, | ||
float | cotbeta, | ||
array_2d | cluster, | ||
std::vector< bool > | ydouble, | ||
std::vector< bool > | xdouble, | ||
SiPixelTemplate & | templ, | ||
float & | yrec1, | ||
float & | yrec2, | ||
float & | sigmay, | ||
float & | proby, | ||
float & | xrec1, | ||
float & | xrec2, | ||
float & | sigmax, | ||
float & | probx, | ||
int & | qbin | ||
) |
Reconstruct the best estimate of the hit positions for pixel clusters.
id | - (input) identifier of the template to use |
fpix | - (input) logical input indicating whether to use FPix templates (true) or Barrel templates (false) |
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 |
yrec1 | - (output) best estimate of first y-coordinate of hit in microns |
yrec2 | - (output) best estimate of second 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 |
xrec1 | - (output) best estimate of first x-coordinate of hit in microns |
xrec2 | - (output) best estimate of second 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] |
Definition at line 800 of file SiPixelTemplateSplit.cc.
References PixelTempSplit().