Typedefs | |
typedef boost::multi_array < float, 2 > | array_2d |
typedef boost::multi_array < bool, 2 > | array_2d_bool |
typedef boost::multi_array < float, 3 > | array_3d |
Functions | |
int | PixelTempSplit (int id, float cotalpha, float cotbeta, array_2d &cluster, std::vector< bool > &ydouble, std::vector< bool > &xdouble, SiPixelTemplate &templ, float &yrec1, float &yrec2, float &sigmay, float &prob2y, float &xrec1, float &xrec2, float &sigmax, float &prob2x, int &q2bin, float &prob2Q, bool resolve, int speed, float &dchisq, bool deadpix, std::vector< std::pair< int, int > > &zeropix, SiPixelTemplate2D &templ2D) |
int | PixelTempSplit (int id, float cotalpha, float cotbeta, array_2d &cluster, std::vector< bool > &ydouble, std::vector< bool > &xdouble, SiPixelTemplate &templ, float &yrec1, float &yrec2, float &sigmay, float &prob2y, float &xrec1, float &xrec2, float &sigmax, float &prob2x, int &q2bin, float &prob2Q, bool resolve, int speed, float &dchisq, SiPixelTemplate2D &templ2D) |
int | PixelTempSplit (int id, float cotalpha, float cotbeta, array_2d &cluster, std::vector< bool > &ydouble, std::vector< bool > &xdouble, SiPixelTemplate &templ, float &yrec1, float &yrec2, float &sigmay, float &prob2y, float &xrec1, float &xrec2, float &sigmax, float &prob2x, int &q2bin, float &prob2Q, bool resolve, float &dchisq, SiPixelTemplate2D &templ2D) |
int | PixelTempSplit (int id, float cotalpha, float cotbeta, array_2d &cluster, std::vector< bool > &ydouble, std::vector< bool > &xdouble, SiPixelTemplate &templ, float &yrec1, float &yrec2, float &sigmay, float &prob2y, float &xrec1, float &xrec2, float &sigmax, float &prob2x, int &q2bin, float &prob2Q, SiPixelTemplate2D &templ2D) |
int | PixelTempSplit (int id, float cotalpha, float cotbeta, array_2d &cluster, std::vector< bool > &ydouble, std::vector< bool > &xdouble, SiPixelTemplate &templ, float &yrec1, float &yrec2, float &sigmay, float &prob2y, float &xrec1, float &xrec2, float &sigmax, float &prob2x, int &q2bin, SiPixelTemplate2D &templ2D) |
typedef boost::multi_array<float, 2> SiPixelTemplateSplit::array_2d |
Definition at line 50 of file SiPixelTemplateSplit.h.
typedef boost::multi_array<bool, 2> SiPixelTemplateSplit::array_2d_bool |
Definition at line 51 of file SiPixelTemplateSplit.h.
typedef boost::multi_array<float, 3> SiPixelTemplateSplit::array_3d |
Definition at line 52 of file SiPixelTemplateSplit.h.
int SiPixelTemplateSplit::PixelTempSplit | ( | int | id, |
float | cotalpha, | ||
float | cotbeta, | ||
array_2d & | clust, | ||
std::vector< bool > & | ydouble, | ||
std::vector< bool > & | xdouble, | ||
SiPixelTemplate & | templ, | ||
float & | yrec1, | ||
float & | yrec2, | ||
float & | sigmay, | ||
float & | prob2y, | ||
float & | xrec1, | ||
float & | xrec2, | ||
float & | sigmax, | ||
float & | prob2x, | ||
int & | q2bin, | ||
float & | prob2Q, | ||
bool | resolve, | ||
int | speed, | ||
float & | dchisq, | ||
bool | deadpix, | ||
std::vector< std::pair< int, int > > & | zeropix, | ||
SiPixelTemplate2D & | templ2D | ||
) |
Reconstruct the best estimate of the hit positions 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 |
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 yrec1 and yrec2 in microns |
prob2y | - (output) probability describing goodness-of-fit to a merged cluster hypothesis 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 xrec1 and xrec2 in microns |
prob2x | - (output) probability describing goodness-of-fit to a merged cluster hypothesis for x-reco |
q2bin | - (output) index (0-4) describing the charge of the cluster assuming a merged 2-hit cluster hypothesis [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] |
prob2Q | - (output) probability that the cluster charge is compatible with a 2-hit merging |
resolve | - (input) if true, use 2-D chisquare to resolve the 2-fold x-y association ambiguity (costs a factor of two in speed) |
speed | - (input) switch (-1->2) trading speed vs robustness -1 totally bombproof, searches the entire ranges of template bins, calculates Q probability w/ VVIObj 0 totally bombproof, searches the entire template bin range at full density (no Qprob) 1 faster, searches same range as 0 but at 1/2 density 2 fastest, searches same range as 1 but at 1/4 density (no big pix) and 1/2 density (big pix in cluster) |
dchisq | - (output) the delta chisquare estimator used to break the degeneracy (0 means no discrimination, larger than 0.1 is good) |
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 97 of file SiPixelTemplateSplit.cc.
References assert(), BHX, BHY, BXM1, BXM2, BXM3, BXSIZE, BYM1, BYM2, BYM3, BYSIZE, SiPixelTemplate::chi2xavgc2m(), SiPixelTemplate::chi2xavgone(), SiPixelTemplate::chi2xminone(), SiPixelTemplate::chi2yavgc2m(), SiPixelTemplate::chi2yavgone(), SiPixelTemplate::chi2yminone(), SiPixelTemplate::cxtemp(), SiPixelTemplate::cytemp(), delta, SiPixelTemplate::dxone(), SiPixelTemplate::dxtwo(), SiPixelTemplate::dyone(), SiPixelTemplate::dytwo(), alignCSCRings::e, ENDL, Exception, f, VVIObj::fcn(), Gamma, i, SiPixelTemplate::interpolate(), j, relval_steps::k, kappa, SiPixelTemplate2D::landau_par(), cmsBatch::log, LOGDEBUG, LOGERROR, bookConverter::max, maxpix, min(), SiPixelTemplate::pixmax(), SiPixelTemplate::qavg(), SiPixelTemplate::qmin(), SiPixelTemplate::qscale(), SiPixelTemplate::s50(), SiPixelTemplate::simpletemplate2D(), python.multivaluedict::sort(), mathSSE::sqrt(), SiPixelTemplate::sxmax(), SiPixelTemplate::sxone(), SiPixelTemplate::sxtwo(), SiPixelTemplate::symax(), SiPixelTemplate::syone(), SiPixelTemplate::sytwo(), theVerboseLevel, TXSIZE, TYSIZE, SiPixelTemplate::vavilov2_pars(), SiPixelTemplate::xavgc2m(), SiPixelTemplate::xrmsc2m(), SiPixelTemplate::xsigma2(), xsize, SiPixelTemplate::xsize(), SiPixelTemplate::xtemp3d(), SiPixelTemplate::xtemp3d_int(), SiPixelTemplate2D::xytemp(), SiPixelTemplate::yavgc2m(), SiPixelTemplate::yrmsc2m(), SiPixelTemplate::ysigma2(), ysize, SiPixelTemplate::ysize(), SiPixelTemplate::ytemp3d(), and SiPixelTemplate::ytemp3d_int().
Referenced by PixelCPETemplateReco::localPosition(), PixelTempSplit(), and TrackClusterSplitter::splitCluster().
int SiPixelTemplateSplit::PixelTempSplit | ( | int | id, |
float | cotalpha, | ||
float | cotbeta, | ||
array_2d & | cluster, | ||
std::vector< bool > & | ydouble, | ||
std::vector< bool > & | xdouble, | ||
SiPixelTemplate & | templ, | ||
float & | yrec1, | ||
float & | yrec2, | ||
float & | sigmay, | ||
float & | prob2y, | ||
float & | xrec1, | ||
float & | xrec2, | ||
float & | sigmax, | ||
float & | prob2x, | ||
int & | q2bin, | ||
float & | prob2Q, | ||
bool | resolve, | ||
int | speed, | ||
float & | dchisq, | ||
SiPixelTemplate2D & | templ2D | ||
) |
Reconstruct the best estimate of the hit positions 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 |
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 |
prob2y | - (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 |
prob2x | - (output) probability describing goodness-of-fit for x-reco |
q2bin | - (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] |
prob2Q | - (output) probability that the cluster charge is compatible with a 2-hit merging |
resolve | - (input) use 2-D chisquare to resolve the 2-fold x-y association ambiguity (costs a factor of two in speed) |
dchisq | - (output) the delta chisquare estimator used to break the degeneracy (0 means no discrimination, larger than 0.1 is good) |
Definition at line 1091 of file SiPixelTemplateSplit.cc.
References PixelTempSplit().
int SiPixelTemplateSplit::PixelTempSplit | ( | int | id, |
float | cotalpha, | ||
float | cotbeta, | ||
array_2d & | cluster, | ||
std::vector< bool > & | ydouble, | ||
std::vector< bool > & | xdouble, | ||
SiPixelTemplate & | templ, | ||
float & | yrec1, | ||
float & | yrec2, | ||
float & | sigmay, | ||
float & | prob2y, | ||
float & | xrec1, | ||
float & | xrec2, | ||
float & | sigmax, | ||
float & | prob2x, | ||
int & | q2bin, | ||
float & | prob2Q, | ||
bool | resolve, | ||
float & | dchisq, | ||
SiPixelTemplate2D & | templ2D | ||
) |
Reconstruct the best estimate of the hit positions 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 |
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 |
prob2y | - (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 |
prob2x | - (output) probability describing goodness-of-fit for x-reco |
q2bin | - (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] |
prob2Q | - (output) probability that the cluster charge is compatible with a 2-hit merging |
resolve | - (input) use 2-D chisquare to resolve the 2-fold x-y association ambiguity (costs a factor of two in speed) |
dchisq | - (output) the delta chisquare estimator used to break the degeneracy (0 means no discrimination, larger than 0.1 is good) |
Definition at line 1132 of file SiPixelTemplateSplit.cc.
References PixelTempSplit().
int SiPixelTemplateSplit::PixelTempSplit | ( | int | id, |
float | cotalpha, | ||
float | cotbeta, | ||
array_2d & | cluster, | ||
std::vector< bool > & | ydouble, | ||
std::vector< bool > & | xdouble, | ||
SiPixelTemplate & | templ, | ||
float & | yrec1, | ||
float & | yrec2, | ||
float & | sigmay, | ||
float & | prob2y, | ||
float & | xrec1, | ||
float & | xrec2, | ||
float & | sigmax, | ||
float & | prob2x, | ||
int & | q2bin, | ||
float & | prob2Q, | ||
SiPixelTemplate2D & | templ2D | ||
) |
Reconstruct the best estimate of the hit positions for pixel clusters. Legacy interface to older code.
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 |
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 |
prob2y | - (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 |
prob2x | - (output) probability describing goodness-of-fit for x-reco |
q2bin | - (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] |
prob2Q | - (output) probability that the cluster charge is compatible with a 2-hit merging |
Definition at line 1171 of file SiPixelTemplateSplit.cc.
References PixelTempSplit().
int SiPixelTemplateSplit::PixelTempSplit | ( | int | id, |
float | cotalpha, | ||
float | cotbeta, | ||
array_2d & | cluster, | ||
std::vector< bool > & | ydouble, | ||
std::vector< bool > & | xdouble, | ||
SiPixelTemplate & | templ, | ||
float & | yrec1, | ||
float & | yrec2, | ||
float & | sigmay, | ||
float & | prob2y, | ||
float & | xrec1, | ||
float & | xrec2, | ||
float & | sigmax, | ||
float & | prob2x, | ||
int & | q2bin, | ||
SiPixelTemplate2D & | templ2D | ||
) |
Reconstruct the best estimate of the hit positions for pixel clusters. Legacy interface to older code.
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 |
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 |
prob2y | - (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 |
prob2x | - (output) probability describing goodness-of-fit for x-reco |
q2bin | - (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 1213 of file SiPixelTemplateSplit.cc.
References PixelTempSplit().