![]() |
![]() |
#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... | |
float | fracxone () |
The simulated fraction of single pixel x-clusters. More... | |
float | fracxtwo () |
The simulated fraction of single double-size pixel x-clusters. More... | |
float | fracyone () |
The simulated fraction of single pixel y-clusters. More... | |
float | fracytwo () |
The simulated fraction of single double-size pixel y-clusters. More... | |
bool | interpolate (int id, float cotalpha, float cotbeta, float locBz, float locBx) |
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 locBx, 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 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 single pixel per double column threshold 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 > &pixelTemp, std::string dir="CalibTracker/SiPixelESProducers/data/") |
static bool | pushfile (const SiPixelTemplateDBObject &dbobject, std::vector< SiPixelTemplateStore > &pixelTemp) |
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... | |
float | fracxone_ |
The simulated fraction of single pixel x-clusters. More... | |
float | fracxtwo_ |
The simulated fraction of single double-size pixel x-clusters. More... | |
float | fracyone_ |
The simulated fraction of single pixel y-clusters. More... | |
float | fracytwo_ |
The simulated fraction of single double-size pixel y-clusters. 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 single col threshold signal in electrons 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 double col threshold signal in electrons 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 257 of file SiPixelTemplate.h.
|
inline |
Constructor for cases in which template store already exists.
Definition at line 259 of file SiPixelTemplate.h.
References BXM2, BXSIZE, BYM2, BYSIZE, SiPixelTemplateEntry::cotalpha, SiPixelTemplateEntry::cotbeta, dir, HiCaloJetParameters_cff::interpolate, gen::k, kappa, ApeEstimator_cff::qBin, AlCaHLTBitMon_QueryRunRegistry::string, SiPixelTemplateEntry::xtemp, and SiPixelTemplateEntry::ytemp.
|
inline |
averaage x chi^2 in 4 charge bins
Definition at line 442 of file SiPixelTemplate.h.
References Exception, and mps_fire::i.
Referenced by SiPixelTemplateReco::PixelTempReco1D().
|
inline |
1st pass chi2 min search: average x-chisq for merged clusters
Definition at line 498 of file SiPixelTemplate.h.
References Exception, and mps_fire::i.
Referenced by SiPixelTemplateSplit::PixelTempSplit().
|
inline |
//!< average x chi^2 for 1 pixel clusters
Definition at line 522 of file SiPixelTemplate.h.
Referenced by SiPixelTemplateReco::PixelTempReco1D(), and SiPixelTemplateSplit::PixelTempSplit().
|
inline |
minimum y chi^2 in 4 charge bins
Definition at line 449 of file SiPixelTemplate.h.
References Exception, and mps_fire::i.
Referenced by SiPixelTemplateReco::PixelTempReco1D().
|
inline |
1st pass chi2 min search: minimum x-chisq for merged clusters
Definition at line 505 of file SiPixelTemplate.h.
References Exception, and mps_fire::i.
|
inline |
//!< minimum of x chi^2 for 1 pixel clusters
Definition at line 523 of file SiPixelTemplate.h.
Referenced by SiPixelTemplateReco::PixelTempReco1D(), and SiPixelTemplateSplit::PixelTempSplit().
|
inline |
average y chi^2 in 4 charge bins
Definition at line 428 of file SiPixelTemplate.h.
References Exception, and mps_fire::i.
Referenced by SiPixelTemplateReco::PixelTempReco1D().
|
inline |
1st pass chi2 min search: average y-chisq for merged clusters
Definition at line 470 of file SiPixelTemplate.h.
References Exception, and mps_fire::i.
Referenced by SiPixelTemplateSplit::PixelTempSplit().
|
inline |
//!< average y chi^2 for 1 pixel clusters
Definition at line 520 of file SiPixelTemplate.h.
Referenced by SiPixelTemplateReco::PixelTempReco1D(), and SiPixelTemplateSplit::PixelTempSplit().
|
inline |
minimum y chi^2 in 4 charge bins
Definition at line 435 of file SiPixelTemplate.h.
References Exception, and mps_fire::i.
Referenced by SiPixelTemplateReco::PixelTempReco1D().
|
inline |
1st pass chi2 min search: minimum y-chisq for merged clusters
Definition at line 477 of file SiPixelTemplate.h.
References Exception, and mps_fire::i.
|
inline |
//!< minimum of y chi^2 for 1 pixel clusters
Definition at line 521 of file SiPixelTemplate.h.
Referenced by SiPixelTemplateReco::PixelTempReco1D(), and SiPixelTemplateSplit::PixelTempSplit().
|
inline |
x-size of smaller interpolated template in pixels
Definition at line 368 of file SiPixelTemplate.h.
|
inline |
y-size of smaller interpolated template in pixels
Definition at line 367 of file SiPixelTemplate.h.
Referenced by PixelCPEClusterRepair::checkRecommend2D().
int SiPixelTemplate::cxtemp | ( | ) |
Return central pixel of x-template pixels above readout threshold.
Definition at line 2107 of file SiPixelTemplate.cc.
References BXM1, BXM2, and BXSIZE.
Referenced by SiPixelTemplateReco::PixelTempReco1D(), and SiPixelTemplateSplit::PixelTempSplit().
int SiPixelTemplate::cytemp | ( | ) |
Return central pixel of y template pixels above readout threshold.
Definition at line 2058 of file SiPixelTemplate.cc.
References BYM1, BYM2, and BYSIZE.
Referenced by SiPixelTemplateReco::PixelTempReco1D(), and SiPixelTemplateSplit::PixelTempSplit().
|
inline |
mean offset/correction for one pixel x-clusters
Definition at line 355 of file SiPixelTemplate.h.
Referenced by SiPixelTemplateReco::PixelTempReco1D(), and SiPixelTemplateSplit::PixelTempSplit().
|
inline |
mean offset/correction for one double-pixel x-clusters
Definition at line 357 of file SiPixelTemplate.h.
Referenced by SiPixelTemplateReco::PixelTempReco1D(), and SiPixelTemplateSplit::PixelTempSplit().
|
inline |
mean offset/correction for one pixel y-clusters
Definition at line 350 of file SiPixelTemplate.h.
Referenced by SiPixelTemplateReco::PixelTempReco1D(), and SiPixelTemplateSplit::PixelTempSplit().
|
inline |
mean offset/correction for one double-pixel y-clusters
Definition at line 352 of file SiPixelTemplate.h.
Referenced by SiPixelTemplateReco::PixelTempReco1D(), and SiPixelTemplateSplit::PixelTempSplit().
|
inline |
Return lower bound of Qbin definition.
Definition at line 512 of file SiPixelTemplate.h.
References Exception, and mps_fire::i.
Referenced by SiPixelTemplateReco::PixelTempReco1D().
|
inline |
The simulated fraction of single pixel x-clusters.
Definition at line 541 of file SiPixelTemplate.h.
|
inline |
The simulated fraction of single double-size pixel x-clusters.
Definition at line 543 of file SiPixelTemplate.h.
|
inline |
The simulated fraction of single pixel y-clusters.
Definition at line 540 of file SiPixelTemplate.h.
|
inline |
The simulated fraction of single double-size pixel y-clusters.
Definition at line 542 of file SiPixelTemplate.h.
bool SiPixelTemplate::interpolate | ( | int | id, |
float | cotalpha, | ||
float | cotbeta, | ||
float | locBz, | ||
float | locBx | ||
) |
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 Phase 0 FPix IP-related tracks, locBz < 0 for cot(beta) > 0 and locBz > 0 for cot(beta) < 0 for Phase 1 FPix IP-related tracks, see next comment |
locBx | - (input) the sign of this quantity is used to determine whether to flip cot(alpha/beta)<0 quantities from cot(alpha/beta)>0 (FPix only) for Phase 1 FPix IP-related tracks, locBx/locBz > 0 for cot(alpha) > 0 and locBx/locBz < 0 for cot(alpha) < 0 for Phase 1 FPix IP-related tracks, locBx > 0 for cot(beta) > 0 and locBx < 0 for cot(beta) < 0 |
Definition at line 1001 of file SiPixelTemplate.cc.
References funct::abs(), BXM1, BXM2, BXM3, BYM1, BYM2, BYM3, gather_cfg::cout, Exception, f, mps_fire::i, triggerObjects_cff::id, createfilelist::int, edm::isFinite(), mathSSE::sqrt(), TXSIZE, and TYSIZE.
Referenced by PixelCPEClusterRepair::checkRecommend2D(), interpolate(), SiPixelTemplateReco::PixelTempReco1D(), SiPixelTemplateSplit::PixelTempSplit(), PixelTemplateSmearerBase::smearHit(), and PixelTemplateSmearerBase::smearMergeGroup().
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) Use this for Phase 0, IP related hits |
Definition at line 1525 of file SiPixelTemplate.cc.
References BHY, BYM2, ENDL, Exception, f, mps_fire::i, interpolate(), LOGERROR, and ysigma2().
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) Use this for Phase 1, IP related hits |
Definition at line 1504 of file SiPixelTemplate.cc.
References f, and interpolate().
|
inline |
kappa parameter for Vavilov distribution
Definition at line 532 of file SiPixelTemplate.h.
|
inline |
kappa parameter for 2-cluster Vavilov distribution
Definition at line 535 of file SiPixelTemplate.h.
|
inline |
signed lorentz x-width (microns)
Definition at line 529 of file SiPixelTemplate.h.
Referenced by PixelCPETemplateReco::localPosition().
|
inline |
signed lorentz x-width (microns)
Definition at line 525 of file SiPixelTemplate.h.
|
inline |
signed lorentz y-width (microns)
Definition at line 528 of file SiPixelTemplate.h.
Referenced by PixelCPETemplateReco::localPosition().
|
inline |
signed lorentz y-width (microns)
Definition at line 524 of file SiPixelTemplate.h.
|
inline |
most probable charge in Vavilov distribution (not actually for larger kappa)
Definition at line 530 of file SiPixelTemplate.h.
|
inline |
most probable charge in 2-cluster Vavilov distribution (not actually for larger kappa)
Definition at line 533 of file SiPixelTemplate.h.
|
inline |
maximum pixel charge
Definition at line 345 of file SiPixelTemplate.h.
Referenced by SiPixelTemplateReco::PixelTempReco1D(), and SiPixelTemplateSplit::PixelTempSplit().
|
static |
Definition at line 960 of file SiPixelTemplate.cc.
|
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 |
Alt implementation: for (unsigned cnt=4-tempfile.length(); cnt > 0; cnt– ){ tempfile = "0" + tempfile; }
Definition at line 132 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, SiPixelTemplateStore::cotalphaX, SiPixelTemplateEntry::cotbeta, SiPixelTemplateStore::cotbetaX, SiPixelTemplateStore::cotbetaY, SiPixelTemplateHeader::Dtype, SiPixelTemplateEntry::dxone, SiPixelTemplateEntry::dxtwo, SiPixelTemplateEntry::dyone, SiPixelTemplateEntry::dytwo, ENDL, SiPixelTemplateStore::entx, SiPixelTemplateStore::enty, SiPixelTemplateHeader::fbin, FrontierConditions_GlobalTag_cff::file, SiPixelTemplateHeader::fluence, SiPixelTemplateEntry::fracxone, SiPixelTemplateEntry::fracxtwo, SiPixelTemplateEntry::fracyone, SiPixelTemplateEntry::fracytwo, edm::FileInPath::fullPath(), SiPixelTemplateStore::head, mps_fire::i, SiPixelTemplateHeader::ID, runGCPTkAlMap::in_file, gen::k, SiPixelTemplateEntry::kappavav, SiPixelTemplateEntry::kappavav2, checklumidiff::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 TrackingRecHitProducer::beginRun(), PixelCPEClusterRepair::PixelCPEClusterRepair(), PixelCPETemplateReco::PixelCPETemplateReco(), and PixelTemplateSmearerBase::PixelTemplateSmearerBase().
|
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 |
SiPixelTemplateStore theCurrentTemp; // large, don't allocate it on the stack
Definition at line 554 of file SiPixelTemplate.cc.
References SiPixelTemplateDBObject::char2float::c, ENDL, SiPixelTemplateDBObject::char2float::f, mps_fire::i, gen::k, checklumidiff::l, LOGERROR, LOGINFO, funct::m, SiPixelTemplateDBObject::reader(), groupFilesInBlocks::temp, TXSIZE, and TYSIZE.
|
inline |
average cluster charge for this set of track angles
Definition at line 344 of file SiPixelTemplate.h.
Referenced by PixelCPEClusterRepair::checkRecommend2D(), SiPixelTemplateReco::PixelTempReco1D(), and SiPixelTemplateSplit::PixelTempSplit().
int SiPixelTemplate::qbin | ( | int | id, |
float | cotalpha, | ||
float | cotbeta, | ||
float | locBz, | ||
float | locBx, | ||
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 Phase 0 FPix IP-related tracks, locBz < 0 for cot(beta) > 0 and locBz > 0 for cot(beta) < 0 for Phase 1 FPix IP-related tracks, see next comment |
locBx | - (input) the sign of this quantity is used to determine whether to flip cot(alpha/beta)<0 quantities from cot(alpha/beta)>0 (FPix only) for Phase 1 FPix IP-related tracks, locBx/locBz > 0 for cot(alpha) > 0 and locBx/locBz < 0 for cot(alpha) < 0 for Phase 1 FPix IP-related tracks, locBx > 0 for cot(beta) > 0 and locBx < 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 2386 of file SiPixelTemplate.cc.
References funct::abs(), gather_cfg::cout, Exception, f, mps_fire::i, createfilelist::int, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, and mathSSE::sqrt().
Referenced by 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 Phase 0 FPix IP-related tracks, locBz < 0 for cot(beta) > 0 and locBz > 0 for cot(beta) < 0 for Phase 1 FPix IP-related tracks, see next comment |
locBx | - (input) the sign of this quantity is used to determine whether to flip cot(alpha/beta)<0 quantities from cot(alpha/beta)>0 (FPix only) for Phase 1 FPix IP-related tracks, locBx/locBz > 0 for cot(alpha) > 0 and locBx/locBz < 0 for cot(alpha) < 0 for Phase 1 FPix IP-related tracks, locBx > 0 for cot(beta) > 0 and locBx < 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 2664 of file SiPixelTemplate.cc.
References qbin().
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 2721 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 2745 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 2976 of file SiPixelTemplate.cc.
References Exception, f, mps_fire::i, and createfilelist::int.
Referenced by PixelTemplateSmearerBase::smearHit(), and PixelTemplateSmearerBase::smearMergeGroup().
|
inline |
minimum cluster charge for valid hit (keeps 99.9% of simulated hits)
Definition at line 359 of file SiPixelTemplate.h.
Referenced by SiPixelTemplateReco::PixelTempReco1D(), and SiPixelTemplateSplit::PixelTempSplit().
|
inline |
minimum cluster charge for valid hit (keeps 99.9% or 99.8% of simulated hits)
Definition at line 360 of file SiPixelTemplate.h.
References Exception.
|
inline |
charge scaling factor
Definition at line 346 of file SiPixelTemplate.h.
Referenced by SiPixelTemplateReco::PixelTempReco1D(), and SiPixelTemplateSplit::PixelTempSplit().
|
inline |
ratio of measured to true cluster charge
Definition at line 539 of file SiPixelTemplate.h.
|
inline |
1/2 of the pixel threshold signal in electrons
Definition at line 347 of file SiPixelTemplate.h.
Referenced by SiPixelTemplateReco::PixelTempReco1D(), SiPixelTemplateSplit::PixelTempSplit(), and PixelTemplateSmearerBase::smearHit().
|
inline |
"sigma" scale fctor for Vavilov distribution
Definition at line 531 of file SiPixelTemplate.h.
|
inline |
"sigma" scale fctor for 2-cluster Vavilov distribution
Definition at line 534 of file SiPixelTemplate.h.
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 3160 of file SiPixelTemplate.cc.
References funct::abs(), any(), SimplePixel::btype, BXM3, BYM3, f, SimplePixel::i, mps_fire::i, createfilelist::int, SimplePixel::j, list(), SiStripPI::max, SimplePixel::s, mathSSE::sqrt(), SimplePixel::x, protons_cff::xi, and SimplePixel::y.
Referenced by SiPixelTemplateSplit::PixelTempSplit().
|
inline |
1/2 of the single pixel per double column threshold in electrons
Definition at line 348 of file SiPixelTemplate.h.
|
inline |
average pixel signal for x-projection of cluster
Definition at line 354 of file SiPixelTemplate.h.
Referenced by SiPixelTemplateReco::PixelTempReco1D(), and SiPixelTemplateSplit::PixelTempSplit().
|
inline |
rms for one pixel x-clusters
Definition at line 356 of file SiPixelTemplate.h.
Referenced by SiPixelTemplateReco::PixelTempReco1D(), and SiPixelTemplateSplit::PixelTempSplit().
|
inline |
rms for one double-pixel x-clusters
Definition at line 358 of file SiPixelTemplate.h.
Referenced by SiPixelTemplateReco::PixelTempReco1D(), and SiPixelTemplateSplit::PixelTempSplit().
|
inline |
average pixel signal for y-projection of cluster
Definition at line 349 of file SiPixelTemplate.h.
Referenced by SiPixelTemplateReco::PixelTempReco1D(), and SiPixelTemplateSplit::PixelTempSplit().
|
inline |
rms for one pixel y-clusters
Definition at line 351 of file SiPixelTemplate.h.
Referenced by SiPixelTemplateReco::PixelTempReco1D(), and SiPixelTemplateSplit::PixelTempSplit().
|
inline |
rms for one double-pixel y-clusters
Definition at line 353 of file SiPixelTemplate.h.
Referenced by SiPixelTemplateReco::PixelTempReco1D(), 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 2777 of file SiPixelTemplate.cc.
References Exception, f, mps_fire::i, createfilelist::int, and ApeEstimator_cff::qBin.
Referenced by PixelTemplateSmearerBase::smearHit(), and PixelTemplateSmearerBase::smearMergeGroup().