#include <SiStripTemplate.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 strip 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 strip clusters More... | |
float | clslenx () |
x-size of smaller interpolated template in strips More... | |
int | cxtemp () |
Return central pixel of x-template pixels above readout threshold. More... | |
float | dxone () |
mean offset/correction for one strip x-clusters More... | |
bool | interpolate (int id, float cotalpha, float cotbeta, float locBy) |
bool | interpolate (int id, float cotalpha, float cotbeta) |
float | kappavav () |
kappa parameter for Vavilov distribution More... | |
float | lorxwidth () |
signed lorentz x-width (microns) More... | |
float | mpvvav () |
most probable charge in Vavilov distribution (not actually for larger kappa) More... | |
float | qavg () |
average cluster charge for this set of track angles More... | |
int | qbin (int id, float cotalpha, float cotbeta, float qclus) |
float | qmin () |
minimum cluster charge for valid hit (keeps 99.9% of simulated hits) More... | |
float | qmin (int i) |
minimum cluster charge for valid hit (keeps 99.9% or 99.8% of simulated hits) More... | |
float | qscale () |
charge scaling factor More... | |
float | s50 () |
1/2 of the strip threshold signal in electrons More... | |
float | sigmavav () |
"sigma" scale fctor for Vavilov distribution More... | |
SiStripTemplate (const std::vector< SiStripTemplateStore > &theStripTemp) | |
Default constructor. More... | |
float | sxmax () |
average strip signal for x-projection of cluster More... | |
float | sxone () |
rms for one strip x-clusters More... | |
void | sxtemp (float xhit, std::vector< float > &cluster) |
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 | xavgbcn (int i) |
1st pass chi2 min search: 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 | xgsigbcn (int i) |
1st pass chi2 min search: average sigma_x from Gaussian fit binned in 4 charge bins More... | |
float | xgsigc2m (int i) |
1st pass chi2 min search: average sigma_x from Gaussian fit binned in 4 charge bins More... | |
float | xgx0 (int i) |
average x0 from Gaussian fit binned in 4 charge bins More... | |
float | xgx0bcn (int i) |
1st pass chi2 min search: average x0 from Gaussian fit binned in 4 charge bins More... | |
float | xgx0c2m (int i) |
1st pass chi2 min search: average x0 from Gaussian fit binned in 4 charge bins More... | |
float | xrms (int i) |
average x-rms of reconstruction binned in 4 charge bins More... | |
float | xrmsbcn (int i) |
1st pass chi2 min search: 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 fxstrp, int lxstrp, float sxthr, float xsum[17+4], float xsig2[17+4]) |
float | xsize () |
strip x-size (microns) More... | |
void | xtemp (int fxbin, int lxbin, float xtemplate[41][17+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 | yratio () |
fractional distance in y between cotbeta templates More... | |
float | ysize () |
strip y-size (microns) More... | |
float | yxratio () |
fractional distance in y between cotalpha templates slices More... | |
float | zsize () |
strip z-size or thickness (microns) More... | |
Static Public Member Functions | |
static bool | pushfile (int filenum, std::vector< SiStripTemplateStore > &theStripTemp_) |
static bool | pushfile (const SiPixelTemplateDBObject &dbobject, std::vector< SiStripTemplateStore > &theStripTemp_) |
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 strip 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 strip clusters More... | |
float | clslenx_ |
x-cluster length of smaller interpolated template in strips More... | |
float | cota_current_ |
current cot alpha More... | |
float | cotb_current_ |
current cot beta More... | |
float | dxone_ |
mean offset/correction for one strip x-clusters More... | |
float | dxtwo_ |
mean offset/correction for one double-strip x-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 | lorxwidth_ |
Lorentz x-width. 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 | pixmax_ |
maximum strip 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 | s50_ |
1/2 of the strip 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... | |
bool | success_ |
true if cotalpha, cotbeta are inside of the acceptance (dynamically loaded) More... | |
float | sxmax_ |
average strip signal for x-projection of cluster More... | |
float | sxone_ |
rms for one strip x-clusters More... | |
float | sxparmax_ |
maximum strip signal for parameterization of x uncertainties More... | |
float | sxtwo_ |
rms for one double-strip x-clusters More... | |
float | syparmax_ |
maximum strip signal for parameterization of y-slice x uncertainties More... | |
boost::multi_array< float, 2 > | temp2dx_ |
2d-primitive for spltting 3-d template More... | |
const std::vector< SiStripTemplateStore > & | theStripTemp_ |
float | xavg_ [4] |
average x-bias of reconstruction binned in 4 charge bins More... | |
float | xavgbcn_ [4] |
barycenter: 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 | xgsigbcn_ [4] |
barycenter: average x-rms of reconstruction binned in 4 charge bins More... | |
float | xgsigc2m_ [4] |
1st pass chi2 min search: average x-rms of reconstruction binned in 4 charge bins More... | |
float | xgx0_ [4] |
average x0 from Gaussian fit binned in 4 charge bins More... | |
float | xgx0bcn_ [4] |
barycenter: average x-bias of reconstruction binned in 4 charge bins More... | |
float | xgx0c2m_ [4] |
1st pass chi2 min search: average x-bias of reconstruction binned in 4 charge bins More... | |
float | xpar0_ [2][5] |
projected x-strip uncertainty parameterization for central cotalpha More... | |
float | xparh_ [2][5] |
projected x-strip uncertainty parameterization for larger cotalpha More... | |
float | xparhy0_ [2][5] |
projected x-strip uncertainty parameterization for larger cotbeta (central alpha) More... | |
float | xparl_ [2][5] |
projected x-strip uncertainty parameterization for smaller cotalpha More... | |
float | xparly0_ [2][5] |
projected x-strip uncertainty parameterization for smaller cotbeta (central alpha) More... | |
float | xrms_ [4] |
average x-rms of reconstruction binned in 4 charge bins More... | |
float | xrmsbcn_ [4] |
barycenter: 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][17+4] |
templates for x-reconstruction (binned over 5 central strips) More... | |
float | xxratio_ |
fractional distance in x between cotalpha templates More... | |
float | yratio_ |
fractional distance in y between y-slices of cotbeta templates More... | |
float | ysize_ |
Pixel y-size. 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. SiStripTemplate contains theStripTemp (a std::vector of SiStripTemplateStore, each of which is a collection of many SiStripTemplateEntries). Each SiStripTemplateStore 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 SiStripTemplate 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 StripTempReco2D() (a global function) which get the reference for SiStripTemplate & templ and uses the current template to reconstruct the SiStripRecHit.
Definition at line 139 of file SiStripTemplate.h.
|
inline |
Default constructor.
Definition at line 141 of file SiStripTemplate.h.
References BSXSIZE, SiStripTemplateEntry::cotalpha, SiStripTemplateEntry::cotbeta, HiCaloJetParameters_cff::interpolate, j, gen::k, kappa, and SiStripTemplateEntry::xtemp.
|
inline |
averaage x chi^2 in 4 charge bins
Definition at line 232 of file SiStripTemplate.h.
Referenced by SiStripTemplateReco::StripTempReco1D().
|
inline |
1st pass chi2 min search: average x-chisq for merged clusters
Definition at line 274 of file SiStripTemplate.h.
Referenced by SiStripTemplateSplit::StripTempSplit().
|
inline |
//!< average x chi^2 for 1 strip clusters
Definition at line 316 of file SiStripTemplate.h.
Referenced by SiStripTemplateReco::StripTempReco1D(), and SiStripTemplateSplit::StripTempSplit().
|
inline |
minimum y chi^2 in 4 charge bins
Definition at line 239 of file SiStripTemplate.h.
Referenced by SiStripTemplateReco::StripTempReco1D().
|
inline |
1st pass chi2 min search: minimum x-chisq for merged clusters
Definition at line 281 of file SiStripTemplate.h.
|
inline |
//!< minimum of x chi^2 for 1 strip clusters
Definition at line 317 of file SiStripTemplate.h.
Referenced by SiStripTemplateReco::StripTempReco1D(), and SiStripTemplateSplit::StripTempSplit().
|
inline |
x-size of smaller interpolated template in strips
Definition at line 200 of file SiStripTemplate.h.
int SiStripTemplate::cxtemp | ( | ) |
Return central pixel of x-template pixels above readout threshold.
Definition at line 1314 of file SiStripTemplate.cc.
References BSXM1, BSXM2, BSXSIZE, and j.
Referenced by SiStripTemplateReco::StripTempReco1D(), and SiStripTemplateSplit::StripTempSplit().
|
inline |
mean offset/correction for one strip x-clusters
Definition at line 190 of file SiStripTemplate.h.
Referenced by SiStripTemplateReco::StripTempReco1D(), and SiStripTemplateSplit::StripTempSplit().
bool SiStripTemplate::interpolate | ( | int | id, |
float | cotalpha, | ||
float | cotbeta, | ||
float | locBy | ||
) |
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) |
locBy | - (input) the sign of the y-component of the local magnetic field (if positive, flip things) |
Definition at line 641 of file SiStripTemplate.cc.
References funct::abs(), BSXM1, BSXM2, BSXM3, Exception, f, i, hcalTTPDigis_cfi::id, createfilelist::int, j, mathSSE::sqrt(), and TSXSIZE.
Referenced by TrackClusterSplitter::splitCluster(), SiStripTemplateReco::StripTempReco1D(), and SiStripTemplateSplit::StripTempSplit().
bool SiStripTemplate::interpolate | ( | int | id, |
float | cotalpha, | ||
float | cotbeta | ||
) |
|
inline |
kappa parameter for Vavilov distribution
Definition at line 321 of file SiStripTemplate.h.
|
inline |
signed lorentz x-width (microns)
Definition at line 318 of file SiStripTemplate.h.
Referenced by SiStripTemplateReco::StripTempReco1D().
|
inline |
most probable charge in Vavilov distribution (not actually for larger kappa)
Definition at line 319 of file SiStripTemplate.h.
|
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 54 of file SiStripTemplate.cc.
References SiStripTemplateEntry::alpha, SiStripTemplateEntry::beta, SiStripTemplateHeader::Bfield, EnergyCorrector::c, SiStripTemplateEntry::chi2xavg, SiStripTemplateEntry::chi2xavgc2m, SiStripTemplateEntry::chi2xavgone, SiStripTemplateEntry::chi2xmin, SiStripTemplateEntry::chi2xminc2m, SiStripTemplateEntry::chi2xminone, SiStripTemplateEntry::clslenx, SiStripTemplateEntry::costrk, SiStripTemplateEntry::cotalpha, SiStripTemplateEntry::cotbeta, SiStripTemplateHeader::Dtype, SiStripTemplateEntry::dxone, ENDL, SiStripTemplateStore::entx, SiStripTemplateStore::enty, FrontierConditions_GlobalTag_cff::file, SiStripTemplateHeader::fluence, SiStripTemplateEntry::fracxone, SiStripTemplateStore::head, i, SiStripTemplateHeader::ID, recoMuon::in, create_public_lumi_plots::in_file, j, gen::k, SiStripTemplateEntry::kappavav, SiStripTemplateEntry::kappavav2, checklumidiff::l, LOGERROR, LOGINFO, SiStripTemplateHeader::lorxwidth, SiStripTemplateHeader::lorywidth, SiStripTemplateEntry::mpvvav, SiStripTemplateEntry::mpvvav2, SiStripTemplateHeader::NTxx, SiStripTemplateHeader::NTy, SiStripTemplateHeader::NTyx, SiStripTemplateEntry::qavg, SiStripTemplateEntry::qavg_avg, SiStripTemplateEntry::qbfrac, SiStripTemplateEntry::qmin, SiStripTemplateEntry::qmin2, SiStripTemplateHeader::qscale, SiStripTemplateEntry::runnum, SiStripTemplateHeader::s50, SiStripTemplateEntry::sigmavav, SiStripTemplateEntry::sigmavav2, SiStripTemplateEntry::spare, AlCaHLTBitMon_QueryRunRegistry::string, SiStripTemplateEntry::sxmax, SiStripTemplateEntry::sxone, SiStripTemplateHeader::temperature, SiStripTemplateHeader::templ_version, SiStripTemplateHeader::title, TSXSIZE, SiStripTemplateHeader::Vbias, SiStripTemplateEntry::xavg, SiStripTemplateEntry::xavgbcn, SiStripTemplateEntry::xavgc2m, SiStripTemplateEntry::xavggen, SiStripTemplateEntry::xflpar, SiStripTemplateEntry::xgsig, SiStripTemplateEntry::xgsigbcn, SiStripTemplateEntry::xgsigc2m, SiStripTemplateEntry::xgsiggen, SiStripTemplateEntry::xgx0, SiStripTemplateEntry::xgx0bcn, SiStripTemplateEntry::xgx0c2m, SiStripTemplateEntry::xgx0gen, SiStripTemplateEntry::xpar, SiStripTemplateEntry::xrms, SiStripTemplateEntry::xrmsbcn, SiStripTemplateEntry::xrmsc2m, SiStripTemplateEntry::xrmsgen, SiStripTemplateHeader::xsize, SiStripTemplateEntry::xtemp, SiStripTemplateHeader::ysize, and SiStripTemplateHeader::zsize.
Referenced by StripCPEfromTemplate::StripCPEfromTemplate(), 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 358 of file SiStripTemplate.cc.
References SiStripTemplateEntry::alpha, SiStripTemplateEntry::beta, SiStripTemplateHeader::Bfield, SiPixelTemplateDBObject::char2float::c, SiStripTemplateEntry::chi2xavg, SiStripTemplateEntry::chi2xavgc2m, SiStripTemplateEntry::chi2xavgone, SiStripTemplateEntry::chi2xmin, SiStripTemplateEntry::chi2xminc2m, SiStripTemplateEntry::chi2xminone, SiStripTemplateEntry::clslenx, SiStripTemplateEntry::costrk, SiStripTemplateEntry::cotalpha, SiStripTemplateEntry::cotbeta, SiStripTemplateHeader::Dtype, SiStripTemplateEntry::dxone, ENDL, SiStripTemplateStore::entx, SiStripTemplateStore::enty, SiPixelTemplateDBObject::char2float::f, SiPixelTemplateDBObject::fail(), SiStripTemplateHeader::fluence, SiStripTemplateEntry::fracxone, SiStripTemplateStore::head, i, SiStripTemplateHeader::ID, SiPixelTemplateDBObject::incrementIndex(), SiPixelTemplateDBObject::index(), j, gen::k, SiStripTemplateEntry::kappavav, SiStripTemplateEntry::kappavav2, checklumidiff::l, LOGERROR, LOGINFO, SiStripTemplateHeader::lorxwidth, SiStripTemplateHeader::lorywidth, funct::m, SiStripTemplateEntry::mpvvav, SiStripTemplateEntry::mpvvav2, SiStripTemplateHeader::NTxx, SiStripTemplateHeader::NTy, SiStripTemplateHeader::NTyx, SiPixelTemplateDBObject::numOfTempl(), SiStripTemplateEntry::qavg, SiStripTemplateEntry::qavg_avg, SiStripTemplateEntry::qbfrac, SiStripTemplateEntry::qmin, SiStripTemplateEntry::qmin2, SiStripTemplateHeader::qscale, SiStripTemplateEntry::runnum, SiStripTemplateHeader::s50, SiStripTemplateEntry::sigmavav, SiStripTemplateEntry::sigmavav2, SiStripTemplateEntry::spare, SiPixelTemplateDBObject::sVector(), SiStripTemplateEntry::sxmax, SiStripTemplateEntry::sxone, groupFilesInBlocks::temp, SiStripTemplateHeader::temperature, SiStripTemplateHeader::templ_version, SiStripTemplateHeader::title, TSXSIZE, SiStripTemplateHeader::Vbias, SiStripTemplateEntry::xavg, SiStripTemplateEntry::xavgbcn, SiStripTemplateEntry::xavgc2m, SiStripTemplateEntry::xavggen, SiStripTemplateEntry::xflpar, SiStripTemplateEntry::xgsig, SiStripTemplateEntry::xgsigbcn, SiStripTemplateEntry::xgsigc2m, SiStripTemplateEntry::xgsiggen, SiStripTemplateEntry::xgx0, SiStripTemplateEntry::xgx0bcn, SiStripTemplateEntry::xgx0c2m, SiStripTemplateEntry::xgx0gen, SiStripTemplateEntry::xpar, SiStripTemplateEntry::xrms, SiStripTemplateEntry::xrmsbcn, SiStripTemplateEntry::xrmsc2m, SiStripTemplateEntry::xrmsgen, SiStripTemplateHeader::xsize, SiStripTemplateEntry::xtemp, SiStripTemplateHeader::ysize, and SiStripTemplateHeader::zsize.
|
inline |
average cluster charge for this set of track angles
Definition at line 186 of file SiStripTemplate.h.
Referenced by SiStripTemplateReco::StripTempReco1D(), and SiStripTemplateSplit::StripTempSplit().
int SiStripTemplate::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) |
qclus | - (input) the cluster charge in electrons |
Definition at line 1469 of file SiStripTemplate.cc.
References Exception, f, i, diffTreeTool::index, createfilelist::int, and mathSSE::sqrt().
Referenced by TrackClusterSplitter::splitCluster().
|
inline |
minimum cluster charge for valid hit (keeps 99.9% of simulated hits)
Definition at line 192 of file SiStripTemplate.h.
Referenced by SiStripTemplateReco::StripTempReco1D(), and SiStripTemplateSplit::StripTempSplit().
|
inline |
minimum cluster charge for valid hit (keeps 99.9% or 99.8% of simulated hits)
Definition at line 193 of file SiStripTemplate.h.
References Exception.
|
inline |
charge scaling factor
Definition at line 187 of file SiStripTemplate.h.
Referenced by SiStripTemplateReco::StripTempReco1D(), and SiStripTemplateSplit::StripTempSplit().
|
inline |
1/2 of the strip threshold signal in electrons
Definition at line 188 of file SiStripTemplate.h.
Referenced by SiStripTemplateReco::StripTempReco1D(), and SiStripTemplateSplit::StripTempSplit().
|
inline |
"sigma" scale fctor for Vavilov distribution
Definition at line 320 of file SiStripTemplate.h.
|
inline |
average strip signal for x-projection of cluster
Definition at line 189 of file SiStripTemplate.h.
Referenced by SiStripTemplateReco::StripTempReco1D(), and SiStripTemplateSplit::StripTempSplit().
|
inline |
rms for one strip x-clusters
Definition at line 191 of file SiStripTemplate.h.
Referenced by SiStripTemplateReco::StripTempReco1D(), and SiStripTemplateSplit::StripTempSplit().
void SiStripTemplate::sxtemp | ( | float | xhit, |
std::vector< float > & | cluster | ||
) |
Interpolate the template in xhit and return scaled charges (ADC units) in the vector container
xhit | - (input) coordinate of the hit (0 at center of first strip: cluster[0]) |
cluster | - (output) vector array of TSXSIZE (or any other) |
Definition at line 1259 of file SiStripTemplate.cc.
References BSHX, BSXSIZE, Exception, f, objects.autophobj::float, i, createfilelist::int, j, min(), and edm::shift.
Referenced by TrackClusterSplitter::splitCluster().
void SiStripTemplate::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 1691 of file SiStripTemplate.cc.
References Exception, f, i, and mathSSE::sqrt().
Referenced by SiStripTemplateSplit::StripTempSplit().
void SiStripTemplate::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 1613 of file SiStripTemplate.cc.
References Exception, f, i, and mathSSE::sqrt().
Referenced by SiStripTemplateReco::StripTempReco1D().
|
inline |
average x-bias of reconstruction binned in 4 charge bins
Definition at line 204 of file SiStripTemplate.h.
Referenced by SiStripTemplateReco::StripTempReco1D().
|
inline |
1st pass chi2 min search: average x-bias of reconstruction binned in 4 charge bins
Definition at line 288 of file SiStripTemplate.h.
Referenced by SiStripTemplateReco::StripTempReco1D().
|
inline |
1st pass chi2 min search: average x-bias of reconstruction binned in 4 charge bins
Definition at line 246 of file SiStripTemplate.h.
Referenced by SiStripTemplateSplit::StripTempSplit().
float SiStripTemplate::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 1132 of file SiStripTemplate.cc.
Referenced by SiStripTemplateReco::StripTempReco1D().
|
inline |
average sigma_x from Gaussian fit binned in 4 charge bins
Definition at line 225 of file SiStripTemplate.h.
|
inline |
1st pass chi2 min search: average sigma_x from Gaussian fit binned in 4 charge bins
Definition at line 309 of file SiStripTemplate.h.
|
inline |
1st pass chi2 min search: average sigma_x from Gaussian fit binned in 4 charge bins
Definition at line 267 of file SiStripTemplate.h.
|
inline |
average x0 from Gaussian fit binned in 4 charge bins
Definition at line 218 of file SiStripTemplate.h.
|
inline |
1st pass chi2 min search: average x0 from Gaussian fit binned in 4 charge bins
Definition at line 302 of file SiStripTemplate.h.
|
inline |
1st pass chi2 min search: average x0 from Gaussian fit binned in 4 charge bins
Definition at line 260 of file SiStripTemplate.h.
|
inline |
average x-rms of reconstruction binned in 4 charge bins
Definition at line 211 of file SiStripTemplate.h.
Referenced by SiStripTemplateReco::StripTempReco1D().
|
inline |
1st pass chi2 min search: average x-rms of reconstruction binned in 4 charge bins
Definition at line 295 of file SiStripTemplate.h.
Referenced by SiStripTemplateReco::StripTempReco1D().
|
inline |
1st pass chi2 min search: average x-rms of reconstruction binned in 4 charge bins
Definition at line 253 of file SiStripTemplate.h.
Referenced by SiStripTemplateSplit::StripTempSplit().
void SiStripTemplate::xsigma2 | ( | int | fxstrp, |
int | lxstrp, | ||
float | sxthr, | ||
float | xsum[17+4], | ||
float | xsig2[17+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 1017 of file SiStripTemplate.cc.
References BSHX, BSXM2, ENDL, Exception, f, i, and LOGERROR.
Referenced by SiStripTemplateReco::StripTempReco1D(), and SiStripTemplateSplit::StripTempSplit().
|
inline |
strip x-size (microns)
Definition at line 322 of file SiStripTemplate.h.
Referenced by TrackClusterSplitter::splitCluster(), SiStripTemplateReco::StripTempReco1D(), and SiStripTemplateSplit::StripTempSplit().
void SiStripTemplate::xtemp | ( | int | fxbin, |
int | lxbin, | ||
float | xtemplate[41][17+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 1183 of file SiStripTemplate.cc.
References BSXM1, BSXM2, BSXSIZE, Exception, i, and j.
Referenced by SiStripTemplateReco::StripTempReco1D().
void SiStripTemplate::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 1441 of file SiStripTemplate.cc.
References BSXSIZE, i, j, and gen::k.
Referenced by SiStripTemplateSplit::StripTempSplit().
void SiStripTemplate::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 1362 of file SiStripTemplate.cc.
References BSXM1, BSXM3, BSXSIZE, mps_update::diff, Exception, i, createfilelist::int, j, and gen::k.
Referenced by SiStripTemplateSplit::StripTempSplit().
|
inline |
fractional distance in x between cotalpha templates
Definition at line 203 of file SiStripTemplate.h.
|
inline |
fractional distance in y between cotbeta templates
Definition at line 201 of file SiStripTemplate.h.
|
inline |
strip y-size (microns)
Definition at line 323 of file SiStripTemplate.h.
|
inline |
fractional distance in y between cotalpha templates slices
Definition at line 202 of file SiStripTemplate.h.
|
inline |
strip z-size or thickness (microns)
Definition at line 324 of file SiStripTemplate.h.
|
private |
absolute value of cot beta
Definition at line 337 of file SiStripTemplate.h.
|
private |
average x chi^2 in 4 charge bins
Definition at line 377 of file SiStripTemplate.h.
|
private |
1st pass chi2 min search: average x-chisq for merged clusters
Definition at line 379 of file SiStripTemplate.h.
|
private |
average x chi^2 for 1 strip clusters
Definition at line 385 of file SiStripTemplate.h.
|
private |
minimum of x chi^2 in 4 charge bins
Definition at line 378 of file SiStripTemplate.h.
|
private |
1st pass chi2 min search: minimum x-chisq for merged clusters
Definition at line 380 of file SiStripTemplate.h.
|
private |
minimum of x chi^2 for 1 strip clusters
Definition at line 386 of file SiStripTemplate.h.
|
private |
x-cluster length of smaller interpolated template in strips
Definition at line 355 of file SiStripTemplate.h.
|
private |
current cot alpha
Definition at line 335 of file SiStripTemplate.h.
|
private |
current cot beta
Definition at line 336 of file SiStripTemplate.h.
|
private |
mean offset/correction for one strip x-clusters
Definition at line 350 of file SiStripTemplate.h.
|
private |
mean offset/correction for one double-strip x-clusters
Definition at line 352 of file SiStripTemplate.h.
|
private |
current id
Definition at line 333 of file SiStripTemplate.h.
|
private |
current index
Definition at line 334 of file SiStripTemplate.h.
|
private |
kappa parameter for 2-cluster Vavilov distribution
Definition at line 393 of file SiStripTemplate.h.
|
private |
kappa parameter for Vavilov distribution
Definition at line 390 of file SiStripTemplate.h.
|
private |
Lorentz x-width.
Definition at line 394 of file SiStripTemplate.h.
|
private |
most probable charge in 2-cluster Vavilov distribution (not actually for larger kappa)
Definition at line 391 of file SiStripTemplate.h.
|
private |
most probable charge in Vavilov distribution (not actually for larger kappa)
Definition at line 388 of file SiStripTemplate.h.
|
private |
number of bins in each dimension of the x-splitting template
Definition at line 399 of file SiStripTemplate.h.
|
private |
maximum strip charge
Definition at line 344 of file SiStripTemplate.h.
|
private |
average cluster charge for this set of track angles
Definition at line 343 of file SiStripTemplate.h.
|
private |
average of cluster charge less than qavg
Definition at line 398 of file SiStripTemplate.h.
|
private |
tighter minimum cluster charge for valid hit (keeps 99.8% of simulated hits)
Definition at line 387 of file SiStripTemplate.h.
|
private |
minimum cluster charge for valid hit (keeps 99.9% of simulated hits)
Definition at line 354 of file SiStripTemplate.h.
|
private |
charge scaling factor
Definition at line 345 of file SiStripTemplate.h.
|
private |
1/2 of the strip threshold signal in adc units
Definition at line 346 of file SiStripTemplate.h.
|
private |
"sigma" scale fctor for 2-cluster Vavilov distribution
Definition at line 392 of file SiStripTemplate.h.
|
private |
"sigma" scale fctor for Vavilov distribution
Definition at line 389 of file SiStripTemplate.h.
|
private |
true if cotalpha, cotbeta are inside of the acceptance (dynamically loaded)
Definition at line 338 of file SiStripTemplate.h.
|
private |
average strip signal for x-projection of cluster
Definition at line 347 of file SiStripTemplate.h.
|
private |
rms for one strip x-clusters
Definition at line 351 of file SiStripTemplate.h.
|
private |
maximum strip signal for parameterization of x uncertainties
Definition at line 348 of file SiStripTemplate.h.
|
private |
rms for one double-strip x-clusters
Definition at line 353 of file SiStripTemplate.h.
|
private |
maximum strip signal for parameterization of y-slice x uncertainties
Definition at line 349 of file SiStripTemplate.h.
|
private |
2d-primitive for spltting 3-d template
Definition at line 400 of file SiStripTemplate.h.
|
private |
Definition at line 405 of file SiStripTemplate.h.
|
private |
average x-bias of reconstruction binned in 4 charge bins
Definition at line 365 of file SiStripTemplate.h.
|
private |
barycenter: average x-bias of reconstruction binned in 4 charge bins
Definition at line 381 of file SiStripTemplate.h.
|
private |
1st pass chi2 min search: average x-bias of reconstruction binned in 4 charge bins
Definition at line 373 of file SiStripTemplate.h.
|
private |
Aqfl-parameterized x-correction in 4 charge bins for larger cotbeta, cotalpha.
Definition at line 372 of file SiStripTemplate.h.
|
private |
Aqfl-parameterized x-correction in 4 charge bins for larger cotbeta, smaller cotalpha.
Definition at line 371 of file SiStripTemplate.h.
|
private |
Aqfl-parameterized x-correction in 4 charge bins for smaller cotbeta, larger cotalpha.
Definition at line 370 of file SiStripTemplate.h.
|
private |
Aqfl-parameterized x-correction in 4 charge bins for smaller cotbeta, cotalpha.
Definition at line 369 of file SiStripTemplate.h.
|
private |
sigma from Gaussian fit binned in 4 charge bins
Definition at line 368 of file SiStripTemplate.h.
|
private |
barycenter: average x-rms of reconstruction binned in 4 charge bins
Definition at line 384 of file SiStripTemplate.h.
|
private |
1st pass chi2 min search: average x-rms of reconstruction binned in 4 charge bins
Definition at line 376 of file SiStripTemplate.h.
|
private |
average x0 from Gaussian fit binned in 4 charge bins
Definition at line 367 of file SiStripTemplate.h.
|
private |
barycenter: average x-bias of reconstruction binned in 4 charge bins
Definition at line 383 of file SiStripTemplate.h.
|
private |
1st pass chi2 min search: average x-bias of reconstruction binned in 4 charge bins
Definition at line 375 of file SiStripTemplate.h.
|
private |
projected x-strip uncertainty parameterization for central cotalpha
Definition at line 361 of file SiStripTemplate.h.
|
private |
projected x-strip uncertainty parameterization for larger cotalpha
Definition at line 363 of file SiStripTemplate.h.
|
private |
projected x-strip uncertainty parameterization for larger cotbeta (central alpha)
Definition at line 357 of file SiStripTemplate.h.
|
private |
projected x-strip uncertainty parameterization for smaller cotalpha
Definition at line 362 of file SiStripTemplate.h.
|
private |
projected x-strip uncertainty parameterization for smaller cotbeta (central alpha)
Definition at line 356 of file SiStripTemplate.h.
|
private |
average x-rms of reconstruction binned in 4 charge bins
Definition at line 366 of file SiStripTemplate.h.
|
private |
barycenter: average x-rms of reconstruction binned in 4 charge bins
Definition at line 382 of file SiStripTemplate.h.
|
private |
1st pass chi2 min search: average x-rms of reconstruction binned in 4 charge bins
Definition at line 374 of file SiStripTemplate.h.
|
private |
Pixel x-size.
Definition at line 395 of file SiStripTemplate.h.
|
private |
templates for x-reconstruction (binned over 5 central strips)
Definition at line 364 of file SiStripTemplate.h.
|
private |
fractional distance in x between cotalpha templates
Definition at line 360 of file SiStripTemplate.h.
|
private |
fractional distance in y between y-slices of cotbeta templates
Definition at line 358 of file SiStripTemplate.h.
|
private |
Pixel y-size.
Definition at line 396 of file SiStripTemplate.h.
|
private |
fractional distance in y between x-slices of cotalpha templates
Definition at line 359 of file SiStripTemplate.h.
|
private |
Pixel z-size (thickness)
Definition at line 397 of file SiStripTemplate.h.