#include <EcalUncalibRecHitRatioMethodAlgo.h>
Classes | |
struct | CalculatedRecHit |
struct | Ratio |
struct | Tmax |
Public Member Functions | |
void | computeAmplitude (std::vector< double > &litudeFitParameters) |
double | computeAmplitudeImpl (std::vector< double > &litudeFitParameters, double, double) |
void | computeTime (std::vector< double > &timeFitParameters, std::pair< double, double > &timeFitLimits, std::vector< double > &litudeFitParameters) |
bool | fixMGPAslew (const C &dataFrame) |
CalculatedRecHit | getCalculatedRecHit () |
void | init (const C &dataFrame, const EcalSampleMask &sampleMask, const double *pedestals, const double *pedestalRMSes, const double *gainRatios) |
EcalUncalibratedRecHit | makeRecHit (const C &dataFrame, const EcalSampleMask &sampleMask, const double *pedestals, const double *pedestalRMSes, const double *gainRatios, std::vector< double > &timeFitParameters, std::vector< double > &litudeFitParameters, std::pair< double, double > &timeFitLimits) |
Protected Attributes | |
std::array< double, C::MAXSAMPLES > | amplitudeErrors_ |
std::array< double, C::MAXSAMPLES > | amplitudeIE2_ |
std::array< double, C::MAXSAMPLES > | amplitudes_ |
double | ampMaxError_ |
CalculatedRecHit | calculatedRechit_ |
int | num_ |
double | pedestal_ |
EcalSampleMask | sampleMask_ |
DetId | theDetId_ |
std::array< bool, C::MAXSAMPLES > | useless_ |
Template used to compute amplitude, pedestal, time jitter, chi2 of a pulse using a ratio method
Definition at line 31 of file EcalUncalibRecHitRatioMethodAlgo.h.
void EcalUncalibRecHitRatioMethodAlgo< C >::computeAmplitude | ( | std::vector< double > & | amplitudeFitParameters | ) |
Definition at line 560 of file EcalUncalibRecHitRatioMethodAlgo.h.
Referenced by EcalUncalibRecHitWorkerGlobal::run(), and EcalUncalibRecHitWorkerMultiFit::run().
double EcalUncalibRecHitRatioMethodAlgo< C >::computeAmplitudeImpl | ( | std::vector< double > & | amplitudeFitParameters, |
double | corr4, | ||
double | corr6 | ||
) |
Definition at line 569 of file EcalUncalibRecHitRatioMethodAlgo.h.
References funct::abs(), alpha, pfBoostedDoubleSVAK8TagInfos_cfi::beta, MillePedeFileConverter_cfg::e, f, myMath::fast_expf(), myMath::fast_logf(), and mps_fire::i.
void EcalUncalibRecHitRatioMethodAlgo< C >::computeTime | ( | std::vector< double > & | timeFitParameters, |
std::pair< double, double > & | timeFitLimits, | ||
std::vector< double > & | amplitudeFitParameters | ||
) |
Definition at line 224 of file EcalUncalibRecHitRatioMethodAlgo.h.
References alpha, pfBoostedDoubleSVAK8TagInfos_cfi::beta, vertices_cff::chi2, EcalUncalibRecHitRatioMethodAlgo< C >::Tmax::chi2, MillePedeFileConverter_cfg::e, f, myMath::fast_expf(), myMath::fast_logf(), mps_fire::i, EcalUncalibRecHitRatioMethodAlgo< C >::Tmax::index, gen::k, SiStripPI::max, PFRecoTauDiscriminationByIsolation_cfi::offset, Gflash::Rmax, Gflash::Rmin, mathSSE::sqrt(), trackingPlots::stat, and tmax.
Referenced by EcalUncalibRecHitWorkerGlobal::run(), and EcalUncalibRecHitWorkerMultiFit::run().
bool EcalUncalibRecHitRatioMethodAlgo< C >::fixMGPAslew | ( | const C & | dataFrame | ) |
Definition at line 189 of file EcalUncalibRecHitRatioMethodAlgo.h.
References MillePedeFileConverter_cfg::e, and mps_fire::result.
Referenced by EcalUncalibRecHitWorkerRatio::run(), EcalUncalibRecHitWorkerGlobal::run(), and EcalUncalibRecHitWorkerMultiFit::run().
|
inline |
Definition at line 72 of file EcalUncalibRecHitRatioMethodAlgo.h.
Referenced by EcalUncalibRecHitWorkerRatio::run(), EcalUncalibRecHitWorkerGlobal::run(), and EcalUncalibRecHitWorkerMultiFit::run().
void EcalUncalibRecHitRatioMethodAlgo< C >::init | ( | const C & | dataFrame, |
const EcalSampleMask & | sampleMask, | ||
const double * | pedestals, | ||
const double * | pedestalRMSes, | ||
const double * | gainRatios | ||
) |
Definition at line 95 of file EcalUncalibRecHitRatioMethodAlgo.h.
References funct::abs(), MillePedeFileConverter_cfg::e, and simplePhotonAnalyzer_cfi::sample.
Referenced by EcalUncalibRecHitWorkerGlobal::run(), and EcalUncalibRecHitWorkerMultiFit::run().
EcalUncalibratedRecHit EcalUncalibRecHitRatioMethodAlgo< C >::makeRecHit | ( | const C & | dataFrame, |
const EcalSampleMask & | sampleMask, | ||
const double * | pedestals, | ||
const double * | pedestalRMSes, | ||
const double * | gainRatios, | ||
std::vector< double > & | timeFitParameters, | ||
std::vector< double > & | amplitudeFitParameters, | ||
std::pair< double, double > & | timeFitLimits | ||
) |
Definition at line 621 of file EcalUncalibRecHitRatioMethodAlgo.h.
References init.
Referenced by EcalUncalibRecHitWorkerRatio::run().
|
protected |
Definition at line 83 of file EcalUncalibRecHitRatioMethodAlgo.h.
|
protected |
Definition at line 84 of file EcalUncalibRecHitRatioMethodAlgo.h.
|
protected |
Definition at line 82 of file EcalUncalibRecHitRatioMethodAlgo.h.
|
protected |
Definition at line 89 of file EcalUncalibRecHitRatioMethodAlgo.h.
|
protected |
Definition at line 91 of file EcalUncalibRecHitRatioMethodAlgo.h.
|
protected |
Definition at line 88 of file EcalUncalibRecHitRatioMethodAlgo.h.
|
protected |
Definition at line 87 of file EcalUncalibRecHitRatioMethodAlgo.h.
|
protected |
Definition at line 80 of file EcalUncalibRecHitRatioMethodAlgo.h.
|
protected |
Definition at line 81 of file EcalUncalibRecHitRatioMethodAlgo.h.
|
protected |
Definition at line 85 of file EcalUncalibRecHitRatioMethodAlgo.h.