#include <SiPixelTemplate.h>
Public Member Functions | |
float | chi2xavg (int i) |
averaage x chi^2 in 4 charge bins More... | |
float | chi2xavgone () |
//!< average x chi^2 for 1 pixel clusters More... | |
float | chi2xmin (int i) |
minimum y chi^2 in 4 charge bins More... | |
float | chi2xminone () |
//!< minimum of x chi^2 for 1 pixel clusters More... | |
float | chi2yavg (int i) |
average y chi^2 in 4 charge bins More... | |
float | chi2yavgone () |
//!< average y chi^2 for 1 pixel clusters More... | |
float | chi2ymin (int i) |
minimum y chi^2 in 4 charge bins More... | |
float | chi2yminone () |
//!< minimum of y chi^2 for 1 pixel clusters More... | |
float | clslenx () |
x-size of smaller interpolated template in pixels More... | |
float | clsleny () |
y-size of smaller interpolated template in pixels More... | |
float | dxone () |
mean offset/correction for one pixel x-clusters More... | |
float | dxtwo () |
mean offset/correction for one double-pixel x-clusters More... | |
float | dyone () |
mean offset/correction for one pixel y-clusters More... | |
float | dytwo () |
mean offset/correction for one double-pixel y-clusters More... | |
bool | interpolate (int id, float cotalpha, float cotbeta, float locBz) |
bool | interpolate (int id, float cotalpha, float cotbeta) |
float | kappavav () |
kappa parameter for Vavilov distribution More... | |
float | lorxwidth () |
signed lorentz x-width (microns) More... | |
float | lorywidth () |
signed lorentz y-width (microns) More... | |
float | mpvvav () |
most probable charge in Vavilov distribution (not actually for larger kappa) More... | |
float | pixmax () |
maximum pixel charge More... | |
bool | pushfile (int filenum) |
bool | pushfile (const SiPixelTemplateDBObject &dbobject) |
float | qavg () |
average cluster charge for this set of track angles More... | |
int | qbin (int id, float cotalpha, float cotbeta, float locBz, float qclus, float &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 &lorywidth, float &lorxwidth) |
int | qbin (int id, float cotalpha, float cotbeta, float locBz, float qclus, float &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) |
int | qbin (int id, float cotbeta, float qclus) |
void | qbin_dist (int id, float cotalpha, float cotbeta, float qbin_frac[4], float &ny1_frac, float &ny2_frac, float &nx1_frac, float &nx2_frac) |
float | qmin () |
minimum cluster charge for valid hit (keeps 99.9% of simulated hits) More... | |
float | qmin (int i) |
minimum cluster charge for valid hit (keeps 99.9% or 99.8% of simulated hits) More... | |
float | qscale () |
charge scaling factor More... | |
float | s50 () |
1/2 of the pixel threshold signal in electrons More... | |
float | sigmavav () |
"sigma" scale fctor for Vavilov distribution More... | |
bool | simpletemplate2D (float xhitp, float yhitp, std::vector< bool > &ydouble, std::vector< bool > &xdouble, float template2d[BXM2][BYM2]) |
Make simple 2-D templates from track angles set in interpolate and hit position. More... | |
SiPixelTemplate () | |
Default constructor. More... | |
float | sxmax () |
average pixel signal for x-projection of cluster More... | |
float | sxone () |
rms for one pixel x-clusters More... | |
float | sxtwo () |
rms for one double-pixel x-clusters More... | |
float | symax () |
average pixel signal for y-projection of cluster More... | |
float | syone () |
rms for one pixel y-clusters More... | |
float | sytwo () |
rms for one double-pixel y-clusters More... | |
void | temperrors (int id, float cotalpha, float cotbeta, int qBin, float &sigmay, float &sigmax, float &sy1, float &sy2, float &sx1, float &sx2) |
void | vavilov_pars (double &mpv, double &sigma, double &kappa) |
float | xavg (int i) |
average x-bias of reconstruction binned in 4 charge bins More... | |
float | xavgc2m (int i) |
1st pass chi2 min search: average x-bias of reconstruction binned in 4 charge bins More... | |
float | xflcorr (int binq, float qflx) |
float | xgsig (int i) |
average sigma_x from Gaussian fit binned in 4 charge bins More... | |
float | xgsigc2m (int i) |
1st pass chi2 min search: average sigma_x from Gaussian fit binned in 4 charge bins More... | |
float | xgx0 (int i) |
average x0 from Gaussian fit binned in 4 charge bins More... | |
float | xgx0c2m (int i) |
1st pass chi2 min search: average x0 from Gaussian fit binned in 4 charge bins More... | |
float | xrms (int i) |
average x-rms of reconstruction binned in 4 charge bins More... | |
float | xrmsc2m (int i) |
1st pass chi2 min search: average x-rms of reconstruction binned in 4 charge bins More... | |
void | xsigma2 (int fxpix, int lxpix, float sxthr, float xsum[BXSIZE], float xsig2[BXSIZE]) |
float | xsize () |
pixel x-size (microns) More... | |
void | xtemp (int fxbin, int lxbin, float xtemplate[41][BXSIZE]) |
void | xtemp3d (int nxpix, array_3d &xtemplate) |
float | xxratio () |
fractional distance in x between cotalpha templates More... | |
float | yavg (int i) |
average y-bias of reconstruction binned in 4 charge bins More... | |
float | yavgc2m (int i) |
1st pass chi2 min search: average y-bias of reconstruction binned in 4 charge bins More... | |
float | yflcorr (int binq, float qfly) |
float | ygsig (int i) |
average sigma_y from Gaussian fit binned in 4 charge bins More... | |
float | ygsigc2m (int i) |
1st pass chi2 min search: average sigma_y from Gaussian fit binned in 4 charge bins More... | |
float | ygx0 (int i) |
average y0 from Gaussian fit binned in 4 charge bins More... | |
float | ygx0c2m (int i) |
1st pass chi2 min search: average y0 from Gaussian fit binned in 4 charge bins More... | |
float | yratio () |
fractional distance in y between cotbeta templates More... | |
float | yrms (int i) |
average y-rms of reconstruction binned in 4 charge bins More... | |
float | yrmsc2m (int i) |
1st pass chi2 min search: average y-rms of reconstruction binned in 4 charge bins More... | |
void | ysigma2 (int fypix, int lypix, float sythr, float ysum[BYSIZE], float ysig2[BYSIZE]) |
void | ysigma2 (float qpixel, int index, float &ysig2) |
float | ysize () |
pixel y-size (microns) More... | |
void | ytemp (int fybin, int lybin, float ytemplate[41][BYSIZE]) |
void | ytemp3d (int nypix, array_3d &ytemplate) |
float | yxratio () |
fractional distance in y between cotalpha templates slices More... | |
float | zsize () |
pixel z-size or thickness (microns) More... | |
Private Attributes | |
float | abs_cotb |
absolute value of cot beta More... | |
float | cota_current |
current cot alpha More... | |
float | cotb_current |
current cot beta More... | |
int | id_current |
current id More... | |
int | index_id |
current index More... | |
float | pchi2xavg [4] |
average x chi^2 in 4 charge bins More... | |
float | pchi2xavgone |
average x chi^2 for 1 pixel clusters More... | |
float | pchi2xmin [4] |
minimum of x chi^2 in 4 charge bins More... | |
float | pchi2xminone |
minimum of x chi^2 for 1 pixel clusters More... | |
float | pchi2yavg [4] |
average y chi^2 in 4 charge bins More... | |
float | pchi2yavgone |
average y chi^2 for 1 pixel clusters More... | |
float | pchi2ymin [4] |
minimum of y chi^2 in 4 charge bins More... | |
float | pchi2yminone |
minimum of y chi^2 for 1 pixel clusters More... | |
float | pclslenx |
x-cluster length of smaller interpolated template in pixels More... | |
float | pclsleny |
y-cluster length of smaller interpolated template in pixels More... | |
float | pdxone |
mean offset/correction for one pixel x-clusters More... | |
float | pdxtwo |
mean offset/correction for one double-pixel x-clusters More... | |
float | pdyone |
mean offset/correction for one pixel y-clusters More... | |
float | pdytwo |
mean offset/correction for one double-pixel y-clusters More... | |
float | pkappavav |
kappa parameter for Vavilov distribution More... | |
float | plorxwidth |
Lorentz x-width. More... | |
float | plorywidth |
Lorentz y-width (sign corrected for fpix frame) More... | |
float | pmpvvav |
most probable charge in Vavilov distribution (not actually for larger kappa) More... | |
float | ppixmax |
maximum pixel charge More... | |
float | pqavg |
average cluster charge for this set of track angles More... | |
float | pqavg_avg |
average of cluster charge less than qavg More... | |
float | pqmin |
minimum cluster charge for valid hit (keeps 99.9% of simulated hits) More... | |
float | pqmin2 |
tighter minimum cluster charge for valid hit (keeps 99.8% of simulated hits) More... | |
float | pqscale |
charge scaling factor More... | |
float | ps50 |
1/2 of the pixel threshold signal in adc units More... | |
float | psigmavav |
"sigma" scale fctor for Vavilov distribution More... | |
float | psxmax |
average pixel signal for x-projection of cluster More... | |
float | psxone |
rms for one pixel x-clusters More... | |
float | psxparmax |
maximum pixel signal for parameterization of x uncertainties More... | |
float | psxtwo |
rms for one double-pixel x-clusters More... | |
float | psymax |
average pixel signal for y-projection of cluster More... | |
float | psyone |
rms for one pixel y-clusters More... | |
float | psyparmax |
maximum pixel signal for parameterization of y uncertainties More... | |
float | psytwo |
rms for one double-pixel y-clusters More... | |
float | pxavg [4] |
average x-bias of reconstruction binned in 4 charge bins More... | |
float | pxavgc2m [4] |
1st pass chi2 min search: average x-bias of reconstruction binned in 4 charge bins More... | |
float | pxflparhh [4][6] |
Aqfl-parameterized x-correction in 4 charge bins for larger cotbeta, cotalpha. More... | |
float | pxflparhl [4][6] |
Aqfl-parameterized x-correction in 4 charge bins for larger cotbeta, smaller cotalpha. More... | |
float | pxflparlh [4][6] |
Aqfl-parameterized x-correction in 4 charge bins for smaller cotbeta, larger cotalpha. More... | |
float | pxflparll [4][6] |
Aqfl-parameterized x-correction in 4 charge bins for smaller cotbeta, cotalpha. More... | |
float | pxgsig [4] |
sigma from Gaussian fit binned in 4 charge bins More... | |
float | pxgsigc2m [4] |
1st pass chi2 min search: sigma from Gaussian fit binned in 4 charge bins More... | |
float | pxgx0 [4] |
average x0 from Gaussian fit binned in 4 charge bins More... | |
float | pxgx0c2m [4] |
1st pass chi2 min search: average x0 from Gaussian fit binned in 4 charge bins More... | |
float | pxpar0 [2][5] |
projected x-pixel uncertainty parameterization for central cotalpha More... | |
float | pxparh [2][5] |
projected x-pixel uncertainty parameterization for larger cotalpha More... | |
float | pxparhy0 [2][5] |
projected x-pixel uncertainty parameterization for larger cotbeta (central alpha) More... | |
float | pxparl [2][5] |
projected x-pixel uncertainty parameterization for smaller cotalpha More... | |
float | pxparly0 [2][5] |
projected x-pixel uncertainty parameterization for smaller cotbeta (central alpha) More... | |
float | pxrms [4] |
average x-rms of reconstruction binned in 4 charge bins More... | |
float | pxrmsc2m [4] |
1st pass chi2 min search: average x-rms of reconstruction binned in 4 charge bins More... | |
float | pxsize |
Pixel x-size. More... | |
float | pxtemp [9][BXSIZE] |
templates for x-reconstruction (binned over 5 central pixels) More... | |
float | pxxratio |
fractional distance in x between cotalpha templates More... | |
float | pyavg [4] |
average y-bias of reconstruction binned in 4 charge bins More... | |
float | pyavgc2m [4] |
1st pass chi2 min search: average y-bias of reconstruction binned in 4 charge bins More... | |
float | pyflparh [4][6] |
Aqfl-parameterized y-correction in 4 charge bins for larger cotbeta. More... | |
float | pyflparl [4][6] |
Aqfl-parameterized y-correction in 4 charge bins for smaller cotbeta. More... | |
float | pygsig [4] |
average sigma_y from Gaussian fit binned in 4 charge bins More... | |
float | pygsigc2m [4] |
1st pass chi2 min search: average sigma_y from Gaussian fit binned in 4 charge bins More... | |
float | pygx0 [4] |
average y0 from Gaussian fit binned in 4 charge bins More... | |
float | pygx0c2m [4] |
1st pass chi2 min search: average y0 from Gaussian fit binned in 4 charge bins More... | |
float | pyparh [2][5] |
projected y-pixel uncertainty parameterization for larger cotbeta More... | |
float | pyparl [2][5] |
projected y-pixel uncertainty parameterization for smaller cotbeta More... | |
float | pyratio |
fractional distance in y between cotbeta templates More... | |
float | pyrms [4] |
average y-rms of reconstruction binned in 4 charge bins More... | |
float | pyrmsc2m [4] |
1st pass chi2 min search: average y-rms of reconstruction binned in 4 charge bins More... | |
float | pysize |
Pixel y-size. More... | |
float | pytemp [9][BYSIZE] |
templates for y-reconstruction (binned over 5 central pixels) More... | |
float | pyxratio |
fractional distance in y between x-slices of cotalpha templates More... | |
float | pzsize |
Pixel z-size (thickness) More... | |
bool | success |
true if cotalpha, cotbeta are inside of the acceptance (dynamically loaded) More... | |
std::vector< SiPixelTemplateStore > | thePixelTemp |
A template management class. SiPixelTemplate contains thePixelTemp (a std::vector of SiPixelTemplateStore, each of which is a collection of many SiPixelTemplateEntries). Each SiPixelTemplateStore corresponds to a given detector condition, and is valid for a range of runs. We allow more than one Store since the may change over time.
This class reads templates from files via pushfile() method.
The main functionality of SiPixelTemplate is interpolate(), which produces a template on the fly, given a specific track's alpha and beta. The results are kept in data members and accessed via inline getters.
The resulting template is then used by PixelTempReco2D() (a global function) which get the reference for SiPixelTemplate & templ and uses the current template to reconstruct the SiPixelRecHit.
Definition at line 207 of file SiPixelTemplate.h.
|
inline |
Default constructor.
Definition at line 209 of file SiPixelTemplate.h.
References cota_current, cotb_current, id_current, and index_id.
|
inline |
averaage x chi^2 in 4 charge bins
Definition at line 368 of file SiPixelTemplate.h.
References edm::hlt::Exception, i, and pchi2xavg.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateReco::PixelTempSplit().
|
inline |
//!< average x chi^2 for 1 pixel clusters
Definition at line 440 of file SiPixelTemplate.h.
References pchi2xavgone.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateReco::PixelTempSplit().
|
inline |
minimum y chi^2 in 4 charge bins
Definition at line 375 of file SiPixelTemplate.h.
References edm::hlt::Exception, i, and pchi2xmin.
Referenced by SiPixelTemplateReco::PixelTempReco2D().
|
inline |
//!< minimum of x chi^2 for 1 pixel clusters
Definition at line 441 of file SiPixelTemplate.h.
References pchi2xminone.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateReco::PixelTempSplit().
|
inline |
average y chi^2 in 4 charge bins
Definition at line 354 of file SiPixelTemplate.h.
References edm::hlt::Exception, i, and pchi2yavg.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateReco::PixelTempSplit().
|
inline |
//!< average y chi^2 for 1 pixel clusters
Definition at line 438 of file SiPixelTemplate.h.
References pchi2yavgone.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateReco::PixelTempSplit().
|
inline |
minimum y chi^2 in 4 charge bins
Definition at line 361 of file SiPixelTemplate.h.
References edm::hlt::Exception, i, and pchi2ymin.
Referenced by SiPixelTemplateReco::PixelTempReco2D().
|
inline |
//!< minimum of y chi^2 for 1 pixel clusters
Definition at line 439 of file SiPixelTemplate.h.
References pchi2yminone.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateReco::PixelTempSplit().
|
inline |
x-size of smaller interpolated template in pixels
Definition at line 294 of file SiPixelTemplate.h.
References pclslenx.
|
inline |
y-size of smaller interpolated template in pixels
Definition at line 293 of file SiPixelTemplate.h.
References pclsleny.
|
inline |
mean offset/correction for one pixel x-clusters
Definition at line 281 of file SiPixelTemplate.h.
References pdxone.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateReco::PixelTempSplit().
|
inline |
mean offset/correction for one double-pixel x-clusters
Definition at line 283 of file SiPixelTemplate.h.
References pdxtwo.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateReco::PixelTempSplit().
|
inline |
mean offset/correction for one pixel y-clusters
Definition at line 276 of file SiPixelTemplate.h.
References pdyone.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateReco::PixelTempSplit().
|
inline |
mean offset/correction for one double-pixel y-clusters
Definition at line 278 of file SiPixelTemplate.h.
References pdytwo.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateReco::PixelTempSplit().
bool SiPixelTemplate::interpolate | ( | int | id, |
float | cotalpha, | ||
float | cotbeta, | ||
float | locBz | ||
) |
Interpolate input alpha and beta angles to produce a working template for each individual hit.
id | - (input) index 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 this quantity is used to determine whether to flip cot(beta)<0 quantities from cot(beta)>0 (FPix only) for FPix IP-related tracks, locBz < 0 for cot(beta) > 0 and locBz > 0 for cot(beta) < 0 |
Definition at line 844 of file SiPixelTemplate.cc.
References abs, BXM1, BXM2, BYM1, BYM2, BYM3, edm::hlt::Exception, f, i, ExpressReco_HICollisions_FallBack::id, j, mathSSE::sqrt(), summarizeEdmComparisonLogfiles::success, TXSIZE, and TYSIZE.
Referenced by interpolate(), SiPixelTemplateReco::PixelTempReco2D(), SiPixelTemplateReco::PixelTempSplit(), and SiPixelGaussianSmearingRecHitConverterAlgorithm::smearHit().
bool SiPixelTemplate::interpolate | ( | int | id, |
float | cotalpha, | ||
float | cotbeta | ||
) |
Interpolate input alpha and beta angles to produce a working template for each individual hit.
id | - (input) index 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) |
Definition at line 1250 of file SiPixelTemplate.cc.
References interpolate().
|
inline |
kappa parameter for Vavilov distribution
Definition at line 446 of file SiPixelTemplate.h.
References pkappavav.
|
inline |
signed lorentz x-width (microns)
Definition at line 443 of file SiPixelTemplate.h.
References plorxwidth.
|
inline |
signed lorentz y-width (microns)
Definition at line 442 of file SiPixelTemplate.h.
References plorywidth.
|
inline |
most probable charge in Vavilov distribution (not actually for larger kappa)
Definition at line 444 of file SiPixelTemplate.h.
References pmpvvav.
|
inline |
maximum pixel charge
Definition at line 272 of file SiPixelTemplate.h.
References ppixmax.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateReco::PixelTempSplit().
bool SiPixelTemplate::pushfile | ( | int | filenum | ) |
This routine initializes the global template structures from an external file template_summary_zpNNNN where NNNN are four digits of filenum.
filenum | - an integer NNNN used in the filename template_summary_zpNNNN |
Definition at line 103 of file SiPixelTemplate.cc.
References SiPixelTemplateEntry::alpha, SiPixelTemplateEntry::beta, SiPixelTemplateHeader::Bfield, trackerHits::c, SiPixelTemplateEntry::chi2xavg, SiPixelTemplateEntry::chi2xavgone, SiPixelTemplateEntry::chi2xmin, SiPixelTemplateEntry::chi2xminone, SiPixelTemplateEntry::chi2yavg, SiPixelTemplateEntry::chi2yavgone, SiPixelTemplateEntry::chi2ymin, SiPixelTemplateEntry::chi2yminone, SiPixelTemplateEntry::clslenx, SiPixelTemplateEntry::clsleny, SiPixelTemplateEntry::costrk, SiPixelTemplateEntry::cotalpha, SiPixelTemplateEntry::cotbeta, SiPixelTemplateHeader::Dtype, SiPixelTemplateEntry::dxone, SiPixelTemplateEntry::dxtwo, SiPixelTemplateEntry::dyone, SiPixelTemplateEntry::dytwo, ENDL, SiPixelTemplateStore::entx, SiPixelTemplateStore::enty, dbtoweb::file, SiPixelTemplateHeader::fluence, SiPixelTemplateEntry::fracxone, SiPixelTemplateEntry::fracxtwo, SiPixelTemplateEntry::fracyone, SiPixelTemplateEntry::fracytwo, SiPixelTemplateStore::head, i, SiPixelTemplateHeader::ID, recoMuon::in, j, gen::k, SiPixelTemplateEntry::kappavav, prof2calltree::l, LOGERROR, LOGINFO, SiPixelTemplateHeader::lorxwidth, SiPixelTemplateHeader::lorywidth, SiPixelTemplateEntry::mpvvav, SiPixelTemplateHeader::NTxx, SiPixelTemplateHeader::NTy, SiPixelTemplateHeader::NTyx, SiPixelTemplateEntry::pixmax, SiPixelTemplateEntry::qavg, SiPixelTemplateEntry::qavg_avg, SiPixelTemplateEntry::qavg_spare, SiPixelTemplateEntry::qbfrac, SiPixelTemplateEntry::qmin, SiPixelTemplateEntry::qmin2, SiPixelTemplateHeader::qscale, SiPixelTemplateEntry::runnum, SiPixelTemplateHeader::s50, SiPixelTemplateEntry::sigmavav, SiPixelTemplateEntry::spare, SiPixelTemplateEntry::sxmax, SiPixelTemplateEntry::sxone, SiPixelTemplateEntry::sxtwo, SiPixelTemplateEntry::symax, SiPixelTemplateEntry::syone, SiPixelTemplateEntry::sytwo, SiPixelTemplateHeader::temperature, SiPixelTemplateHeader::templ_version, SiPixelTemplateHeader::title, TXSIZE, TYSIZE, SiPixelTemplateHeader::Vbias, SiPixelTemplateEntry::xavg, SiPixelTemplateEntry::xavgc2m, SiPixelTemplateEntry::xavggen, SiPixelTemplateEntry::xflpar, SiPixelTemplateEntry::xgsig, SiPixelTemplateEntry::xgsigc2m, SiPixelTemplateEntry::xgsiggen, SiPixelTemplateEntry::xgx0, SiPixelTemplateEntry::xgx0c2m, SiPixelTemplateEntry::xgx0gen, SiPixelTemplateEntry::xpar, SiPixelTemplateEntry::xrms, SiPixelTemplateEntry::xrmsc2m, SiPixelTemplateEntry::xrmsgen, SiPixelTemplateHeader::xsize, SiPixelTemplateEntry::xtemp, SiPixelTemplateEntry::yavg, SiPixelTemplateEntry::yavgc2m, SiPixelTemplateEntry::yavggen, SiPixelTemplateEntry::yflpar, SiPixelTemplateEntry::ygsig, SiPixelTemplateEntry::ygsigc2m, SiPixelTemplateEntry::ygsiggen, SiPixelTemplateEntry::ygx0, SiPixelTemplateEntry::ygx0c2m, SiPixelTemplateEntry::ygx0gen, SiPixelTemplateEntry::ypar, SiPixelTemplateEntry::yrms, SiPixelTemplateEntry::yrmsc2m, SiPixelTemplateEntry::yrmsgen, SiPixelTemplateHeader::ysize, SiPixelTemplateEntry::ytemp, and SiPixelTemplateHeader::zsize.
Referenced by PixelCPEGeneric::PixelCPEGeneric(), PixelCPETemplateReco::PixelCPETemplateReco(), and SiPixelGaussianSmearingRecHitConverterAlgorithm::SiPixelGaussianSmearingRecHitConverterAlgorithm().
bool SiPixelTemplate::pushfile | ( | const SiPixelTemplateDBObject & | dbobject | ) |
This routine initializes the global template structures from an external file template_summary_zpNNNN where NNNN are four digits
dbobject | - db storing multiple template calibrations |
Definition at line 484 of file SiPixelTemplate.cc.
References SiPixelTemplateEntry::alpha, SiPixelTemplateEntry::beta, SiPixelTemplateHeader::Bfield, SiPixelTemplateDBObject::char2float::c, SiPixelTemplateEntry::chi2xavg, SiPixelTemplateEntry::chi2xavgone, SiPixelTemplateEntry::chi2xmin, SiPixelTemplateEntry::chi2xminone, SiPixelTemplateEntry::chi2yavg, SiPixelTemplateEntry::chi2yavgone, SiPixelTemplateEntry::chi2ymin, SiPixelTemplateEntry::chi2yminone, SiPixelTemplateEntry::clslenx, SiPixelTemplateEntry::clsleny, SiPixelTemplateEntry::costrk, SiPixelTemplateEntry::cotalpha, SiPixelTemplateEntry::cotbeta, EcalCondDB::db, SiPixelTemplateHeader::Dtype, SiPixelTemplateEntry::dxone, SiPixelTemplateEntry::dxtwo, SiPixelTemplateEntry::dyone, SiPixelTemplateEntry::dytwo, ENDL, SiPixelTemplateStore::entx, SiPixelTemplateStore::enty, SiPixelTemplateDBObject::char2float::f, SiPixelTemplateDBObject::fail(), SiPixelTemplateHeader::fluence, SiPixelTemplateEntry::fracxone, SiPixelTemplateEntry::fracxtwo, SiPixelTemplateEntry::fracyone, SiPixelTemplateEntry::fracytwo, SiPixelTemplateStore::head, i, SiPixelTemplateHeader::ID, SiPixelTemplateDBObject::incrementIndex(), SiPixelTemplateDBObject::index(), j, gen::k, SiPixelTemplateEntry::kappavav, prof2calltree::l, LOGERROR, LOGINFO, SiPixelTemplateHeader::lorxwidth, SiPixelTemplateHeader::lorywidth, m, SiPixelTemplateEntry::mpvvav, SiPixelTemplateHeader::NTxx, SiPixelTemplateHeader::NTy, SiPixelTemplateHeader::NTyx, SiPixelTemplateDBObject::numOfTempl(), SiPixelTemplateEntry::pixmax, SiPixelTemplateEntry::qavg, SiPixelTemplateEntry::qavg_avg, SiPixelTemplateEntry::qavg_spare, SiPixelTemplateEntry::qbfrac, SiPixelTemplateEntry::qmin, SiPixelTemplateEntry::qmin2, SiPixelTemplateHeader::qscale, SiPixelTemplateEntry::runnum, SiPixelTemplateHeader::s50, SiPixelTemplateEntry::sigmavav, SiPixelTemplateEntry::spare, SiPixelTemplateDBObject::sVector(), SiPixelTemplateEntry::sxmax, SiPixelTemplateEntry::sxone, SiPixelTemplateEntry::sxtwo, SiPixelTemplateEntry::symax, SiPixelTemplateEntry::syone, SiPixelTemplateEntry::sytwo, cond::rpcobtemp::temp, SiPixelTemplateHeader::temperature, SiPixelTemplateHeader::templ_version, SiPixelTemplateHeader::title, TXSIZE, TYSIZE, SiPixelTemplateHeader::Vbias, SiPixelTemplateEntry::xavg, SiPixelTemplateEntry::xavgc2m, SiPixelTemplateEntry::xavggen, SiPixelTemplateEntry::xflpar, SiPixelTemplateEntry::xgsig, SiPixelTemplateEntry::xgsigc2m, SiPixelTemplateEntry::xgsiggen, SiPixelTemplateEntry::xgx0, SiPixelTemplateEntry::xgx0c2m, SiPixelTemplateEntry::xgx0gen, SiPixelTemplateEntry::xpar, SiPixelTemplateEntry::xrms, SiPixelTemplateEntry::xrmsc2m, SiPixelTemplateEntry::xrmsgen, SiPixelTemplateHeader::xsize, SiPixelTemplateEntry::xtemp, SiPixelTemplateEntry::yavg, SiPixelTemplateEntry::yavgc2m, SiPixelTemplateEntry::yavggen, SiPixelTemplateEntry::yflpar, SiPixelTemplateEntry::ygsig, SiPixelTemplateEntry::ygsigc2m, SiPixelTemplateEntry::ygsiggen, SiPixelTemplateEntry::ygx0, SiPixelTemplateEntry::ygx0c2m, SiPixelTemplateEntry::ygx0gen, SiPixelTemplateEntry::ypar, SiPixelTemplateEntry::yrms, SiPixelTemplateEntry::yrmsc2m, SiPixelTemplateEntry::yrmsgen, SiPixelTemplateHeader::ysize, SiPixelTemplateEntry::ytemp, and SiPixelTemplateHeader::zsize.
|
inline |
average cluster charge for this set of track angles
Definition at line 271 of file SiPixelTemplate.h.
References pqavg.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateReco::PixelTempSplit().
int SiPixelTemplate::qbin | ( | int | id, |
float | cotalpha, | ||
float | cotbeta, | ||
float | locBz, | ||
float | qclus, | ||
float & | 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 & | lorywidth, | ||
float & | lorxwidth | ||
) |
Interpolate beta/alpha angles to produce an expected average charge. Return int (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].
id | - (input) index 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 this quantity is used to determine whether to flip cot(beta)<0 quantities from cot(beta)>0 (FPix only) for FPix IP-related tracks, locBz < 0 for cot(beta) > 0 and locBz > 0 for cot(beta) < 0 |
qclus | - (input) the cluster charge in electrons |
pixmax | - (output) the maximum pixel charge in electrons (truncation value) |
sigmay | - (output) the estimated y-error for CPEGeneric in microns |
deltay | - (output) the estimated y-bias for CPEGeneric in microns |
sigmax | - (output) the estimated x-error for CPEGeneric in microns |
deltax | - (output) the estimated x-bias for CPEGeneric in microns |
sy1 | - (output) the estimated y-error for 1 single-pixel clusters in microns |
dy1 | - (output) the estimated y-bias for 1 single-pixel clusters in microns |
sy2 | - (output) the estimated y-error for 1 double-pixel clusters in microns |
dy2 | - (output) the estimated y-bias for 1 double-pixel clusters in microns |
sx1 | - (output) the estimated x-error for 1 single-pixel clusters in microns |
dx1 | - (output) the estimated x-bias for 1 single-pixel clusters in microns |
sx2 | - (output) the estimated x-error for 1 double-pixel clusters in microns |
dx2 | - (output) the estimated x-bias for 1 double-pixel clusters in microns |
lorywidth | - (output) the estimated y Lorentz width |
lorxwidth | - (output) the estimated x Lorentz width |
Definition at line 1984 of file SiPixelTemplate.cc.
References edm::hlt::Exception, i, getHLTprescales::index, and mathSSE::sqrt().
Referenced by PixelCPEGeneric::localPosition(), and qbin().
int SiPixelTemplate::qbin | ( | int | id, |
float | cotalpha, | ||
float | cotbeta, | ||
float | locBz, | ||
float | qclus, | ||
float & | 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 | ||
) |
Interpolate beta/alpha angles to produce an expected average charge. Return int (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].
id | - (input) index 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 this quantity is used to determine whether to flip cot(beta)<0 quantities from cot(beta)>0 (FPix only) for FPix IP-related tracks, locBz < 0 for cot(beta) > 0 and locBz > 0 for cot(beta) < 0 |
qclus | - (input) the cluster charge in electrons |
pixmax | - (output) the maximum pixel charge in electrons (truncation value) |
sigmay | - (output) the estimated y-error for CPEGeneric in microns |
deltay | - (output) the estimated y-bias for CPEGeneric in microns |
sigmax | - (output) the estimated x-error for CPEGeneric in microns |
deltax | - (output) the estimated x-bias for CPEGeneric in microns |
sy1 | - (output) the estimated y-error for 1 single-pixel clusters in microns |
dy1 | - (output) the estimated y-bias for 1 single-pixel clusters in microns |
sy2 | - (output) the estimated y-error for 1 double-pixel clusters in microns |
dy2 | - (output) the estimated y-bias for 1 double-pixel clusters in microns |
sx1 | - (output) the estimated x-error for 1 single-pixel clusters in microns |
dx1 | - (output) the estimated x-bias for 1 single-pixel clusters in microns |
sx2 | - (output) the estimated x-error for 1 double-pixel clusters in microns |
dx2 | - (output) the estimated x-bias for 1 double-pixel clusters in microns |
Definition at line 2258 of file SiPixelTemplate.cc.
References qbin().
int SiPixelTemplate::qbin | ( | int | id, |
float | cotbeta, | ||
float | qclus | ||
) |
Interpolate beta/alpha angles to produce an expected average charge. Return int (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].
id | - (input) index of the template to use |
cotbeta | - (input) the cotangent of the beta track angle (see CMS IN 2004/014) |
qclus | - (input) the cluster charge in electrons |
Definition at line 2275 of file SiPixelTemplate.cc.
References qbin().
void SiPixelTemplate::qbin_dist | ( | int | id, |
float | cotalpha, | ||
float | cotbeta, | ||
float | qbin_frac[4], | ||
float & | ny1_frac, | ||
float & | ny2_frac, | ||
float & | nx1_frac, | ||
float & | nx2_frac | ||
) |
Interpolate beta/alpha angles to produce estimated errors for fastsim
id | - (input) index 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) |
qbin_frac[4] | - (output) the integrated probability for qbin=0, 0+1, 0+1+2, 0+1+2+3 (1.) |
ny1_frac | - (output) the probability for ysize = 1 for a single-size pixel |
ny2_frac | - (output) the probability for ysize = 1 for a double-size pixel |
nx1_frac | - (output) the probability for xsize = 1 for a single-size pixel |
nx2_frac | - (output) the probability for xsize = 1 for a double-size pixel |
Definition at line 2505 of file SiPixelTemplate.cc.
References edm::hlt::Exception, i, and getHLTprescales::index.
Referenced by SiPixelGaussianSmearingRecHitConverterAlgorithm::smearHit().
|
inline |
minimum cluster charge for valid hit (keeps 99.9% of simulated hits)
Definition at line 285 of file SiPixelTemplate.h.
References pqmin.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateReco::PixelTempSplit().
|
inline |
minimum cluster charge for valid hit (keeps 99.9% or 99.8% of simulated hits)
Definition at line 286 of file SiPixelTemplate.h.
References edm::hlt::Exception, pqmin, and pqmin2.
|
inline |
charge scaling factor
Definition at line 273 of file SiPixelTemplate.h.
References pqscale.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateReco::PixelTempSplit().
|
inline |
1/2 of the pixel threshold signal in electrons
Definition at line 274 of file SiPixelTemplate.h.
References ps50.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), SiPixelTemplateReco::PixelTempSplit(), and SiPixelGaussianSmearingRecHitConverterAlgorithm::smearHit().
|
inline |
"sigma" scale fctor for Vavilov distribution
Definition at line 445 of file SiPixelTemplate.h.
References psigmavav.
bool SiPixelTemplate::simpletemplate2D | ( | float | xhit, |
float | yhit, | ||
std::vector< bool > & | ydouble, | ||
std::vector< bool > & | xdouble, | ||
float | template2d[BXM2][BYM2] | ||
) |
Make simple 2-D templates from track angles set in interpolate and hit position.
xhit | - (input) x-position of hit relative to the lower left corner of pixel[1][1] (to allow for the "padding" of the two-d clusters in the splitter) |
yhit | - (input) y-position of hit relative to the lower left corner of pixel[1][1] |
ydouble | - (input) STL vector of 21 element array to flag a double-pixel starting at cluster[1][1] |
xdouble | - (input) STL vector of 11 element array to flag a double-pixel starting at cluster[1][1] |
template2d | - (output) 2d template of size matched to the cluster. Input must be zeroed since charge is added only. |
Definition at line 2691 of file SiPixelTemplate.cc.
References abs, any, SimplePixel::btype, BXM3, BYM3, i, SimplePixel::i, j, SimplePixel::j, list(), max(), SimplePixel::s, mathSSE::sqrt(), SimplePixel::x, and SimplePixel::y.
|
inline |
average pixel signal for x-projection of cluster
Definition at line 280 of file SiPixelTemplate.h.
References psxmax.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateReco::PixelTempSplit().
|
inline |
rms for one pixel x-clusters
Definition at line 282 of file SiPixelTemplate.h.
References psxone.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateReco::PixelTempSplit().
|
inline |
rms for one double-pixel x-clusters
Definition at line 284 of file SiPixelTemplate.h.
References psxtwo.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateReco::PixelTempSplit().
|
inline |
average pixel signal for y-projection of cluster
Definition at line 275 of file SiPixelTemplate.h.
References psymax.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateReco::PixelTempSplit().
|
inline |
rms for one pixel y-clusters
Definition at line 277 of file SiPixelTemplate.h.
References psyone.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateReco::PixelTempSplit().
|
inline |
rms for one double-pixel y-clusters
Definition at line 279 of file SiPixelTemplate.h.
References psytwo.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateReco::PixelTempSplit().
void SiPixelTemplate::temperrors | ( | int | id, |
float | cotalpha, | ||
float | cotbeta, | ||
int | qBin, | ||
float & | sigmay, | ||
float & | sigmax, | ||
float & | sy1, | ||
float & | sy2, | ||
float & | sx1, | ||
float & | sx2 | ||
) |
Interpolate beta/alpha angles to produce estimated errors for fastsim
id | - (input) index 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) |
qBin | - (input) charge bin from 0-3 |
sigmay | - (output) the estimated y-error for CPETemplate in microns |
sigmax | - (output) the estimated x-error for CPETemplate in microns |
sy1 | - (output) the estimated y-error for 1 single-pixel clusters in microns |
sy2 | - (output) the estimated y-error for 1 double-pixel clusters in microns |
sx1 | - (output) the estimated x-error for 1 single-pixel clusters in microns |
sx2 | - (output) the estimated x-error for 1 double-pixel clusters in microns |
Definition at line 2304 of file SiPixelTemplate.cc.
References edm::hlt::Exception, i, and getHLTprescales::index.
Referenced by SiPixelGaussianSmearingRecHitConverterAlgorithm::smearHit().
void SiPixelTemplate::vavilov_pars | ( | double & | mpv, |
double & | sigma, | ||
double & | kappa | ||
) |
Interpolate beta/alpha angles to produce Vavilov parameters for the charge distribution
mpv | - (output) the Vavilov most probable charge (well, not really the most probable esp at large kappa) |
sigma | - (output) the Vavilov sigma parameter |
kappa | - (output) the Vavilov kappa parameter [0.01 (Landau-like) < kappa < 10 (Gaussian-like) |
Definition at line 2905 of file SiPixelTemplate.cc.
References edm::hlt::Exception, i, and mathSSE::sqrt().
Referenced by SiPixelTemplateReco::PixelTempReco2D().
|
inline |
average x-bias of reconstruction binned in 4 charge bins
Definition at line 326 of file SiPixelTemplate.h.
References edm::hlt::Exception, i, and pxavg.
Referenced by SiPixelTemplateReco::PixelTempReco2D().
|
inline |
1st pass chi2 min search: average x-bias of reconstruction binned in 4 charge bins
Definition at line 410 of file SiPixelTemplate.h.
References edm::hlt::Exception, i, and pxavgc2m.
Referenced by SiPixelTemplateReco::PixelTempSplit().
float SiPixelTemplate::xflcorr | ( | int | binq, |
float | qflx | ||
) |
Return interpolated x-correction for input charge bin and qflx
binq | - (input) charge bin [0-3] |
qflx | - (input) (Q_f-Q_l)/(Q_f+Q_l) for this cluster |
Definition at line 1573 of file SiPixelTemplate.cc.
References edm::hlt::Exception.
Referenced by SiPixelTemplateReco::PixelTempReco2D().
|
inline |
average sigma_x from Gaussian fit binned in 4 charge bins
Definition at line 347 of file SiPixelTemplate.h.
References edm::hlt::Exception, i, and pxgsig.
|
inline |
1st pass chi2 min search: average sigma_x from Gaussian fit binned in 4 charge bins
Definition at line 431 of file SiPixelTemplate.h.
References edm::hlt::Exception, i, and pxgsigc2m.
|
inline |
average x0 from Gaussian fit binned in 4 charge bins
Definition at line 340 of file SiPixelTemplate.h.
References edm::hlt::Exception, i, and pxgx0.
|
inline |
1st pass chi2 min search: average x0 from Gaussian fit binned in 4 charge bins
Definition at line 424 of file SiPixelTemplate.h.
References edm::hlt::Exception, i, and pxgx0c2m.
|
inline |
average x-rms of reconstruction binned in 4 charge bins
Definition at line 333 of file SiPixelTemplate.h.
References edm::hlt::Exception, i, and pxrms.
Referenced by SiPixelTemplateReco::PixelTempReco2D().
|
inline |
1st pass chi2 min search: average x-rms of reconstruction binned in 4 charge bins
Definition at line 417 of file SiPixelTemplate.h.
References edm::hlt::Exception, i, and pxrmsc2m.
Referenced by SiPixelTemplateReco::PixelTempSplit().
void SiPixelTemplate::xsigma2 | ( | int | fxpix, |
int | lxpix, | ||
float | sxthr, | ||
float | xsum[BXSIZE], | ||
float | xsig2[BXSIZE] | ||
) |
Return vector of x errors (squared) for an input vector of projected signals Add large Q scaling for use in cluster splitting.
fxpix | - (input) index of the first real pixel in the projected cluster (doesn't include pseudopixels) |
lxpix | - (input) index of the last real pixel in the projected cluster (doesn't include pseudopixels) |
sxthr | - (input) maximum signal before de-weighting |
xsum | - (input) 11-element vector of pixel signals |
xsig2 | - (output) 11-element vector of x errors (squared) |
Definition at line 1414 of file SiPixelTemplate.cc.
References BHX, BXM2, ENDL, edm::hlt::Exception, i, and LOGERROR.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateReco::PixelTempSplit().
|
inline |
pixel x-size (microns)
Definition at line 447 of file SiPixelTemplate.h.
References pxsize.
Referenced by SiPixelTemplateReco::PixelTempReco2D().
void SiPixelTemplate::xtemp | ( | int | fxbin, |
int | lxbin, | ||
float | xtemplate[41][BXSIZE] | ||
) |
Return interpolated y-template in single call
fxbin | - (input) index of first bin (0-40) to fill |
fxbin | - (input) index of last bin (0-40) to fill |
xtemplate | - (output) a 41x11 output buffer |
Definition at line 1703 of file SiPixelTemplate.cc.
References BXM1, BXM2, BXSIZE, edm::hlt::Exception, i, and j.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelGaussianSmearingRecHitConverterAlgorithm::smearHit().
void SiPixelTemplate::xtemp3d | ( | int | nxpix, |
array_3d & | xtemplate | ||
) |
Return interpolated 3d y-template in single call
nxpix | - (input) number of pixels in cluster (needed to size template) |
xtemplate | - (output) a boost 3d array containing two sets of temlate indices and the combined pixel signals |
Definition at line 1871 of file SiPixelTemplate.cc.
References BXM1, BXM3, BXSIZE, diffTreeTool::diff, edm::hlt::Exception, i, j, gen::k, and ExpressReco_HICollisions_FallBack::nbins.
Referenced by SiPixelTemplateReco::PixelTempSplit().
|
inline |
fractional distance in x between cotalpha templates
Definition at line 297 of file SiPixelTemplate.h.
References pxxratio.
|
inline |
average y-bias of reconstruction binned in 4 charge bins
Definition at line 298 of file SiPixelTemplate.h.
References edm::hlt::Exception, i, and pyavg.
Referenced by SiPixelTemplateReco::PixelTempReco2D().
|
inline |
1st pass chi2 min search: average y-bias of reconstruction binned in 4 charge bins
Definition at line 382 of file SiPixelTemplate.h.
References edm::hlt::Exception, i, and pyavgc2m.
Referenced by SiPixelTemplateReco::PixelTempSplit().
float SiPixelTemplate::yflcorr | ( | int | binq, |
float | qfly | ||
) |
Return interpolated y-correction for input charge bin and qfly
binq | - (input) charge bin [0-3] |
qfly | - (input) (Q_f-Q_l)/(Q_f+Q_l) for this cluster |
Definition at line 1521 of file SiPixelTemplate.cc.
References edm::hlt::Exception.
Referenced by SiPixelTemplateReco::PixelTempReco2D().
|
inline |
average sigma_y from Gaussian fit binned in 4 charge bins
Definition at line 319 of file SiPixelTemplate.h.
References edm::hlt::Exception, i, and pygsig.
|
inline |
1st pass chi2 min search: average sigma_y from Gaussian fit binned in 4 charge bins
Definition at line 403 of file SiPixelTemplate.h.
References edm::hlt::Exception, i, and pygsigc2m.
|
inline |
average y0 from Gaussian fit binned in 4 charge bins
Definition at line 312 of file SiPixelTemplate.h.
References edm::hlt::Exception, i, and pygx0.
|
inline |
1st pass chi2 min search: average y0 from Gaussian fit binned in 4 charge bins
Definition at line 396 of file SiPixelTemplate.h.
References edm::hlt::Exception, i, and pygx0c2m.
|
inline |
fractional distance in y between cotbeta templates
Definition at line 295 of file SiPixelTemplate.h.
References pyratio.
|
inline |
average y-rms of reconstruction binned in 4 charge bins
Definition at line 305 of file SiPixelTemplate.h.
References edm::hlt::Exception, i, and pyrms.
Referenced by SiPixelTemplateReco::PixelTempReco2D().
|
inline |
1st pass chi2 min search: average y-rms of reconstruction binned in 4 charge bins
Definition at line 389 of file SiPixelTemplate.h.
References edm::hlt::Exception, i, and pyrmsc2m.
Referenced by SiPixelTemplateReco::PixelTempSplit().
void SiPixelTemplate::ysigma2 | ( | int | fypix, |
int | lypix, | ||
float | sythr, | ||
float | ysum[BYSIZE], | ||
float | ysig2[BYSIZE] | ||
) |
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateReco::PixelTempSplit().
void SiPixelTemplate::ysigma2 | ( | float | qpixel, |
int | index, | ||
float & | ysig2 | ||
) |
Return y error (squared) for an input signal and yindex Add large Q scaling for use in cluster splitting.
qpixel | - (input) pixel charge |
index | - (input) y-index index of pixel |
ysig2 | - (output) square error |
Definition at line 1349 of file SiPixelTemplate.cc.
References BHY, BYM2, ENDL, edm::hlt::Exception, and LOGERROR.
|
inline |
pixel y-size (microns)
Definition at line 448 of file SiPixelTemplate.h.
References pysize.
Referenced by SiPixelTemplateReco::PixelTempReco2D().
void SiPixelTemplate::ytemp | ( | int | fybin, |
int | lybin, | ||
float | ytemplate[41][BYSIZE] | ||
) |
Return interpolated y-template in single call
fybin | - (input) index of first bin (0-40) to fill |
fybin | - (input) index of last bin (0-40) to fill |
ytemplate | - (output) a 41x25 output buffer |
Definition at line 1625 of file SiPixelTemplate.cc.
References BYM1, BYM2, BYSIZE, edm::hlt::Exception, i, and j.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelGaussianSmearingRecHitConverterAlgorithm::smearHit().
void SiPixelTemplate::ytemp3d | ( | int | nypix, |
array_3d & | ytemplate | ||
) |
Return interpolated 3d y-template in single call
nypix | - (input) number of pixels in cluster (needed to size template) |
ytemplate | - (output) a boost 3d array containing two sets of temlate indices and the combined pixel signals |
Definition at line 1779 of file SiPixelTemplate.cc.
References BYM1, BYM3, BYSIZE, diffTreeTool::diff, edm::hlt::Exception, i, j, gen::k, and ExpressReco_HICollisions_FallBack::nbins.
Referenced by SiPixelTemplateReco::PixelTempSplit().
|
inline |
fractional distance in y between cotalpha templates slices
Definition at line 296 of file SiPixelTemplate.h.
References pyxratio.
|
inline |
pixel z-size or thickness (microns)
Definition at line 449 of file SiPixelTemplate.h.
References pzsize.
|
private |
absolute value of cot beta
Definition at line 462 of file SiPixelTemplate.h.
|
private |
current cot alpha
Definition at line 460 of file SiPixelTemplate.h.
Referenced by SiPixelTemplate().
|
private |
|
private |
|
private |
|
private |
average x chi^2 in 4 charge bins
Definition at line 515 of file SiPixelTemplate.h.
Referenced by chi2xavg().
|
private |
average x chi^2 for 1 pixel clusters
Definition at line 527 of file SiPixelTemplate.h.
Referenced by chi2xavgone().
|
private |
minimum of x chi^2 in 4 charge bins
Definition at line 516 of file SiPixelTemplate.h.
Referenced by chi2xmin().
|
private |
minimum of x chi^2 for 1 pixel clusters
Definition at line 528 of file SiPixelTemplate.h.
Referenced by chi2xminone().
|
private |
average y chi^2 in 4 charge bins
Definition at line 513 of file SiPixelTemplate.h.
Referenced by chi2yavg().
|
private |
average y chi^2 for 1 pixel clusters
Definition at line 525 of file SiPixelTemplate.h.
Referenced by chi2yavgone().
|
private |
minimum of y chi^2 in 4 charge bins
Definition at line 514 of file SiPixelTemplate.h.
Referenced by chi2ymin().
|
private |
minimum of y chi^2 for 1 pixel clusters
Definition at line 526 of file SiPixelTemplate.h.
Referenced by chi2yminone().
|
private |
x-cluster length of smaller interpolated template in pixels
Definition at line 486 of file SiPixelTemplate.h.
Referenced by clslenx().
|
private |
y-cluster length of smaller interpolated template in pixels
Definition at line 485 of file SiPixelTemplate.h.
Referenced by clsleny().
|
private |
mean offset/correction for one pixel x-clusters
Definition at line 480 of file SiPixelTemplate.h.
Referenced by dxone().
|
private |
mean offset/correction for one double-pixel x-clusters
Definition at line 482 of file SiPixelTemplate.h.
Referenced by dxtwo().
|
private |
mean offset/correction for one pixel y-clusters
Definition at line 474 of file SiPixelTemplate.h.
Referenced by dyone().
|
private |
mean offset/correction for one double-pixel y-clusters
Definition at line 476 of file SiPixelTemplate.h.
Referenced by dytwo().
|
private |
kappa parameter for Vavilov distribution
Definition at line 532 of file SiPixelTemplate.h.
Referenced by kappavav().
|
private |
|
private |
Lorentz y-width (sign corrected for fpix frame)
Definition at line 533 of file SiPixelTemplate.h.
Referenced by lorywidth().
|
private |
most probable charge in Vavilov distribution (not actually for larger kappa)
Definition at line 530 of file SiPixelTemplate.h.
Referenced by mpvvav().
|
private |
|
private |
average cluster charge for this set of track angles
Definition at line 468 of file SiPixelTemplate.h.
Referenced by qavg().
|
private |
average of cluster charge less than qavg
Definition at line 538 of file SiPixelTemplate.h.
|
private |
minimum cluster charge for valid hit (keeps 99.9% of simulated hits)
Definition at line 484 of file SiPixelTemplate.h.
Referenced by qmin().
|
private |
tighter minimum cluster charge for valid hit (keeps 99.8% of simulated hits)
Definition at line 529 of file SiPixelTemplate.h.
Referenced by qmin().
|
private |
|
private |
1/2 of the pixel threshold signal in adc units
Definition at line 471 of file SiPixelTemplate.h.
Referenced by s50().
|
private |
"sigma" scale fctor for Vavilov distribution
Definition at line 531 of file SiPixelTemplate.h.
Referenced by sigmavav().
|
private |
average pixel signal for x-projection of cluster
Definition at line 478 of file SiPixelTemplate.h.
Referenced by sxmax().
|
private |
rms for one pixel x-clusters
Definition at line 481 of file SiPixelTemplate.h.
Referenced by sxone().
|
private |
maximum pixel signal for parameterization of x uncertainties
Definition at line 479 of file SiPixelTemplate.h.
|
private |
rms for one double-pixel x-clusters
Definition at line 483 of file SiPixelTemplate.h.
Referenced by sxtwo().
|
private |
average pixel signal for y-projection of cluster
Definition at line 472 of file SiPixelTemplate.h.
Referenced by symax().
|
private |
rms for one pixel y-clusters
Definition at line 475 of file SiPixelTemplate.h.
Referenced by syone().
|
private |
maximum pixel signal for parameterization of y uncertainties
Definition at line 473 of file SiPixelTemplate.h.
|
private |
rms for one double-pixel y-clusters
Definition at line 477 of file SiPixelTemplate.h.
Referenced by sytwo().
|
private |
average x-bias of reconstruction binned in 4 charge bins
Definition at line 505 of file SiPixelTemplate.h.
Referenced by xavg().
|
private |
1st pass chi2 min search: average x-bias of reconstruction binned in 4 charge bins
Definition at line 521 of file SiPixelTemplate.h.
Referenced by xavgc2m().
|
private |
Aqfl-parameterized x-correction in 4 charge bins for larger cotbeta, cotalpha.
Definition at line 512 of file SiPixelTemplate.h.
|
private |
Aqfl-parameterized x-correction in 4 charge bins for larger cotbeta, smaller cotalpha.
Definition at line 511 of file SiPixelTemplate.h.
|
private |
Aqfl-parameterized x-correction in 4 charge bins for smaller cotbeta, larger cotalpha.
Definition at line 510 of file SiPixelTemplate.h.
|
private |
Aqfl-parameterized x-correction in 4 charge bins for smaller cotbeta, cotalpha.
Definition at line 509 of file SiPixelTemplate.h.
|
private |
sigma from Gaussian fit binned in 4 charge bins
Definition at line 508 of file SiPixelTemplate.h.
Referenced by xgsig().
|
private |
1st pass chi2 min search: sigma from Gaussian fit binned in 4 charge bins
Definition at line 524 of file SiPixelTemplate.h.
Referenced by xgsigc2m().
|
private |
average x0 from Gaussian fit binned in 4 charge bins
Definition at line 507 of file SiPixelTemplate.h.
Referenced by xgx0().
|
private |
1st pass chi2 min search: average x0 from Gaussian fit binned in 4 charge bins
Definition at line 523 of file SiPixelTemplate.h.
Referenced by xgx0c2m().
|
private |
projected x-pixel uncertainty parameterization for central cotalpha
Definition at line 495 of file SiPixelTemplate.h.
|
private |
projected x-pixel uncertainty parameterization for larger cotalpha
Definition at line 497 of file SiPixelTemplate.h.
|
private |
projected x-pixel uncertainty parameterization for larger cotbeta (central alpha)
Definition at line 491 of file SiPixelTemplate.h.
|
private |
projected x-pixel uncertainty parameterization for smaller cotalpha
Definition at line 496 of file SiPixelTemplate.h.
|
private |
projected x-pixel uncertainty parameterization for smaller cotbeta (central alpha)
Definition at line 490 of file SiPixelTemplate.h.
|
private |
average x-rms of reconstruction binned in 4 charge bins
Definition at line 506 of file SiPixelTemplate.h.
Referenced by xrms().
|
private |
1st pass chi2 min search: average x-rms of reconstruction binned in 4 charge bins
Definition at line 522 of file SiPixelTemplate.h.
Referenced by xrmsc2m().
|
private |
|
private |
templates for x-reconstruction (binned over 5 central pixels)
Definition at line 498 of file SiPixelTemplate.h.
|
private |
fractional distance in x between cotalpha templates
Definition at line 494 of file SiPixelTemplate.h.
Referenced by xxratio().
|
private |
average y-bias of reconstruction binned in 4 charge bins
Definition at line 499 of file SiPixelTemplate.h.
Referenced by yavg().
|
private |
1st pass chi2 min search: average y-bias of reconstruction binned in 4 charge bins
Definition at line 517 of file SiPixelTemplate.h.
Referenced by yavgc2m().
|
private |
Aqfl-parameterized y-correction in 4 charge bins for larger cotbeta.
Definition at line 504 of file SiPixelTemplate.h.
|
private |
Aqfl-parameterized y-correction in 4 charge bins for smaller cotbeta.
Definition at line 503 of file SiPixelTemplate.h.
|
private |
average sigma_y from Gaussian fit binned in 4 charge bins
Definition at line 502 of file SiPixelTemplate.h.
Referenced by ygsig().
|
private |
1st pass chi2 min search: average sigma_y from Gaussian fit binned in 4 charge bins
Definition at line 520 of file SiPixelTemplate.h.
Referenced by ygsigc2m().
|
private |
average y0 from Gaussian fit binned in 4 charge bins
Definition at line 501 of file SiPixelTemplate.h.
Referenced by ygx0().
|
private |
1st pass chi2 min search: average y0 from Gaussian fit binned in 4 charge bins
Definition at line 519 of file SiPixelTemplate.h.
Referenced by ygx0c2m().
|
private |
projected y-pixel uncertainty parameterization for larger cotbeta
Definition at line 489 of file SiPixelTemplate.h.
|
private |
projected y-pixel uncertainty parameterization for smaller cotbeta
Definition at line 488 of file SiPixelTemplate.h.
|
private |
fractional distance in y between cotbeta templates
Definition at line 487 of file SiPixelTemplate.h.
Referenced by yratio().
|
private |
average y-rms of reconstruction binned in 4 charge bins
Definition at line 500 of file SiPixelTemplate.h.
Referenced by yrms().
|
private |
1st pass chi2 min search: average y-rms of reconstruction binned in 4 charge bins
Definition at line 518 of file SiPixelTemplate.h.
Referenced by yrmsc2m().
|
private |
|
private |
templates for y-reconstruction (binned over 5 central pixels)
Definition at line 492 of file SiPixelTemplate.h.
|
private |
fractional distance in y between x-slices of cotalpha templates
Definition at line 493 of file SiPixelTemplate.h.
Referenced by yxratio().
|
private |
|
private |
true if cotalpha, cotbeta are inside of the acceptance (dynamically loaded)
Definition at line 463 of file SiPixelTemplate.h.
|
private |
Definition at line 543 of file SiPixelTemplate.h.