#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 beta, alignCSCRings::e, f, myMath::fast_expf(), myMath::fast_logf(), and 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, beta, EcalUncalibRecHitRatioMethodAlgo< C >::Tmax::chi2, beam_dqm_sourceclient-live_cfg::chi2, alignCSCRings::e, f, myMath::fast_expf(), myMath::fast_logf(), i, EcalUncalibRecHitRatioMethodAlgo< C >::Tmax::index, cmsHarvester::index, j, relval_2017::k, bookConverter::max, hltrates_dqm_sourceclient-live_cfg::offset, Gflash::Rmax, Gflash::Rmin, mathSSE::sqrt(), relval_parameters_module::step, tmax, HLT_FULL_cff::tMaxRatio, and relativeConstraints::value.
Referenced by EcalUncalibRecHitWorkerGlobal::run(), and EcalUncalibRecHitWorkerMultiFit::run().
bool EcalUncalibRecHitRatioMethodAlgo< C >::fixMGPAslew | ( | const C & | dataFrame | ) |
Definition at line 189 of file EcalUncalibRecHitRatioMethodAlgo.h.
References alignCSCRings::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 alignCSCRings::e, and compare_using_db::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.
Referenced by EcalUncalibRecHitRatioMethodAlgo< EBDataFrame >::getCalculatedRecHit().
|
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.