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);
constexpr int adc(sample_type sample)
get the ADC sample (12 bits)
float peakTime(int tmax, const float *adc, float t_peak)
Basic result of this class.
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.