Go to the documentation of this file. 1 #ifndef CSCRecHitD_CSCFindPeakTime_h
2 #define CSCRecHitD_CSCFindPeakTime_h
50 int tmax,
const float*
adc,
const float& t_zero,
const float& t_peak, std::vector<float>& adcsFit);
float peakTime(int tmax, const float *adc, float t_peak)
Basic result of this class.
uint16_t *__restrict__ uint16_t const *__restrict__ adc
CSCFindPeakTime(const edm::ParameterSet &ps)
static const double tmax[3]
float parabolaFitTime(int tmax, const float *adc)
Parabolic fit to three time bins centered on maximum.
void fivePoleFitCharge(int tmax, const float *adc, const float &t_zero, const float &t_peak, std::vector< float > &adcsFit)
float fivePoleFitTime(int tmax, const float *adc, float t_peak)
float averageTime(int tmax, const float *adc)
Weighted average of time bins.