1 #ifndef RecoLocalCalo_EcalRecAlgos_EcalUncalibRecHitTimingCCAlgo_HH 2 #define RecoLocalCalo_EcalRecAlgos_EcalUncalibRecHitTimingCCAlgo_HH 22 const std::vector<double>& amplitudes,
26 const float targetTimePrecision,
27 const bool correctForOOT =
true,
28 const bool correctForSlew =
true)
const;
43 const std::vector<float>&
weights,
Eigen::Matrix< double, FullSampleVectorSize, 1 > FullSampleVector
float computeCC(const std::vector< float > &samples, const std::vector< float > &weights, const FullSampleVector &sigmalTemplate, const float t) const
static constexpr int TIME_WHEN_NOT_CONVERGING
static constexpr int MAX_NUM_OF_ITERATIONS
static constexpr float GOLDEN_RATIO
static constexpr int MIN_NUM_OF_ITERATIONS
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
static constexpr float GLOBAL_TIME_SHIFT
EcalUncalibRecHitTimingCCAlgo(const float startTime, const float stopTime)
static constexpr float ONE_MINUS_GOLDEN_RATIO
FullSampleVector interpolatePulse(const FullSampleVector &fullpulse, const float t=0) const