#include <SiPixelTemplate.h>
Public Member Functions | |
float | chi2xavg (int i) |
averaage x chi^2 in 4 charge bins More... | |
float | chi2xavgc2m (int i) |
1st pass chi2 min search: average x-chisq for merged clusters 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 | chi2xminc2m (int i) |
1st pass chi2 min search: minimum x-chisq for merged clusters 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 | chi2yavgc2m (int i) |
1st pass chi2 min search: average y-chisq for merged clusters 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 | chi2yminc2m (int i) |
1st pass chi2 min search: minimum y-chisq for merged clusters 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... | |
int | cxtemp () |
Return central pixel of x-template pixels above readout threshold. More... | |
int | cytemp () |
Return central pixel of y template pixels above readout threshold. 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... | |
float | fbin (int i) |
Return lower bound of Qbin definition. 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 | kappavav2 () |
kappa parameter for 2-cluster Vavilov distribution More... | |
float | lorxbias () |
signed lorentz x-width (microns) More... | |
float | lorxwidth () |
signed lorentz x-width (microns) More... | |
float | lorybias () |
signed lorentz y-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 | mpvvav2 () |
most probable charge in 2-cluster Vavilov distribution (not actually for larger kappa) More... | |
float | pixmax () |
maximum pixel charge More... | |
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) |
int | qbin (int id, float cotalpha, float cotbeta, float qclus) |
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 | r_qMeas_qTrue () |
ratio of measured to true cluster charge More... | |
float | s50 () |
1/2 of the pixel threshold signal in electrons More... | |
float | sigmavav () |
"sigma" scale fctor for Vavilov distribution More... | |
float | sigmavav2 () |
"sigma" scale fctor for 2-cluster Vavilov distribution More... | |
bool | simpletemplate2D (float xhitp, float yhitp, std::vector< bool > &ydouble, std::vector< bool > &xdouble, float template2d[13+2][21+2]) |
Make simple 2-D templates from track angles set in interpolate and hit position. More... | |
SiPixelTemplate (const std::vector< SiPixelTemplateStore > &thePixelTemp) | |
Constructor for cases in which template store already exists. More... | |
float | ss50 () |
1/2 of the pixel threshold signal in electrons 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 | vavilov2_pars (double &mpv, double &sigma, double &kappa) |
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 | xgx0 (int i) |
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[13+4], float xsig2[13+4]) |
float | xsize () |
pixel x-size (microns) More... | |
void | xtemp (int fxbin, int lxbin, float xtemplate[41][13+4]) |
void | xtemp3d (int j, int k, std::vector< float > &xtemplate) |
void | xtemp3d_int (int nxpix, int &nxbins) |
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 | ygx0 (int i) |
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[21+4], float ysig2[21+4]) |
void | ysigma2 (float qpixel, int index, float &ysig2) |
float | ysize () |
pixel y-size (microns) More... | |
void | ytemp (int fybin, int lybin, float ytemplate[41][21+4]) |
void | ytemp3d (int j, int k, std::vector< float > &ytemplate) |
void | ytemp3d_int (int nypix, int &nybins) |
float | yxratio () |
fractional distance in y between cotalpha templates slices More... | |
float | zsize () |
pixel z-size or thickness (microns) More... | |
Static Public Member Functions | |
static void | postInit (std::vector< SiPixelTemplateStore > &thePixelTemp_) |
static bool | pushfile (int filenum, std::vector< SiPixelTemplateStore > &thePixelTemp_) |
static bool | pushfile (const SiPixelTemplateDBObject &dbobject, std::vector< SiPixelTemplateStore > &thePixelTemp_) |
Private Attributes | |
float | abs_cotb_ |
absolute value of cot beta More... | |
float | chi2xavg_ [4] |
average x chi^2 in 4 charge bins More... | |
float | chi2xavgc2m_ [4] |
1st pass chi2 min search: average x-chisq for merged clusters More... | |
float | chi2xavgone_ |
average x chi^2 for 1 pixel clusters More... | |
float | chi2xmin_ [4] |
minimum of x chi^2 in 4 charge bins More... | |
float | chi2xminc2m_ [4] |
1st pass chi2 min search: minimum x-chisq for merged clusters More... | |
float | chi2xminone_ |
minimum of x chi^2 for 1 pixel clusters More... | |
float | chi2yavg_ [4] |
average y chi^2 in 4 charge bins More... | |
float | chi2yavgc2m_ [4] |
1st pass chi2 min search: average y-chisq for merged clusters More... | |
float | chi2yavgone_ |
average y chi^2 for 1 pixel clusters More... | |
float | chi2ymin_ [4] |
minimum of y chi^2 in 4 charge bins More... | |
float | chi2yminc2m_ [4] |
1st pass chi2 min search: minimum y-chisq for merged clusters More... | |
float | chi2yminone_ |
minimum of y chi^2 for 1 pixel clusters More... | |
float | clslenx_ |
x-cluster length of smaller interpolated template in pixels More... | |
float | clsleny_ |
y-cluster length of smaller interpolated template in pixels More... | |
float | cota_current_ |
current cot alpha More... | |
float | cotb_current_ |
current cot beta 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... | |
float | fbin_ [3] |
The QBin definitions in Q_clus/Q_avg. More... | |
int | id_current_ |
current id More... | |
int | index_id_ |
current index More... | |
float | kappavav2_ |
kappa parameter for 2-cluster Vavilov distribution More... | |
float | kappavav_ |
kappa parameter for Vavilov distribution More... | |
float | lorxbias_ |
Lorentz x-bias. More... | |
float | lorxwidth_ |
Lorentz x-width. More... | |
float | lorybias_ |
Lorentz y-bias. More... | |
float | lorywidth_ |
Lorentz y-width (sign corrected for fpix frame) More... | |
float | mpvvav2_ |
most probable charge in 2-cluster Vavilov distribution (not actually for larger kappa) More... | |
float | mpvvav_ |
most probable charge in Vavilov distribution (not actually for larger kappa) More... | |
float | nxbins_ |
number of bins in each dimension of the x-splitting template More... | |
float | nybins_ |
number of bins in each dimension of the y-splitting template More... | |
float | pixmax_ |
maximum pixel charge More... | |
float | qavg_ |
average cluster charge for this set of track angles More... | |
float | qavg_avg_ |
average of cluster charge less than qavg More... | |
float | qmin2_ |
tighter minimum cluster charge for valid hit (keeps 99.8% of simulated hits) More... | |
float | qmin_ |
minimum cluster charge for valid hit (keeps 99.9% of simulated hits) More... | |
float | qscale_ |
charge scaling factor More... | |
float | r_qMeas_qTrue_ |
ratio of measured to true cluster charges More... | |
float | s50_ |
1/2 of the pixel threshold signal in adc units More... | |
float | sigmavav2_ |
"sigma" scale fctor for 2-cluster Vavilov distribution More... | |
float | sigmavav_ |
"sigma" scale fctor for Vavilov distribution More... | |
float | ss50_ |
1/2 of the pixel threshold signal in adc units More... | |
bool | success_ |
true if cotalpha, cotbeta are inside of the acceptance (dynamically loaded) More... | |
float | sxmax_ |
average pixel signal for x-projection of cluster More... | |
float | sxone_ |
rms for one pixel x-clusters More... | |
float | sxparmax_ |
maximum pixel signal for parameterization of x uncertainties 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 | syparmax_ |
maximum pixel signal for parameterization of y uncertainties More... | |
float | sytwo_ |
rms for one double-pixel y-clusters More... | |
boost::multi_array< float, 2 > | temp2dx_ |
2d-primitive for spltting 3-d template More... | |
boost::multi_array< float, 2 > | temp2dy_ |
2d-primitive for spltting 3-d template More... | |
const std::vector < SiPixelTemplateStore > & | thePixelTemp_ |
float | xavg_ [4] |
average x-bias of reconstruction binned in 4 charge bins More... | |
float | xavgc2m_ [4] |
1st pass chi2 min search: average x-bias of reconstruction binned in 4 charge bins More... | |
float | xflparhh_ [4][6] |
Aqfl-parameterized x-correction in 4 charge bins for larger cotbeta, cotalpha. More... | |
float | xflparhl_ [4][6] |
Aqfl-parameterized x-correction in 4 charge bins for larger cotbeta, smaller cotalpha. More... | |
float | xflparlh_ [4][6] |
Aqfl-parameterized x-correction in 4 charge bins for smaller cotbeta, larger cotalpha. More... | |
float | xflparll_ [4][6] |
Aqfl-parameterized x-correction in 4 charge bins for smaller cotbeta, cotalpha. More... | |
float | xgsig_ [4] |
sigma from Gaussian fit binned in 4 charge bins More... | |
float | xgx0_ [4] |
average x0 from Gaussian fit binned in 4 charge bins More... | |
float | xpar0_ [2][5] |
projected x-pixel uncertainty parameterization for central cotalpha More... | |
float | xparh_ [2][5] |
projected x-pixel uncertainty parameterization for larger cotalpha More... | |
float | xparhy0_ [2][5] |
projected x-pixel uncertainty parameterization for larger cotbeta (central alpha) More... | |
float | xparl_ [2][5] |
projected x-pixel uncertainty parameterization for smaller cotalpha More... | |
float | xparly0_ [2][5] |
projected x-pixel uncertainty parameterization for smaller cotbeta (central alpha) More... | |
float | xrms_ [4] |
average x-rms of reconstruction binned in 4 charge bins More... | |
float | xrmsc2m_ [4] |
1st pass chi2 min search: average x-rms of reconstruction binned in 4 charge bins More... | |
float | xsize_ |
Pixel x-size. More... | |
float | xtemp_ [9][13+4] |
templates for x-reconstruction (binned over 5 central pixels) More... | |
float | xxratio_ |
fractional distance in x between cotalpha templates More... | |
float | yavg_ [4] |
average y-bias of reconstruction binned in 4 charge bins More... | |
float | yavgc2m_ [4] |
1st pass chi2 min search: average y-bias of reconstruction binned in 4 charge bins More... | |
float | yflparh_ [4][6] |
Aqfl-parameterized y-correction in 4 charge bins for larger cotbeta. More... | |
float | yflparl_ [4][6] |
Aqfl-parameterized y-correction in 4 charge bins for smaller cotbeta. More... | |
float | ygsig_ [4] |
average sigma_y from Gaussian fit binned in 4 charge bins More... | |
float | ygx0_ [4] |
average y0 from Gaussian fit binned in 4 charge bins More... | |
float | yparh_ [2][5] |
projected y-pixel uncertainty parameterization for larger cotbeta More... | |
float | yparl_ [2][5] |
projected y-pixel uncertainty parameterization for smaller cotbeta More... | |
float | yratio_ |
fractional distance in y between cotbeta templates More... | |
float | yrms_ [4] |
average y-rms of reconstruction binned in 4 charge bins More... | |
float | yrmsc2m_ [4] |
1st pass chi2 min search: average y-rms of reconstruction binned in 4 charge bins More... | |
float | ysize_ |
Pixel y-size. More... | |
float | ytemp_ [9][21+4] |
templates for y-reconstruction (binned over 5 central pixels) More... | |
float | yxratio_ |
fractional distance in y between x-slices of cotalpha templates More... | |
float | zsize_ |
Pixel z-size (thickness) More... | |
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 235 of file SiPixelTemplate.h.
|
inline |
Constructor for cases in which template store already exists.
Definition at line 237 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 417 of file SiPixelTemplate.h.
References assert(), chi2xavg_, Exception, and i.
Referenced by SiPixelTemplateReco::PixelTempReco2D().
|
inline |
1st pass chi2 min search: average x-chisq for merged clusters
Definition at line 473 of file SiPixelTemplate.h.
References assert(), chi2xavgc2m_, Exception, and i.
Referenced by SiPixelTemplateSplit::PixelTempSplit().
|
inline |
//!< average x chi^2 for 1 pixel clusters
Definition at line 497 of file SiPixelTemplate.h.
References chi2xavgone_.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateSplit::PixelTempSplit().
|
inline |
minimum y chi^2 in 4 charge bins
Definition at line 424 of file SiPixelTemplate.h.
References assert(), chi2xmin_, Exception, and i.
Referenced by SiPixelTemplateReco::PixelTempReco2D().
|
inline |
1st pass chi2 min search: minimum x-chisq for merged clusters
Definition at line 480 of file SiPixelTemplate.h.
References assert(), chi2xminc2m_, Exception, and i.
|
inline |
//!< minimum of x chi^2 for 1 pixel clusters
Definition at line 498 of file SiPixelTemplate.h.
References chi2xminone_.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateSplit::PixelTempSplit().
|
inline |
average y chi^2 in 4 charge bins
Definition at line 403 of file SiPixelTemplate.h.
References assert(), chi2yavg_, Exception, and i.
Referenced by SiPixelTemplateReco::PixelTempReco2D().
|
inline |
1st pass chi2 min search: average y-chisq for merged clusters
Definition at line 445 of file SiPixelTemplate.h.
References assert(), chi2yavgc2m_, Exception, and i.
Referenced by SiPixelTemplateSplit::PixelTempSplit().
|
inline |
//!< average y chi^2 for 1 pixel clusters
Definition at line 495 of file SiPixelTemplate.h.
References chi2yavgone_.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateSplit::PixelTempSplit().
|
inline |
minimum y chi^2 in 4 charge bins
Definition at line 410 of file SiPixelTemplate.h.
References assert(), chi2ymin_, Exception, and i.
Referenced by SiPixelTemplateReco::PixelTempReco2D().
|
inline |
1st pass chi2 min search: minimum y-chisq for merged clusters
Definition at line 452 of file SiPixelTemplate.h.
References assert(), chi2yminc2m_, Exception, and i.
|
inline |
//!< minimum of y chi^2 for 1 pixel clusters
Definition at line 496 of file SiPixelTemplate.h.
References chi2yminone_.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateSplit::PixelTempSplit().
|
inline |
x-size of smaller interpolated template in pixels
Definition at line 343 of file SiPixelTemplate.h.
References clslenx_.
|
inline |
y-size of smaller interpolated template in pixels
Definition at line 342 of file SiPixelTemplate.h.
References clsleny_.
int SiPixelTemplate::cxtemp | ( | ) |
Return central pixel of x-template pixels above readout threshold.
Definition at line 1992 of file SiPixelTemplate.cc.
References BXM1, BXM2, BXSIZE, and j.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateSplit::PixelTempSplit().
int SiPixelTemplate::cytemp | ( | ) |
Return central pixel of y template pixels above readout threshold.
Definition at line 1943 of file SiPixelTemplate.cc.
References BYM1, BYM2, BYSIZE, and j.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateSplit::PixelTempSplit().
|
inline |
mean offset/correction for one pixel x-clusters
Definition at line 330 of file SiPixelTemplate.h.
References dxone_.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateSplit::PixelTempSplit().
|
inline |
mean offset/correction for one double-pixel x-clusters
Definition at line 332 of file SiPixelTemplate.h.
References dxtwo_.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateSplit::PixelTempSplit().
|
inline |
mean offset/correction for one pixel y-clusters
Definition at line 325 of file SiPixelTemplate.h.
References dyone_.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateSplit::PixelTempSplit().
|
inline |
mean offset/correction for one double-pixel y-clusters
Definition at line 327 of file SiPixelTemplate.h.
References dytwo_.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateSplit::PixelTempSplit().
|
inline |
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 981 of file SiPixelTemplate.cc.
References funct::abs(), assert(), BXM1, BXM2, BYM1, BYM2, BYM3, Exception, f, i, j, mathSSE::sqrt(), TXSIZE, and TYSIZE.
Referenced by interpolate(), SiPixelTemplateReco::PixelTempReco2D(), SiPixelTemplateSplit::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 1412 of file SiPixelTemplate.cc.
References f, and interpolate().
|
inline |
kappa parameter for Vavilov distribution
Definition at line 507 of file SiPixelTemplate.h.
References kappavav_.
|
inline |
kappa parameter for 2-cluster Vavilov distribution
Definition at line 510 of file SiPixelTemplate.h.
References kappavav2_.
|
inline |
signed lorentz x-width (microns)
Definition at line 504 of file SiPixelTemplate.h.
References lorxbias_.
Referenced by PixelCPETemplateReco::localPosition().
|
inline |
signed lorentz x-width (microns)
Definition at line 500 of file SiPixelTemplate.h.
References lorxwidth_.
|
inline |
signed lorentz y-width (microns)
Definition at line 503 of file SiPixelTemplate.h.
References lorybias_.
Referenced by PixelCPETemplateReco::localPosition().
|
inline |
signed lorentz y-width (microns)
Definition at line 499 of file SiPixelTemplate.h.
References lorywidth_.
|
inline |
most probable charge in Vavilov distribution (not actually for larger kappa)
Definition at line 505 of file SiPixelTemplate.h.
References mpvvav_.
|
inline |
most probable charge in 2-cluster Vavilov distribution (not actually for larger kappa)
Definition at line 508 of file SiPixelTemplate.h.
References mpvvav2_.
|
inline |
maximum pixel charge
Definition at line 320 of file SiPixelTemplate.h.
References pixmax_.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateSplit::PixelTempSplit().
|
static |
Definition at line 944 of file SiPixelTemplate.cc.
References citk::for().
|
static |
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 124 of file SiPixelTemplate.cc.
References SiPixelTemplateEntry::alpha, SiPixelTemplateEntry::beta, SiPixelTemplateHeader::Bfield, EnergyCorrector::c, SiPixelTemplateEntry::chi2xavg, SiPixelTemplateEntry::chi2xavgc2m, SiPixelTemplateEntry::chi2xavgone, SiPixelTemplateEntry::chi2xmin, SiPixelTemplateEntry::chi2xminc2m, SiPixelTemplateEntry::chi2xminone, SiPixelTemplateEntry::chi2yavg, SiPixelTemplateEntry::chi2yavgc2m, SiPixelTemplateEntry::chi2yavgone, SiPixelTemplateEntry::chi2ymin, SiPixelTemplateEntry::chi2yminc2m, 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, SiPixelTemplateHeader::fbin, mergeVDriftHistosByStation::file, SiPixelTemplateHeader::fluence, SiPixelTemplateEntry::fracxone, SiPixelTemplateEntry::fracxtwo, SiPixelTemplateEntry::fracyone, SiPixelTemplateEntry::fracytwo, SiPixelTemplateStore::head, i, SiPixelTemplateHeader::ID, recoMuon::in, create_public_lumi_plots::in_file, j, relval_steps::k, SiPixelTemplateEntry::kappavav, SiPixelTemplateEntry::kappavav2, prof2calltree::l, LOGERROR, LOGINFO, SiPixelTemplateHeader::lorxbias, SiPixelTemplateHeader::lorxwidth, SiPixelTemplateHeader::lorybias, SiPixelTemplateHeader::lorywidth, SiPixelTemplateEntry::mpvvav, SiPixelTemplateEntry::mpvvav2, SiPixelTemplateHeader::NTxx, SiPixelTemplateHeader::NTy, SiPixelTemplateHeader::NTyx, SiPixelTemplateEntry::pixmax, SiPixelTemplateEntry::qavg, SiPixelTemplateEntry::qavg_avg, SiPixelTemplateEntry::qbfrac, SiPixelTemplateEntry::qmin, SiPixelTemplateEntry::qmin2, SiPixelTemplateHeader::qscale, SiPixelTemplateEntry::r_qMeas_qTrue, SiPixelTemplateEntry::runnum, SiPixelTemplateHeader::s50, SiPixelTemplateEntry::sigmavav, SiPixelTemplateEntry::sigmavav2, SiPixelTemplateEntry::spare, SiPixelTemplateHeader::ss50, AlCaHLTBitMon_QueryRunRegistry::string, 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::xgsiggen, SiPixelTemplateEntry::xgx0, 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::ygsiggen, SiPixelTemplateEntry::ygx0, SiPixelTemplateEntry::ygx0gen, SiPixelTemplateEntry::ypar, SiPixelTemplateEntry::yrms, SiPixelTemplateEntry::yrmsc2m, SiPixelTemplateEntry::yrmsgen, SiPixelTemplateHeader::ysize, SiPixelTemplateEntry::ytemp, and SiPixelTemplateHeader::zsize.
Referenced by PixelCPEGeneric::PixelCPEGeneric(), PixelCPETemplateReco::PixelCPETemplateReco(), SiPixelGaussianSmearingRecHitConverterAlgorithm::SiPixelGaussianSmearingRecHitConverterAlgorithm(), and TrackClusterSplitter::TrackClusterSplitter().
|
static |
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 542 of file SiPixelTemplate.cc.
References SiPixelTemplateDBObject::char2float::c, EcalCondDB::db, ENDL, SiPixelTemplateDBObject::char2float::f, i, j, relval_steps::k, prof2calltree::l, LOGERROR, LOGINFO, visualization-live-secondInstance_cfg::m, SiPixelTemplateDBObject::reader(), groupFilesInBlocks::temp, TXSIZE, and TYSIZE.
|
inline |
average cluster charge for this set of track angles
Definition at line 319 of file SiPixelTemplate.h.
References qavg_.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateSplit::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 | ||
) |
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 2267 of file SiPixelTemplate.cc.
References funct::abs(), assert(), Exception, f, i, cmsHarvester::index, j, and mathSSE::sqrt().
Referenced by PixelCPEGeneric::localPosition(), qbin(), and TrackClusterSplitter::splitCluster().
int SiPixelTemplate::qbin | ( | int | id, |
float | cotalpha, | ||
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 |
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 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) |
qclus | - (input) the cluster charge in electrons |
Definition at line 2531 of file SiPixelTemplate.cc.
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 2551 of file SiPixelTemplate.cc.
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 2779 of file SiPixelTemplate.cc.
References assert(), Exception, f, i, and cmsHarvester::index.
Referenced by SiPixelGaussianSmearingRecHitConverterAlgorithm::smearHit().
|
inline |
minimum cluster charge for valid hit (keeps 99.9% of simulated hits)
Definition at line 334 of file SiPixelTemplate.h.
References qmin_.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateSplit::PixelTempSplit().
|
inline |
|
inline |
charge scaling factor
Definition at line 321 of file SiPixelTemplate.h.
References qscale_.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateSplit::PixelTempSplit().
|
inline |
ratio of measured to true cluster charge
Definition at line 514 of file SiPixelTemplate.h.
References r_qMeas_qTrue_.
|
inline |
1/2 of the pixel threshold signal in electrons
Definition at line 322 of file SiPixelTemplate.h.
References s50_.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), SiPixelTemplateSplit::PixelTempSplit(), SiPixelGaussianSmearingRecHitConverterAlgorithm::smearHit(), and TrackClusterSplitter::splitCluster().
|
inline |
"sigma" scale fctor for Vavilov distribution
Definition at line 506 of file SiPixelTemplate.h.
References sigmavav_.
|
inline |
"sigma" scale fctor for 2-cluster Vavilov distribution
Definition at line 509 of file SiPixelTemplate.h.
References sigmavav2_.
bool SiPixelTemplate::simpletemplate2D | ( | float | xhit, |
float | yhit, | ||
std::vector< bool > & | ydouble, | ||
std::vector< bool > & | xdouble, | ||
float | template2d[13+2][21+2] | ||
) |
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 2963 of file SiPixelTemplate.cc.
References funct::abs(), any(), SimplePixel::btype, BXM3, BYM3, f, i, SimplePixel::i, j, SimplePixel::j, list(), bookConverter::max, SimplePixel::s, mathSSE::sqrt(), SimplePixel::x, and SimplePixel::y.
Referenced by SiPixelTemplateSplit::PixelTempSplit(), and TrackClusterSplitter::splitCluster().
|
inline |
1/2 of the pixel threshold signal in electrons
Definition at line 323 of file SiPixelTemplate.h.
References ss50_.
|
inline |
average pixel signal for x-projection of cluster
Definition at line 329 of file SiPixelTemplate.h.
References sxmax_.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateSplit::PixelTempSplit().
|
inline |
rms for one pixel x-clusters
Definition at line 331 of file SiPixelTemplate.h.
References sxone_.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateSplit::PixelTempSplit().
|
inline |
rms for one double-pixel x-clusters
Definition at line 333 of file SiPixelTemplate.h.
References sxtwo_.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateSplit::PixelTempSplit().
|
inline |
average pixel signal for y-projection of cluster
Definition at line 324 of file SiPixelTemplate.h.
References symax_.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateSplit::PixelTempSplit().
|
inline |
rms for one pixel y-clusters
Definition at line 326 of file SiPixelTemplate.h.
References syone_.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateSplit::PixelTempSplit().
|
inline |
rms for one double-pixel y-clusters
Definition at line 328 of file SiPixelTemplate.h.
References sytwo_.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateSplit::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 2580 of file SiPixelTemplate.cc.
References assert(), Exception, f, i, and cmsHarvester::index.
Referenced by SiPixelGaussianSmearingRecHitConverterAlgorithm::smearHit().
void SiPixelTemplate::vavilov2_pars | ( | double & | mpv, |
double & | sigma, | ||
double & | kappa | ||
) |
Interpolate beta/alpha angles to produce Vavilov parameters for the 2-cluster 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 3255 of file SiPixelTemplate.cc.
References assert(), Exception, f, i, and mathSSE::sqrt().
Referenced by SiPixelTemplateSplit::PixelTempSplit().
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 3177 of file SiPixelTemplate.cc.
References assert(), Exception, f, i, and mathSSE::sqrt().
Referenced by SiPixelTemplateReco::PixelTempReco2D().
|
inline |
average x-bias of reconstruction binned in 4 charge bins
Definition at line 375 of file SiPixelTemplate.h.
References assert(), Exception, i, and xavg_.
Referenced by SiPixelTemplateReco::PixelTempReco2D().
|
inline |
1st pass chi2 min search: average x-bias of reconstruction binned in 4 charge bins
Definition at line 459 of file SiPixelTemplate.h.
References assert(), Exception, i, and xavgc2m_.
Referenced by SiPixelTemplateSplit::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 1739 of file SiPixelTemplate.cc.
References assert(), Exception, and f.
Referenced by SiPixelTemplateReco::PixelTempReco2D().
|
inline |
|
inline |
|
inline |
average x-rms of reconstruction binned in 4 charge bins
Definition at line 382 of file SiPixelTemplate.h.
References assert(), Exception, i, and xrms_.
Referenced by SiPixelTemplateReco::PixelTempReco2D().
|
inline |
1st pass chi2 min search: average x-rms of reconstruction binned in 4 charge bins
Definition at line 466 of file SiPixelTemplate.h.
References assert(), Exception, i, and xrmsc2m_.
Referenced by SiPixelTemplateSplit::PixelTempSplit().
void SiPixelTemplate::xsigma2 | ( | int | fxpix, |
int | lxpix, | ||
float | sxthr, | ||
float | xsum[13+4], | ||
float | xsig2[13+4] | ||
) |
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 1578 of file SiPixelTemplate.cc.
References assert(), BHX, BXM2, ENDL, Exception, f, i, and LOGERROR.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateSplit::PixelTempSplit().
|
inline |
pixel x-size (microns)
Definition at line 511 of file SiPixelTemplate.h.
References xsize_.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), SiPixelTemplateSplit::PixelTempSplit(), and TrackClusterSplitter::splitCluster().
void SiPixelTemplate::xtemp | ( | int | fxbin, |
int | lxbin, | ||
float | xtemplate[41][13+4] | ||
) |
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 1869 of file SiPixelTemplate.cc.
References assert(), BXM1, BXM2, BXSIZE, Exception, i, and j.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelGaussianSmearingRecHitConverterAlgorithm::smearHit().
void SiPixelTemplate::xtemp3d | ( | int | i, |
int | j, | ||
std::vector< float > & | xtemplate | ||
) |
Return interpolated 3d x-template in single call
i,j | - (input) template indices |
xtemplate | - (output) a boost 3d array containing two sets of temlate indices and the combined pixel signals |
Definition at line 2223 of file SiPixelTemplate.cc.
References BXSIZE, i, j, and relval_steps::k.
Referenced by SiPixelTemplateSplit::PixelTempSplit().
void SiPixelTemplate::xtemp3d_int | ( | int | nxpix, |
int & | nxbins | ||
) |
Make interpolated 3d x-template (stored as class variables)
nxpix | - (input) number of pixels in cluster (needed to size template) |
nxbins | - (output) number of bins needed for each template projection |
Definition at line 2144 of file SiPixelTemplate.cc.
References assert(), BXM1, BXM3, BXSIZE, diffTreeTool::diff, Exception, i, j, and relval_steps::k.
Referenced by SiPixelTemplateSplit::PixelTempSplit().
|
inline |
fractional distance in x between cotalpha templates
Definition at line 346 of file SiPixelTemplate.h.
References xxratio_.
|
inline |
average y-bias of reconstruction binned in 4 charge bins
Definition at line 347 of file SiPixelTemplate.h.
References assert(), Exception, i, and yavg_.
Referenced by SiPixelTemplateReco::PixelTempReco2D().
|
inline |
1st pass chi2 min search: average y-bias of reconstruction binned in 4 charge bins
Definition at line 431 of file SiPixelTemplate.h.
References assert(), Exception, i, and yavgc2m_.
Referenced by SiPixelTemplateSplit::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 1687 of file SiPixelTemplate.cc.
References assert(), Exception, and f.
Referenced by SiPixelTemplateReco::PixelTempReco2D().
|
inline |
|
inline |
|
inline |
fractional distance in y between cotbeta templates
Definition at line 344 of file SiPixelTemplate.h.
References yratio_.
|
inline |
average y-rms of reconstruction binned in 4 charge bins
Definition at line 354 of file SiPixelTemplate.h.
References assert(), Exception, i, and yrms_.
Referenced by SiPixelTemplateReco::PixelTempReco2D().
|
inline |
1st pass chi2 min search: average y-rms of reconstruction binned in 4 charge bins
Definition at line 438 of file SiPixelTemplate.h.
References assert(), Exception, i, and yrmsc2m_.
Referenced by SiPixelTemplateSplit::PixelTempSplit().
void SiPixelTemplate::ysigma2 | ( | int | fypix, |
int | lypix, | ||
float | sythr, | ||
float | ysum[21+4], | ||
float | ysig2[21+4] | ||
) |
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelTemplateSplit::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 1513 of file SiPixelTemplate.cc.
References assert(), BHY, BYM2, ENDL, Exception, f, and LOGERROR.
|
inline |
pixel y-size (microns)
Definition at line 512 of file SiPixelTemplate.h.
References ysize_.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), SiPixelTemplateSplit::PixelTempSplit(), and TrackClusterSplitter::splitCluster().
void SiPixelTemplate::ytemp | ( | int | fybin, |
int | lybin, | ||
float | ytemplate[41][21+4] | ||
) |
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 1791 of file SiPixelTemplate.cc.
References assert(), BYM1, BYM2, BYSIZE, Exception, i, and j.
Referenced by SiPixelTemplateReco::PixelTempReco2D(), and SiPixelGaussianSmearingRecHitConverterAlgorithm::smearHit().
void SiPixelTemplate::ytemp3d | ( | int | i, |
int | j, | ||
std::vector< float > & | ytemplate | ||
) |
Return interpolated 3d y-template in single call
i,j | - (input) template indices |
ytemplate | - (output) a boost 3d array containing two sets of temlate indices and the combined pixel signals |
Definition at line 2120 of file SiPixelTemplate.cc.
References BYSIZE, i, j, and relval_steps::k.
Referenced by SiPixelTemplateSplit::PixelTempSplit().
void SiPixelTemplate::ytemp3d_int | ( | int | nypix, |
int & | nybins | ||
) |
Make interpolated 3d y-template (stored as class variables)
nypix | - (input) number of pixels in cluster (needed to size template) |
nybins | - (output) number of bins needed for each template projection |
Definition at line 2042 of file SiPixelTemplate.cc.
References assert(), BYM1, BYM3, BYSIZE, diffTreeTool::diff, Exception, i, j, and relval_steps::k.
Referenced by SiPixelTemplateSplit::PixelTempSplit().
|
inline |
fractional distance in y between cotalpha templates slices
Definition at line 345 of file SiPixelTemplate.h.
References yxratio_.
|
inline |
pixel z-size or thickness (microns)
Definition at line 513 of file SiPixelTemplate.h.
References zsize_.
|
private |
absolute value of cot beta
Definition at line 527 of file SiPixelTemplate.h.
|
private |
average x chi^2 in 4 charge bins
Definition at line 581 of file SiPixelTemplate.h.
Referenced by chi2xavg().
|
private |
1st pass chi2 min search: average x-chisq for merged clusters
Definition at line 589 of file SiPixelTemplate.h.
Referenced by chi2xavgc2m().
|
private |
average x chi^2 for 1 pixel clusters
Definition at line 593 of file SiPixelTemplate.h.
Referenced by chi2xavgone().
|
private |
minimum of x chi^2 in 4 charge bins
Definition at line 582 of file SiPixelTemplate.h.
Referenced by chi2xmin().
|
private |
1st pass chi2 min search: minimum x-chisq for merged clusters
Definition at line 590 of file SiPixelTemplate.h.
Referenced by chi2xminc2m().
|
private |
minimum of x chi^2 for 1 pixel clusters
Definition at line 594 of file SiPixelTemplate.h.
Referenced by chi2xminone().
|
private |
average y chi^2 in 4 charge bins
Definition at line 579 of file SiPixelTemplate.h.
Referenced by chi2yavg().
|
private |
1st pass chi2 min search: average y-chisq for merged clusters
Definition at line 585 of file SiPixelTemplate.h.
Referenced by chi2yavgc2m().
|
private |
average y chi^2 for 1 pixel clusters
Definition at line 591 of file SiPixelTemplate.h.
Referenced by chi2yavgone().
|
private |
minimum of y chi^2 in 4 charge bins
Definition at line 580 of file SiPixelTemplate.h.
Referenced by chi2ymin().
|
private |
1st pass chi2 min search: minimum y-chisq for merged clusters
Definition at line 586 of file SiPixelTemplate.h.
Referenced by chi2yminc2m().
|
private |
minimum of y chi^2 for 1 pixel clusters
Definition at line 592 of file SiPixelTemplate.h.
Referenced by chi2yminone().
|
private |
x-cluster length of smaller interpolated template in pixels
Definition at line 552 of file SiPixelTemplate.h.
Referenced by clslenx().
|
private |
y-cluster length of smaller interpolated template in pixels
Definition at line 551 of file SiPixelTemplate.h.
Referenced by clsleny().
|
private |
current cot alpha
Definition at line 525 of file SiPixelTemplate.h.
Referenced by SiPixelTemplate().
|
private |
|
private |
mean offset/correction for one pixel x-clusters
Definition at line 546 of file SiPixelTemplate.h.
Referenced by dxone().
|
private |
mean offset/correction for one double-pixel x-clusters
Definition at line 548 of file SiPixelTemplate.h.
Referenced by dxtwo().
|
private |
mean offset/correction for one pixel y-clusters
Definition at line 540 of file SiPixelTemplate.h.
Referenced by dyone().
|
private |
mean offset/correction for one double-pixel y-clusters
Definition at line 542 of file SiPixelTemplate.h.
Referenced by dytwo().
|
private |
The QBin definitions in Q_clus/Q_avg.
Definition at line 613 of file SiPixelTemplate.h.
Referenced by fbin().
|
private |
|
private |
|
private |
kappa parameter for 2-cluster Vavilov distribution
Definition at line 601 of file SiPixelTemplate.h.
Referenced by kappavav2().
|
private |
kappa parameter for Vavilov distribution
Definition at line 598 of file SiPixelTemplate.h.
Referenced by kappavav().
|
private |
|
private |
|
private |
|
private |
Lorentz y-width (sign corrected for fpix frame)
Definition at line 602 of file SiPixelTemplate.h.
Referenced by lorywidth().
|
private |
most probable charge in 2-cluster Vavilov distribution (not actually for larger kappa)
Definition at line 599 of file SiPixelTemplate.h.
Referenced by mpvvav2().
|
private |
most probable charge in Vavilov distribution (not actually for larger kappa)
Definition at line 596 of file SiPixelTemplate.h.
Referenced by mpvvav().
|
private |
number of bins in each dimension of the x-splitting template
Definition at line 611 of file SiPixelTemplate.h.
|
private |
number of bins in each dimension of the y-splitting template
Definition at line 610 of file SiPixelTemplate.h.
|
private |
|
private |
average cluster charge for this set of track angles
Definition at line 533 of file SiPixelTemplate.h.
Referenced by qavg().
|
private |
average of cluster charge less than qavg
Definition at line 609 of file SiPixelTemplate.h.
|
private |
tighter minimum cluster charge for valid hit (keeps 99.8% of simulated hits)
Definition at line 595 of file SiPixelTemplate.h.
Referenced by qmin().
|
private |
minimum cluster charge for valid hit (keeps 99.9% of simulated hits)
Definition at line 550 of file SiPixelTemplate.h.
Referenced by qmin().
|
private |
|
private |
ratio of measured to true cluster charges
Definition at line 612 of file SiPixelTemplate.h.
Referenced by r_qMeas_qTrue().
|
private |
1/2 of the pixel threshold signal in adc units
Definition at line 536 of file SiPixelTemplate.h.
Referenced by s50().
|
private |
"sigma" scale fctor for 2-cluster Vavilov distribution
Definition at line 600 of file SiPixelTemplate.h.
Referenced by sigmavav2().
|
private |
"sigma" scale fctor for Vavilov distribution
Definition at line 597 of file SiPixelTemplate.h.
Referenced by sigmavav().
|
private |
1/2 of the pixel threshold signal in adc units
Definition at line 537 of file SiPixelTemplate.h.
Referenced by ss50().
|
private |
true if cotalpha, cotbeta are inside of the acceptance (dynamically loaded)
Definition at line 528 of file SiPixelTemplate.h.
|
private |
average pixel signal for x-projection of cluster
Definition at line 544 of file SiPixelTemplate.h.
Referenced by sxmax().
|
private |
rms for one pixel x-clusters
Definition at line 547 of file SiPixelTemplate.h.
Referenced by sxone().
|
private |
maximum pixel signal for parameterization of x uncertainties
Definition at line 545 of file SiPixelTemplate.h.
|
private |
rms for one double-pixel x-clusters
Definition at line 549 of file SiPixelTemplate.h.
Referenced by sxtwo().
|
private |
average pixel signal for y-projection of cluster
Definition at line 538 of file SiPixelTemplate.h.
Referenced by symax().
|
private |
rms for one pixel y-clusters
Definition at line 541 of file SiPixelTemplate.h.
Referenced by syone().
|
private |
maximum pixel signal for parameterization of y uncertainties
Definition at line 539 of file SiPixelTemplate.h.
|
private |
rms for one double-pixel y-clusters
Definition at line 543 of file SiPixelTemplate.h.
Referenced by sytwo().
|
private |
2d-primitive for spltting 3-d template
Definition at line 615 of file SiPixelTemplate.h.
|
private |
2d-primitive for spltting 3-d template
Definition at line 614 of file SiPixelTemplate.h.
|
private |
Definition at line 620 of file SiPixelTemplate.h.
|
private |
average x-bias of reconstruction binned in 4 charge bins
Definition at line 571 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 587 of file SiPixelTemplate.h.
Referenced by xavgc2m().
|
private |
Aqfl-parameterized x-correction in 4 charge bins for larger cotbeta, cotalpha.
Definition at line 578 of file SiPixelTemplate.h.
|
private |
Aqfl-parameterized x-correction in 4 charge bins for larger cotbeta, smaller cotalpha.
Definition at line 577 of file SiPixelTemplate.h.
|
private |
Aqfl-parameterized x-correction in 4 charge bins for smaller cotbeta, larger cotalpha.
Definition at line 576 of file SiPixelTemplate.h.
|
private |
Aqfl-parameterized x-correction in 4 charge bins for smaller cotbeta, cotalpha.
Definition at line 575 of file SiPixelTemplate.h.
|
private |
sigma from Gaussian fit binned in 4 charge bins
Definition at line 574 of file SiPixelTemplate.h.
Referenced by xgsig().
|
private |
average x0 from Gaussian fit binned in 4 charge bins
Definition at line 573 of file SiPixelTemplate.h.
Referenced by xgx0().
|
private |
projected x-pixel uncertainty parameterization for central cotalpha
Definition at line 561 of file SiPixelTemplate.h.
|
private |
projected x-pixel uncertainty parameterization for larger cotalpha
Definition at line 563 of file SiPixelTemplate.h.
|
private |
projected x-pixel uncertainty parameterization for larger cotbeta (central alpha)
Definition at line 557 of file SiPixelTemplate.h.
|
private |
projected x-pixel uncertainty parameterization for smaller cotalpha
Definition at line 562 of file SiPixelTemplate.h.
|
private |
projected x-pixel uncertainty parameterization for smaller cotbeta (central alpha)
Definition at line 556 of file SiPixelTemplate.h.
|
private |
average x-rms of reconstruction binned in 4 charge bins
Definition at line 572 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 588 of file SiPixelTemplate.h.
Referenced by xrmsc2m().
|
private |
|
private |
templates for x-reconstruction (binned over 5 central pixels)
Definition at line 564 of file SiPixelTemplate.h.
|
private |
fractional distance in x between cotalpha templates
Definition at line 560 of file SiPixelTemplate.h.
Referenced by xxratio().
|
private |
average y-bias of reconstruction binned in 4 charge bins
Definition at line 565 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 583 of file SiPixelTemplate.h.
Referenced by yavgc2m().
|
private |
Aqfl-parameterized y-correction in 4 charge bins for larger cotbeta.
Definition at line 570 of file SiPixelTemplate.h.
|
private |
Aqfl-parameterized y-correction in 4 charge bins for smaller cotbeta.
Definition at line 569 of file SiPixelTemplate.h.
|
private |
average sigma_y from Gaussian fit binned in 4 charge bins
Definition at line 568 of file SiPixelTemplate.h.
Referenced by ygsig().
|
private |
average y0 from Gaussian fit binned in 4 charge bins
Definition at line 567 of file SiPixelTemplate.h.
Referenced by ygx0().
|
private |
projected y-pixel uncertainty parameterization for larger cotbeta
Definition at line 555 of file SiPixelTemplate.h.
|
private |
projected y-pixel uncertainty parameterization for smaller cotbeta
Definition at line 554 of file SiPixelTemplate.h.
|
private |
fractional distance in y between cotbeta templates
Definition at line 553 of file SiPixelTemplate.h.
Referenced by yratio().
|
private |
average y-rms of reconstruction binned in 4 charge bins
Definition at line 566 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 584 of file SiPixelTemplate.h.
Referenced by yrmsc2m().
|
private |
|
private |
templates for y-reconstruction (binned over 5 central pixels)
Definition at line 558 of file SiPixelTemplate.h.
|
private |
fractional distance in y between x-slices of cotalpha templates
Definition at line 559 of file SiPixelTemplate.h.
Referenced by yxratio().
|
private |