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