#include <EcalUncalibRecHitTimingCCAlgo.h>
Public Member Functions | |
double | computeTimeCC (const EcalDataFrame &dataFrame, const std::vector< double > &litudes, const EcalPedestals::Item *aped, const EcalMGPAGainRatio *aGain, const FullSampleVector &fullpulse, EcalUncalibratedRecHit &uncalibRecHit, float &errOnTime, const float targetTimePrecision, const bool correctForOOT=true) const |
EcalUncalibRecHitTimingCCAlgo (const float startTime, const float stopTime) | |
Private Member Functions | |
float | computeCC (const std::vector< float > &samples, const FullSampleVector &sigmalTemplate, const float t) const |
FullSampleVector | interpolatePulse (const FullSampleVector &fullpulse, const float t=0) const |
Private Attributes | |
const float | startTime_ |
const float | stopTime_ |
Static Private Attributes | |
static constexpr float | GLOBAL_TIME_SHIFT = 100 |
static constexpr float | GOLDEN_RATIO = 0.61803399 |
static constexpr int | MAX_NUM_OF_ITERATIONS = 60 |
static constexpr int | MIN_NUM_OF_ITERATIONS = 2 |
static constexpr float | ONE_MINUS_GOLDEN_RATIO = 1.0 - GOLDEN_RATIO |
static constexpr int | TIME_WHEN_NOT_CONVERGING = 100 |
CrossCorrelation algorithm for timing reconstruction
Definition at line 18 of file EcalUncalibRecHitTimingCCAlgo.h.
EcalUncalibRecHitTimingCCAlgo::EcalUncalibRecHitTimingCCAlgo | ( | const float | startTime, |
const float | stopTime | ||
) |
Definition at line 3 of file EcalUncalibRecHitTimingCCAlgo.cc.
|
private |
Definition at line 152 of file EcalUncalibRecHitTimingCCAlgo.cc.
References gpuPixelDoublets::cc, bTagMiniDQMDeepCSV::denominator, mps_fire::i, createfilelist::int, interpolatePulse(), conifer::pow(), EgammaValidation_cff::samples, mathSSE::sqrt(), and hcalRecHitTable_cff::time.
Referenced by computeTimeCC().
double EcalUncalibRecHitTimingCCAlgo::computeTimeCC | ( | const EcalDataFrame & | dataFrame, |
const std::vector< double > & | amplitudes, | ||
const EcalPedestals::Item * | aped, | ||
const EcalMGPAGainRatio * | aGain, | ||
const FullSampleVector & | fullpulse, | ||
EcalUncalibratedRecHit & | uncalibRecHit, | ||
float & | errOnTime, | ||
const float | targetTimePrecision, | ||
const bool | correctForOOT = true |
||
) | const |
Definition at line 6 of file EcalUncalibRecHitTimingCCAlgo.cc.
References funct::abs(), CustomPhysics_cfi::amplitude, computeCC(), counter, EcalMGPAGainRatio::gain12Over6(), EcalMGPAGainRatio::gain6Over1(), ecalLiteDTU::gainId(), GLOBAL_TIME_SHIFT, GOLDEN_RATIO, SiStripPI::max, MAX_NUM_OF_ITERATIONS, EcalDataFrame::MAXSAMPLES, hltrates_dqm_sourceclient-live_cfg::offset, ONE_MINUS_GOLDEN_RATIO, EcalCondDBWriter_cfi::pedestal, pulse(), ecalPh1::Samp_Period, EcalDataFrame::sample(), ecalGpuTask_cfi::sample, startTime_, stopTime_, FrontierCondition_GT_autoExpress_cfi::t0, RandomServiceHelper::t1, RandomServiceHelper::t2, RandomServiceHelper::t3, and TIME_WHEN_NOT_CONVERGING.
|
private |
Definition at line 113 of file EcalUncalibRecHitTimingCCAlgo.cc.
References a, mps_fire::i, numberOfSamples, ecalPh1::Samp_Period, edm::shift, and hcalRecHitTable_cff::time.
Referenced by computeCC().
|
staticprivate |
Definition at line 38 of file EcalUncalibRecHitTimingCCAlgo.h.
Referenced by computeTimeCC().
|
staticprivate |
Definition at line 39 of file EcalUncalibRecHitTimingCCAlgo.h.
Referenced by computeTimeCC().
|
staticprivate |
Definition at line 36 of file EcalUncalibRecHitTimingCCAlgo.h.
Referenced by computeTimeCC().
|
staticprivate |
Definition at line 37 of file EcalUncalibRecHitTimingCCAlgo.h.
|
staticprivate |
Definition at line 40 of file EcalUncalibRecHitTimingCCAlgo.h.
Referenced by computeTimeCC().
|
private |
Definition at line 32 of file EcalUncalibRecHitTimingCCAlgo.h.
Referenced by computeTimeCC().
|
private |
Definition at line 33 of file EcalUncalibRecHitTimingCCAlgo.h.
Referenced by computeTimeCC().
|
staticprivate |
Definition at line 35 of file EcalUncalibRecHitTimingCCAlgo.h.
Referenced by computeTimeCC().