#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 |
EcalUncalibRecHitTimingCCAlgo (const float startTime, const float stopTime, const float targetTimePrecision) | |
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_ |
const float | targetTimePrecision_ |
Static Private Attributes | |
static constexpr float | GLOBAL_TIME_SHIFT = 100 |
static constexpr int | MAX_NUM_OF_ITERATIONS = 30 |
static constexpr int | MIN_NUM_OF_ITERATIONS = 2 |
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, | ||
const float | targetTimePrecision | ||
) |
Definition at line 3 of file EcalUncalibRecHitTimingCCAlgo.cc.
|
private |
Definition at line 142 of file EcalUncalibRecHitTimingCCAlgo.cc.
References cuy::denominator, mps_fire::i, interpolatePulse(), funct::pow(), and mathSSE::sqrt().
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 |
Definition at line 8 of file EcalUncalibRecHitTimingCCAlgo.cc.
References EcalMGPASample::adc(), computeCC(), counter, EcalMGPAGainRatio::gain12Over6(), EcalMGPAGainRatio::gain6Over1(), ecalLiteDTU::gainId(), EcalMGPASample::gainId(), GLOBAL_TIME_SHIFT, SiStripPI::max, MAX_NUM_OF_ITERATIONS, EcalDataFrame::MAXSAMPLES, hltrates_dqm_sourceclient-live_cfg::offset, EcalCondDBWriter_cfi::pedestal, pulse(), ecalPh1::Samp_Period, makeMEIFBenchmarkPlots::sample, EcalDataFrame::sample(), startTime_, stopTime_, targetTimePrecision_, and TIME_WHEN_NOT_CONVERGING.
|
private |
Definition at line 103 of file EcalUncalibRecHitTimingCCAlgo.cc.
References a, mps_fire::i, numberOfSamples, ecalPh1::Samp_Period, edm::shift, and groupFilesInBlocks::tt.
Referenced by computeCC().
|
staticprivate |
Definition at line 37 of file EcalUncalibRecHitTimingCCAlgo.h.
Referenced by computeTimeCC().
|
staticprivate |
Definition at line 35 of file EcalUncalibRecHitTimingCCAlgo.h.
Referenced by computeTimeCC().
|
staticprivate |
Definition at line 36 of file EcalUncalibRecHitTimingCCAlgo.h.
|
private |
Definition at line 30 of file EcalUncalibRecHitTimingCCAlgo.h.
Referenced by computeTimeCC().
|
private |
Definition at line 31 of file EcalUncalibRecHitTimingCCAlgo.h.
Referenced by computeTimeCC().
|
private |
Definition at line 32 of file EcalUncalibRecHitTimingCCAlgo.h.
Referenced by computeTimeCC().
|
staticprivate |
Definition at line 34 of file EcalUncalibRecHitTimingCCAlgo.h.
Referenced by computeTimeCC().