50 std::vector<double>
linfit(
const LArWave& theWave,
unsigned iFirst,
unsigned iLast,
52 std::vector<double>
expfit(
const LArWave& theWave,
unsigned iFirst,
unsigned iLast,
54 std::vector<double>
polyfit(
const LArWave& theWave,
unsigned iFirst,
unsigned iLast,
59 std::vector<LArWave>
linearMasterWave(
const std::vector<const LArWave*>& vWaves,
const std::vector<double>& vAmpli)
const;
63 unsigned fact(
unsigned N)
const {
return ( N<2 ) ? 1 : N*
fact(N-1) ; };
65 std::vector<double>
linfit(
const std::vector<double>& X,
const std::vector<double>& Y,
67 std::vector<double>
expfit(
const std::vector<double>& X,
const std::vector<double>& Y,
69 std::vector<double>
polyfit(
const std::vector<double>& X,
const std::vector<double>& Y,
72 std::vector<double>& X,std::vector<double>& Y)
const;
double getJitter(const LArWaveCumul &theWave) const
LArWave translate(const LArWave &theWave, int nShift, double baseline=0.) const
std::vector< double > polyfit(const LArWave &theWave, unsigned iFirst, unsigned iLast, unsigned Ndeg) const
LArWave Dtranslate(const LArWave &theWave, double tShift, double baseline=0.) const
unsigned int getMin(const LArWave &theWave) const
return index of minimum sample
std::vector< LArWave > linearMasterWave(const std::vector< const LArWave * > &vWaves, const std::vector< double > &vAmpli) const
unsigned fact(unsigned N) const
double getSumSquareTail(const LArWave &theWave, unsigned iFirst) const
double getSumSquareRegion(const LArWave &theWave, unsigned iFirst, unsigned iLast) const
unsigned get_fit_vectors(const LArWave &theWave, unsigned iFirst, unsigned iLast, std::vector< double > &X, std::vector< double > &Y) const
LArWaveDerivedQuantitiesP getDerivedQuantities(const LArWaveCumul &theWave) const
double getMaxAmp(const LArWave &theWave) const
double getWidth(const LArWave &theWave) const
LArWave autocorr(const LArWave &theWave) const
autocorrelation function (not normalized)
unsigned getZeroCross(const LArWave &theWave) const
LArWave derive_smooth(const LArWave &theWave) const
smoothed derivative
double getBaseline(const LArWave &theWave, unsigned nBase) const
double getSumRegion(const LArWave &theWave, unsigned iFirst, unsigned iLast) const
LArWave subSample(const LArWave &theWave, unsigned Nfirst, unsigned deltaN) const
std::vector< double > expfit(const LArWave &theWave, unsigned iFirst, unsigned iLast, double &rho) const
double getT5(const LArWave &theWave) const
double getT0(const LArWave &theWave) const
std::vector< double > linfit(const LArWave &theWave, unsigned iFirst, unsigned iLast, double &rho) const
unsigned int getMax(const LArWave &theWave) const
return index of maximum sample
double getSumTail(const LArWave &theWave, unsigned iFirst) const
double getDMax(const LArWave &theWave, double &tMax) const
return amplitude aproximation from poly2 fit around maxima, and it's time
LArWave derive(const LArWave &theWave) const
crude derivative
unsigned getStart(const LArWave &theWave) const
double getArea(const LArWave &theWave) const