#include <SiPixelTemplate2D.h>
Public Member Functions | |
float | chi2avgone () |
average y chi^2 for 1 pixel clusters More... | |
float | chi2minone () |
minimum of y chi^2 for 1 pixel clusters More... | |
float | chi2ppix () |
average chi^2 per struck pixel More... | |
float | chi2scale () |
scale factor for chi^2 distribution More... | |
float | clslenx () |
cluster x-size More... | |
float | clsleny () |
cluster y-size More... | |
float | delyavg () |
average difference between clsleny_ and cluster length [with threshold effects] More... | |
float | delysig () |
rms difference between clsleny_ and cluster length [with threshold effects] More... | |
float | fbin (int i) |
Return lower bound of Qbin definition. More... | |
bool | getid (int id) |
bool | interpolate (int id, float cotalpha, float cotbeta, float locBz, float locBx) |
float | kappavav () |
kappa parameter in Vavilov distribution More... | |
void | landau_par (float lanpar[2][5]) |
Return the Landau probability parameters for this set of cot(alpha, cot(beta) More... | |
float | lorxdrift () |
signed lorentz x-width (microns) More... | |
float | lorydrift () |
signed lorentz y-width (microns) More... | |
float | mpvvav () |
most probable Q in Vavilov distribution More... | |
float | offsetx (int i) |
x-offset in 4 charge bins More... | |
float | offsety (int i) |
y-offset in 4 charge bins More... | |
float | pixmax () |
maximum pixel charge More... | |
float | qavg () |
average cluster charge for this set of track angles More... | |
float | qscale () |
charge scaling factor More... | |
float | s50 () |
1/2 of the pixel threshold signal in adc units More... | |
float | scalex (int i) |
x-error scale factor in 4 charge bins More... | |
float | scalexavg () |
x-reco error scaling factor More... | |
float | scaley (int i) |
y-error scale factor in 4 charge bins More... | |
float | scaleyavg () |
y-reco error scaling factor More... | |
float | sigmavav () |
scale factor in Vavilov distribution More... | |
SiPixelTemplate2D (const std::vector< SiPixelTemplateStore2D > &thePixelTemp) | |
Default constructor. More... | |
float | sizex () |
return x size of template cluster More... | |
float | sizey () |
return y size of template cluster More... | |
int | storesize () |
return the size of the template store (the number of stored IDs More... | |
float | sxymax () |
max pixel signal for pixel error calculation More... | |
float | xsize () |
pixel x-size (microns) More... | |
void | xysigma2 (float qpixel, int index, float &xysig2) |
bool | xytemp (float xhit, float yhit, bool ydouble[21+2], bool xdouble[13+2], float template2d[13+2][21+2], bool dervatives, float dpdx2d[2][13+2][21+2], float &QTemplate) |
bool | xytemp (float xhit, float yhit, bool ydouble[21+2], bool xdouble[13+2], float template2d[13+2][21+2]) |
bool | xytemp (int id, float cotalpha, float cotbeta, float xhit, float yhit, std::vector< bool > &ydouble, std::vector< bool > &xdouble, float template2d[13+2][21+2]) |
float | ysize () |
pixel y-size (microns) More... | |
float | zsize () |
pixel z-size or thickness (microns) More... | |
Static Public Member Functions | |
static bool | pushfile (int filenum, std::vector< SiPixelTemplateStore2D > &pixelTemp, std::string dir="CalibTracker/SiPixelESProducers/data/") |
static bool | pushfile (const SiPixel2DTemplateDBObject &dbobject, std::vector< SiPixelTemplateStore2D > &pixelTemp) |
Private Member Functions | |
bool | checkIllegalIndex (const std::string whichMethod, int indMax, int i) |
Private Attributes | |
float | adcota_ |
fractional pixel distance of cot(alpha) from jx0_ More... | |
float | adcotb_ |
fractional pixel distance of cot(beta) from iy0_ More... | |
float | chi2avgone_ |
average chi^2 for 1 pixel clusters More... | |
float | chi2minone_ |
minimum of chi^2 for 1 pixel clusters More... | |
float | chi2ppix_ |
average chi^2 per struck pixel More... | |
float | chi2scale_ |
scale factor for chi2 distribution More... | |
float | clslenx_ |
projected x-length of cluster More... | |
float | clsleny_ |
projected y-length of cluster More... | |
float | cota_current_ |
current cot alpha More... | |
float | cotalpha0_ |
minimum cot(alpha) covered More... | |
float | cotalpha1_ |
maximum cot(alpha) covered More... | |
float | cotb_current_ |
current cot beta More... | |
float | cotbeta0_ |
minimum cot(beta) covered More... | |
float | cotbeta1_ |
maximum cot(beta) covered More... | |
float | deltacota_ |
cot(alpha) bin size More... | |
float | deltacotb_ |
cot(beta) bin size More... | |
float | delyavg_ |
average difference between clsleny_ and cluster length [with threshold effects] More... | |
float | delysig_ |
rms of difference between clsleny_ and cluster length [with threshold effects] More... | |
int | Dtype_ |
flags BPix (=0) or FPix (=1) More... | |
const SiPixelTemplateEntry2D * | entry00_ |
const SiPixelTemplateEntry2D * | entry01_ |
const SiPixelTemplateEntry2D * | entry10_ |
float | fbin_ [3] |
The QBin definitions in Q_clus/Q_avg. More... | |
bool | flip_x_ |
flip x sign-sensitive quantities More... | |
bool | flip_y_ |
flip y sign-sensitive quantities More... | |
int | id_current_ |
current id More... | |
int | imax_ |
max y index of templated cluster More... | |
int | imin_ |
min y index of templated cluster More... | |
int | index_id_ |
current index More... | |
int | iy0_ |
index of nearest cot(beta) bin More... | |
int | iy1_ |
index of next-nearest cot(beta) bin More... | |
int | jmax_ |
max x index of templated cluster More... | |
int | jmin_ |
min x index of templated cluster More... | |
int | jx0_ |
index of nearest cot(alpha) bin More... | |
int | jx1_ |
index of next-nearest cot(alpha) bin More... | |
float | kappavav_ |
kappa parameter in Vavilov distribution More... | |
float | lanpar_ [2][5] |
Interpolated Landau parameters. More... | |
float | lorxdrift_ |
Lorentz x-drift. More... | |
float | lorxwidth_ |
Lorentz x-width. More... | |
float | lorydrift_ |
Lorentz y-drift. More... | |
float | lorywidth_ |
Lorentz y-width (sign corrected for fpix frame) More... | |
float | mpvvav_ |
most probable Q in Vavilov distribution More... | |
int | Nxx_ |
number of cot(alpha)-entries (rows) in template More... | |
int | Nyx_ |
number of cot(beta)-entries (columns) in template More... | |
float | offsetx_ [4] |
x-offset in charge bins More... | |
float | offsety_ [4] |
y-offset in charge bins More... | |
float | pixmax_ |
maximum pixel charge More... | |
float | qavg_ |
average cluster charge for this set of track angles More... | |
float | qscale_ |
charge scaling factor More... | |
float | s50_ |
1/2 of the pixel threshold signal in adc units More... | |
float | scalex_ [4] |
x-error scale factor in charge bins More... | |
float | scalexavg_ |
average x-error scale factor More... | |
float | scaley_ [4] |
y-error scale factor in charge bins More... | |
float | scaleyavg_ |
average y-error scale factor More... | |
float | sigmavav_ |
scale factor in Vavilov distribution More... | |
bool | success_ |
true if cotalpha, cotbeta are inside of the acceptance (dynamically loaded) More... | |
float | sxymax_ |
average pixel signal for y-projection of cluster More... | |
const std::vector < SiPixelTemplateStore2D > & | thePixelTemp_ |
float | xsize_ |
Pixel x-size. More... | |
float | xypary0x0_ [2][5] |
Polynomial error parameterization at ix0,iy0. More... | |
float | xypary0x1_ [2][5] |
Polynomial error parameterization at ix1,iy0. More... | |
float | xypary1x0_ [2][5] |
Polynomial error parameterization at ix0,iy1. More... | |
float | xytemp_ [13+2][21+2] |
template for xy-reconstruction More... | |
float | ysize_ |
Pixel y-size. 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 xytemp(), 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 128 of file SiPixelTemplate2D.h.
|
inline |
Default constructor.
Definition at line 130 of file SiPixelTemplate2D.h.
References cota_current_, cotb_current_, id_current_, and index_id_.
|
inlineprivate |
Definition at line 270 of file SiPixelTemplate2D.h.
References cms::cuda::assert(), and Exception.
Referenced by fbin(), offsetx(), offsety(), scalex(), and scaley().
|
inline |
average y chi^2 for 1 pixel clusters
Definition at line 247 of file SiPixelTemplate2D.h.
References chi2avgone_.
|
inline |
minimum of y chi^2 for 1 pixel clusters
Definition at line 248 of file SiPixelTemplate2D.h.
References chi2minone_.
|
inline |
average chi^2 per struck pixel
Definition at line 245 of file SiPixelTemplate2D.h.
References chi2ppix_.
Referenced by SiPixelTemplateReco2D::PixelTempReco2D().
|
inline |
scale factor for chi^2 distribution
Definition at line 246 of file SiPixelTemplate2D.h.
References chi2scale_.
Referenced by SiPixelTemplateReco2D::PixelTempReco2D().
|
inline |
|
inline |
cluster y-size
Definition at line 254 of file SiPixelTemplate2D.h.
References clsleny_.
Referenced by SiPixelTemplateReco2D::PixelTempReco2D().
|
inline |
average difference between clsleny_ and cluster length [with threshold effects]
Definition at line 258 of file SiPixelTemplate2D.h.
References delyavg_.
|
inline |
rms difference between clsleny_ and cluster length [with threshold effects]
Definition at line 261 of file SiPixelTemplate2D.h.
References delysig_.
|
inline |
Return lower bound of Qbin definition.
Definition at line 236 of file SiPixelTemplate2D.h.
References checkIllegalIndex(), fbin_, and mps_fire::i.
Referenced by SiPixelTemplateReco2D::PixelTempReco2D().
bool SiPixelTemplate2D::getid | ( | int | id | ) |
Definition at line 536 of file SiPixelTemplate2D.cc.
References cms::cuda::assert(), Exception, mps_fire::i, gpuClustering::id, and dqmiolumiharvest::j.
Referenced by SiPixelChargeReweightingAlgorithm::PixelTempRewgt2D().
bool SiPixelTemplate2D::interpolate | ( | int | id, |
float | cotalpha, | ||
float | cotbeta, | ||
float | locBz, | ||
float | locBx | ||
) |
Interpolate stored 2-D information for input angles
id | - (input) the id of the template |
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 626 of file SiPixelTemplate2D.cc.
References funct::abs(), cms::cuda::assert(), gather_cfg::cout, Exception, validate-o2o-wbm::f, mps_fire::i, edm::isFinite(), and dqmiolumiharvest::j.
Referenced by SiPixelTemplateReco2D::PixelTempReco2D(), and xytemp().
|
inline |
kappa parameter in Vavilov distribution
Definition at line 251 of file SiPixelTemplate2D.h.
References kappavav_.
Referenced by SiPixelTemplateReco2D::PixelTempReco2D().
void SiPixelTemplate2D::landau_par | ( | float | lanpar[2][5] | ) |
Return the Landau probability parameters for this set of cot(alpha, cot(beta)
Definition at line 1758 of file SiPixelTemplate2D.cc.
References mps_fire::i, and dqmiolumiharvest::j.
Referenced by SiPixelTemplateSplit::PixelTempSplit().
|
inline |
signed lorentz x-width (microns)
Definition at line 253 of file SiPixelTemplate2D.h.
References lorxdrift_.
Referenced by SiPixelTemplateReco2D::PixelTempReco2D().
|
inline |
signed lorentz y-width (microns)
Definition at line 252 of file SiPixelTemplate2D.h.
References lorydrift_.
Referenced by SiPixelTemplateReco2D::PixelTempReco2D().
|
inline |
most probable Q in Vavilov distribution
Definition at line 249 of file SiPixelTemplate2D.h.
References mpvvav_.
Referenced by SiPixelTemplateReco2D::PixelTempReco2D().
|
inline |
x-offset in 4 charge bins
Definition at line 222 of file SiPixelTemplate2D.h.
References checkIllegalIndex(), mps_fire::i, and offsetx_.
Referenced by SiPixelTemplateReco2D::PixelTempReco2D().
|
inline |
y-offset in 4 charge bins
Definition at line 229 of file SiPixelTemplate2D.h.
References checkIllegalIndex(), mps_fire::i, and offsety_.
Referenced by SiPixelTemplateReco2D::PixelTempReco2D().
|
inline |
maximum pixel charge
Definition at line 204 of file SiPixelTemplate2D.h.
References pixmax_.
Referenced by SiPixelTemplateReco2D::PixelTempReco2D().
|
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 62 of file SiPixelTemplate2D.cc.
References SiPixelTemplateHeader2D::Bfield, c, SiPixelTemplateHeader2D::Dtype, ENDL, SiPixelTemplateStore2D::entry, SiPixelTemplateHeader2D::fbin, mergeVDriftHistosByStation::file, SiPixelTemplateHeader2D::fluence, edm::FileInPath::fullPath(), SiPixelTemplateStore2D::head, mps_fire::i, SiPixelTemplateHeader2D::ID, B2GTnPMonitor_cfi::item, dqmiolumiharvest::j, isotrackApplyRegressor::k, cmsLHEtoEOSManager::l, LOGERROR, LOGINFO, SiPixelTemplateHeader2D::lorxbias, SiPixelTemplateHeader2D::lorxwidth, SiPixelTemplateHeader2D::lorybias, SiPixelTemplateHeader2D::lorywidth, SiPixelTemplateHeader2D::NTxx, SiPixelTemplateHeader2D::NTy, SiPixelTemplateHeader2D::NTyx, SiPixelTemplateHeader2D::qscale, SiPixelTemplateHeader2D::s50, SiPixelTemplateHeader2D::ss50, AlCaHLTBitMon_QueryRunRegistry::string, T2XSIZE, T2YSIZE, SiPixelTemplateHeader2D::temperature, SiPixelTemplateHeader2D::templ_version, SiPixelTemplateHeader2D::title, cond::impl::to_string(), SiPixelTemplateHeader2D::Vbias, SiPixelTemplateHeader2D::xsize, SiPixelTemplateHeader2D::ysize, and SiPixelTemplateHeader2D::zsize.
Referenced by SiPixelChargeReweightingAlgorithm::init(), and PixelCPEClusterRepair::PixelCPEClusterRepair().
|
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 313 of file SiPixelTemplate2D.cc.
References SiPixelTemplateHeader2D::Bfield, SiPixel2DTemplateDBObject::char2float::c, EcalCondDB::db, SiPixelTemplateHeader2D::Dtype, ENDL, SiPixelTemplateStore2D::entry, SiPixel2DTemplateDBObject::char2float::f, SiPixel2DTemplateDBObject::fail(), SiPixelTemplateHeader2D::fbin, SiPixelTemplateHeader2D::fluence, SiPixelTemplateStore2D::head, mps_fire::i, SiPixelTemplateHeader2D::ID, SiPixel2DTemplateDBObject::incrementIndex(), SiPixel2DTemplateDBObject::index(), B2GTnPMonitor_cfi::item, dqmiolumiharvest::j, isotrackApplyRegressor::k, cmsLHEtoEOSManager::l, LOGERROR, LOGINFO, SiPixelTemplateHeader2D::lorxbias, SiPixelTemplateHeader2D::lorxwidth, SiPixelTemplateHeader2D::lorybias, SiPixelTemplateHeader2D::lorywidth, visualization-live-secondInstance_cfg::m, SiPixelTemplateHeader2D::NTxx, SiPixelTemplateHeader2D::NTy, SiPixelTemplateHeader2D::NTyx, SiPixel2DTemplateDBObject::numOfTempl(), SiPixelTemplateHeader2D::qscale, SiPixelTemplateHeader2D::s50, SiPixelTemplateHeader2D::ss50, SiPixel2DTemplateDBObject::sVector(), T2XSIZE, T2YSIZE, groupFilesInBlocks::temp, SiPixelTemplateHeader2D::temperature, SiPixelTemplateHeader2D::templ_version, SiPixelTemplateHeader2D::title, SiPixelTemplateHeader2D::Vbias, SiPixelTemplateHeader2D::xsize, SiPixelTemplateHeader2D::ysize, and SiPixelTemplateHeader2D::zsize.
|
inline |
average cluster charge for this set of track angles
Definition at line 203 of file SiPixelTemplate2D.h.
References qavg_.
Referenced by SiPixelTemplateReco2D::PixelTempReco2D().
|
inline |
charge scaling factor
Definition at line 205 of file SiPixelTemplate2D.h.
References qscale_.
Referenced by SiPixelTemplateReco2D::PixelTempReco2D().
|
inline |
1/2 of the pixel threshold signal in adc units
Definition at line 206 of file SiPixelTemplate2D.h.
References s50_.
Referenced by SiPixelTemplateReco2D::PixelTempReco2D(), and SiPixelChargeReweightingAlgorithm::PixelTempRewgt2D().
|
inline |
x-error scale factor in 4 charge bins
Definition at line 208 of file SiPixelTemplate2D.h.
References checkIllegalIndex(), mps_fire::i, and scalex_.
Referenced by SiPixelTemplateReco2D::PixelTempReco2D().
|
inline |
x-reco error scaling factor
Definition at line 257 of file SiPixelTemplate2D.h.
References scalexavg_.
|
inline |
y-error scale factor in 4 charge bins
Definition at line 215 of file SiPixelTemplate2D.h.
References checkIllegalIndex(), mps_fire::i, and scaley_.
Referenced by SiPixelTemplateReco2D::PixelTempReco2D().
|
inline |
y-reco error scaling factor
Definition at line 256 of file SiPixelTemplate2D.h.
References scaleyavg_.
|
inline |
scale factor in Vavilov distribution
Definition at line 250 of file SiPixelTemplate2D.h.
References sigmavav_.
Referenced by SiPixelTemplateReco2D::PixelTempReco2D().
|
inline |
return x size of template cluster
Definition at line 243 of file SiPixelTemplate2D.h.
References clslenx_.
|
inline |
return y size of template cluster
Definition at line 244 of file SiPixelTemplate2D.h.
References clsleny_.
|
inline |
return the size of the template store (the number of stored IDs
Definition at line 265 of file SiPixelTemplate2D.h.
References thePixelTemp_.
|
inline |
max pixel signal for pixel error calculation
Definition at line 207 of file SiPixelTemplate2D.h.
References sxymax_.
Referenced by SiPixelTemplateReco2D::PixelTempReco2D().
|
inline |
pixel x-size (microns)
Definition at line 262 of file SiPixelTemplate2D.h.
References xsize_.
Referenced by SiPixelTemplateReco2D::PixelTempReco2D(), and SiPixelChargeReweightingAlgorithm::PixelTempRewgt2D().
void SiPixelTemplate2D::xysigma2 | ( | float | qpixel, |
int | index, | ||
float & | xysig2 | ||
) |
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 |
xysig2 | - (output) square error |
Definition at line 1697 of file SiPixelTemplate2D.cc.
References cms::cuda::assert(), BYM2, Exception, validate-o2o-wbm::f, and T2HYP1.
Referenced by SiPixelTemplateReco2D::PixelTempReco2D().
bool SiPixelTemplate2D::xytemp | ( | float | xhit, |
float | yhit, | ||
bool | ydouble[21+2], | ||
bool | xdouble[13+2], | ||
float | template2d[13+2][21+2], | ||
bool | derivatives, | ||
float | dpdx2d[2][13+2][21+2], | ||
float & | QTemplate | ||
) |
Load template info for single angle point to invoke template reco for template generation
entry | - (input) pointer to template entry |
sizex | - (input) pixel x-size |
sizey | - (input) pixel y-size |
sizez | - (input) pixel z-size |
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 989 of file SiPixelTemplate2D.cc.
References BXM2, BXM3, BYM2, BYM3, PVValHelper::dx, PVValHelper::dy, validate-o2o-wbm::f, mps_fire::i, dqmiolumiharvest::j, isotrackApplyRegressor::k, reco::ParticleMasses::k0, visualization-live-secondInstance_cfg::m, SiStripPI::max, SiStripPI::min, dqmiodumpmetadata::n, T2HX, T2HY, T2XSIZE, and T2YSIZE.
Referenced by SiPixelTemplateReco2D::PixelTempReco2D(), SiPixelChargeReweightingAlgorithm::PixelTempRewgt2D(), SiPixelTemplateSplit::PixelTempSplit(), and xytemp().
bool SiPixelTemplate2D::xytemp | ( | float | xhit, |
float | yhit, | ||
bool | ydouble[21+2], | ||
bool | xdouble[13+2], | ||
float | template2d[13+2][21+2] | ||
) |
Interpolate stored 2-D information for input angles and hit position to make a 2-D template
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 1621 of file SiPixelTemplate2D.cc.
References BXM2, BYM2, and xytemp().
bool SiPixelTemplate2D::xytemp | ( | int | id, |
float | cotalpha, | ||
float | cotbeta, | ||
float | xhit, | ||
float | yhit, | ||
std::vector< bool > & | ydouble, | ||
std::vector< bool > & | xdouble, | ||
float | template2d[13+2][21+2] | ||
) |
Interpolate stored 2-D information for input angles and hit position to make a 2-D template
id | - (input) the id of the template |
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) |
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 1645 of file SiPixelTemplate2D.cc.
References BXM2, BYM2, validate-o2o-wbm::f, mps_fire::i, interpolate(), dqmiolumiharvest::j, TXSIZE, TYSIZE, and xytemp().
|
inline |
pixel y-size (microns)
Definition at line 263 of file SiPixelTemplate2D.h.
References ysize_.
Referenced by SiPixelTemplateReco2D::PixelTempReco2D(), and SiPixelChargeReweightingAlgorithm::PixelTempRewgt2D().
|
inline |
pixel z-size or thickness (microns)
Definition at line 264 of file SiPixelTemplate2D.h.
References zsize_.
|
private |
fractional pixel distance of cot(alpha) from jx0_
Definition at line 303 of file SiPixelTemplate2D.h.
|
private |
fractional pixel distance of cot(beta) from iy0_
Definition at line 300 of file SiPixelTemplate2D.h.
|
private |
average chi^2 for 1 pixel clusters
Definition at line 326 of file SiPixelTemplate2D.h.
Referenced by chi2avgone().
|
private |
minimum of chi^2 for 1 pixel clusters
Definition at line 327 of file SiPixelTemplate2D.h.
Referenced by chi2minone().
|
private |
average chi^2 per struck pixel
Definition at line 324 of file SiPixelTemplate2D.h.
Referenced by chi2ppix().
|
private |
scale factor for chi2 distribution
Definition at line 325 of file SiPixelTemplate2D.h.
Referenced by chi2scale().
|
private |
projected x-length of cluster
Definition at line 329 of file SiPixelTemplate2D.h.
|
private |
projected y-length of cluster
Definition at line 328 of file SiPixelTemplate2D.h.
|
private |
current cot alpha
Definition at line 287 of file SiPixelTemplate2D.h.
Referenced by SiPixelTemplate2D().
|
private |
minimum cot(alpha) covered
Definition at line 295 of file SiPixelTemplate2D.h.
|
private |
maximum cot(alpha) covered
Definition at line 296 of file SiPixelTemplate2D.h.
|
private |
current cot beta
Definition at line 288 of file SiPixelTemplate2D.h.
Referenced by SiPixelTemplate2D().
|
private |
minimum cot(beta) covered
Definition at line 292 of file SiPixelTemplate2D.h.
|
private |
maximum cot(beta) covered
Definition at line 293 of file SiPixelTemplate2D.h.
|
private |
cot(alpha) bin size
Definition at line 297 of file SiPixelTemplate2D.h.
|
private |
cot(beta) bin size
Definition at line 294 of file SiPixelTemplate2D.h.
|
private |
average difference between clsleny_ and cluster length [with threshold effects]
Definition at line 332 of file SiPixelTemplate2D.h.
Referenced by delyavg().
|
private |
rms of difference between clsleny_ and cluster length [with threshold effects]
Definition at line 333 of file SiPixelTemplate2D.h.
Referenced by delysig().
|
private |
flags BPix (=0) or FPix (=1)
Definition at line 291 of file SiPixelTemplate2D.h.
|
private |
Definition at line 349 of file SiPixelTemplate2D.h.
|
private |
Definition at line 351 of file SiPixelTemplate2D.h.
|
private |
Definition at line 350 of file SiPixelTemplate2D.h.
|
private |
The QBin definitions in Q_clus/Q_avg.
Definition at line 348 of file SiPixelTemplate2D.h.
Referenced by fbin().
|
private |
flip x sign-sensitive quantities
Definition at line 309 of file SiPixelTemplate2D.h.
|
private |
flip y sign-sensitive quantities
Definition at line 308 of file SiPixelTemplate2D.h.
|
private |
|
private |
max y index of templated cluster
Definition at line 305 of file SiPixelTemplate2D.h.
|
private |
min y index of templated cluster
Definition at line 304 of file SiPixelTemplate2D.h.
|
private |
current index
Definition at line 286 of file SiPixelTemplate2D.h.
Referenced by SiPixelTemplate2D().
|
private |
index of nearest cot(beta) bin
Definition at line 298 of file SiPixelTemplate2D.h.
|
private |
index of next-nearest cot(beta) bin
Definition at line 299 of file SiPixelTemplate2D.h.
|
private |
max x index of templated cluster
Definition at line 307 of file SiPixelTemplate2D.h.
|
private |
min x index of templated cluster
Definition at line 306 of file SiPixelTemplate2D.h.
|
private |
index of nearest cot(alpha) bin
Definition at line 301 of file SiPixelTemplate2D.h.
|
private |
index of next-nearest cot(alpha) bin
Definition at line 302 of file SiPixelTemplate2D.h.
|
private |
kappa parameter in Vavilov distribution
Definition at line 340 of file SiPixelTemplate2D.h.
Referenced by kappavav().
|
private |
Interpolated Landau parameters.
Definition at line 323 of file SiPixelTemplate2D.h.
|
private |
|
private |
Lorentz x-width.
Definition at line 342 of file SiPixelTemplate2D.h.
|
private |
|
private |
Lorentz y-width (sign corrected for fpix frame)
Definition at line 341 of file SiPixelTemplate2D.h.
|
private |
most probable Q in Vavilov distribution
Definition at line 338 of file SiPixelTemplate2D.h.
Referenced by mpvvav().
|
private |
number of cot(alpha)-entries (rows) in template
Definition at line 290 of file SiPixelTemplate2D.h.
|
private |
number of cot(beta)-entries (columns) in template
Definition at line 289 of file SiPixelTemplate2D.h.
|
private |
x-offset in charge bins
Definition at line 336 of file SiPixelTemplate2D.h.
Referenced by offsetx().
|
private |
y-offset in charge bins
Definition at line 337 of file SiPixelTemplate2D.h.
Referenced by offsety().
|
private |
|
private |
average cluster charge for this set of track angles
Definition at line 314 of file SiPixelTemplate2D.h.
Referenced by qavg().
|
private |
|
private |
1/2 of the pixel threshold signal in adc units
Definition at line 317 of file SiPixelTemplate2D.h.
Referenced by s50().
|
private |
x-error scale factor in charge bins
Definition at line 334 of file SiPixelTemplate2D.h.
Referenced by scalex().
|
private |
average x-error scale factor
Definition at line 330 of file SiPixelTemplate2D.h.
Referenced by scalexavg().
|
private |
y-error scale factor in charge bins
Definition at line 335 of file SiPixelTemplate2D.h.
Referenced by scaley().
|
private |
average y-error scale factor
Definition at line 331 of file SiPixelTemplate2D.h.
Referenced by scaleyavg().
|
private |
scale factor in Vavilov distribution
Definition at line 339 of file SiPixelTemplate2D.h.
Referenced by sigmavav().
|
private |
true if cotalpha, cotbeta are inside of the acceptance (dynamically loaded)
Definition at line 310 of file SiPixelTemplate2D.h.
|
private |
average pixel signal for y-projection of cluster
Definition at line 318 of file SiPixelTemplate2D.h.
Referenced by sxymax().
|
private |
Definition at line 354 of file SiPixelTemplate2D.h.
Referenced by storesize().
|
private |
|
private |
Polynomial error parameterization at ix0,iy0.
Definition at line 320 of file SiPixelTemplate2D.h.
|
private |
Polynomial error parameterization at ix1,iy0.
Definition at line 322 of file SiPixelTemplate2D.h.
|
private |
Polynomial error parameterization at ix0,iy1.
Definition at line 321 of file SiPixelTemplate2D.h.
|
private |
template for xy-reconstruction
Definition at line 319 of file SiPixelTemplate2D.h.
|
private |
|
private |