#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, const float targetTimePrecision, const bool correctForOOT=true, const bool correctForSlew=true) const |
EcalUncalibRecHitTimingCCAlgo (const float startTime, const float stopTime) | |
Private Member Functions | |
float | computeCC (const std::vector< float > &samples, const std::vector< float > &weights, 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 157 of file EcalUncalibRecHitTimingCCAlgo.cc.
References gpuPixelDoublets::cc, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), bTagMiniDQMDeepCSV::denominator, mps_fire::i, createfilelist::int, interpolatePulse(), funct::pow(), EgammaValidation_cff::samples, mathSSE::sqrt(), hcalRecHitTable_cff::time, and hltDeepSecondaryVertexTagInfosPFPuppi_cfi::weights.
Referenced by computeTimeCC().
double EcalUncalibRecHitTimingCCAlgo::computeTimeCC | ( | const EcalDataFrame & | dataFrame, |
const std::vector< double > & | amplitudes, | ||
const EcalPedestals::Item * | aped, | ||
const EcalMGPAGainRatio * | aGain, | ||
const FullSampleVector & | fullpulse, | ||
const float | targetTimePrecision, | ||
const bool | correctForOOT = true , |
||
const bool | correctForSlew = true |
||
) | const |
Definition at line 6 of file EcalUncalibRecHitTimingCCAlgo.cc.
References funct::abs(), CustomPhysics_cfi::amplitude, computeCC(), ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), counter, f, EcalMGPAGainRatio::gain12Over6(), EcalMGPAGainRatio::gain6Over1(), ecalLiteDTU::gainId(), EcalMGPASample::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, TIME_WHEN_NOT_CONVERGING, and hltDeepSecondaryVertexTagInfosPFPuppi_cfi::weights.
|
private |
Definition at line 118 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 37 of file EcalUncalibRecHitTimingCCAlgo.h.
Referenced by computeTimeCC().
|
staticprivate |
Definition at line 38 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.
|
staticprivate |
Definition at line 39 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().