Functions | |
int | StripTempSplit (int id, float cotalpha, float cotbeta, float locBy, int speed, std::vector< float > &cluster, SiStripTemplate &templ, float &xrec1, float &xrec2, float &sigmax, float &prob2x, int &q2bin, float &prob2Q) |
int | StripTempSplit (int id, float cotalpha, float cotbeta, float locBy, std::vector< float > &cluster, SiStripTemplate &templ, float &xrec1, float &xrec2, float &sigmax, float &prob2x, int &q2bin, float &prob2Q) |
int SiStripTemplateSplit::StripTempSplit | ( | int | id, |
float | cotalpha, | ||
float | cotbeta, | ||
float | locBy, | ||
int | speed, | ||
std::vector< float > & | cluster, | ||
SiStripTemplate & | templ, | ||
float & | xrec1, | ||
float & | xrec2, | ||
float & | sigmax, | ||
float & | prob2x, | ||
int & | q2bin, | ||
float & | prob2Q | ||
) |
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) |
locBy | - (input) the sign of the local B_y field to specify the Lorentz drift direction |
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) |
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]. |
templ | - (input) the template used in the reconstruction |
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 |
Definition at line 75 of file SiStripTemplateSplit.cc.
References BSHX, BSXM2, BSXSIZE, SiStripTemplate::chi2xavgc2m(), SiStripTemplate::chi2xavgone(), SiStripTemplate::chi2xminone(), SiStripTemplate::cxtemp(), delta, SiStripTemplate::dxone(), ENDL, Exception, f, sistripvvi::VVIObj::fcn(), Gamma, mps_fire::i, createfilelist::int, SiStripTemplate::interpolate(), gen::k, kappa, LOGDEBUG, LOGERROR, maxpix, min(), SiStripTemplate::qavg(), SiStripTemplate::qmin(), SiStripTemplate::qscale(), SiStripTemplate::s50(), SiStripTemplate::sxmax(), SiStripTemplate::sxone(), theVerboseLevel, TSXSIZE, SiStripTemplate::vavilov2_pars(), SiStripTemplate::xavgc2m(), SiStripTemplate::xrmsc2m(), SiStripTemplate::xsigma2(), xsize, SiStripTemplate::xsize(), SiStripTemplate::xtemp3d(), and SiStripTemplate::xtemp3d_int().
Referenced by TrackClusterSplitter::splitCluster(), and StripTempSplit().
int SiStripTemplateSplit::StripTempSplit | ( | int | id, |
float | cotalpha, | ||
float | cotbeta, | ||
float | locBy, | ||
std::vector< float > & | cluster, | ||
SiStripTemplate & | templ, | ||
float & | xrec1, | ||
float & | xrec2, | ||
float & | sigmax, | ||
float & | prob2x, | ||
int & | q2bin, | ||
float & | prob2Q | ||
) |
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) |
locBy | - (input) the sign of the local B_y field to specify the Lorentz drift direction |
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]. |
templ | - (input) the template used in the reconstruction |
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 |
Definition at line 438 of file SiStripTemplateSplit.cc.
References PixelCPETemplateReco_cfi::speed, and StripTempSplit().