|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef LARWAVEHELPER_H
6 #define LARWAVEHELPER_H
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;
77 #endif // LARWAVEHELPER_H
double getSumRegion(const LArWave &theWave, unsigned iFirst, unsigned iLast) const
unsigned getStart(const LArWave &theWave) const
double getWidth(const LArWave &theWave) const
double getBaseline(const LArWave &theWave, unsigned nBase) const
LArWave translate(const LArWave &theWave, int nShift, double baseline=0.) const
double getJitter(const LArWaveCumul &theWave) const
double getMaxAmp(const LArWave &theWave) const
unsigned int getMax(const LArWave &theWave) const
return index of maximum sample
double getDMax(const LArWave &theWave, double &tMax) const
return amplitude aproximation from poly2 fit around maxima, and it's time
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 getSumTail(const LArWave &theWave, unsigned iFirst) const
double getT5(const LArWave &theWave) const
double getSumSquareRegion(const LArWave &theWave, unsigned iFirst, unsigned iLast) const
unsigned fact(unsigned N) const
std::vector< LArWave > linearMasterWave(const std::vector< const LArWave * > &vWaves, const std::vector< double > &vAmpli) const
std::vector< double > linfit(const LArWave &theWave, unsigned iFirst, unsigned iLast, double &rho) const
LArWave Dtranslate(const LArWave &theWave, double tShift, double baseline=0.) const
std::vector< double > polyfit(const LArWave &theWave, unsigned iFirst, unsigned iLast, unsigned Ndeg) const
double getSumSquareTail(const LArWave &theWave, unsigned iFirst) const
unsigned getZeroCross(const LArWave &theWave) const
unsigned int getMin(const LArWave &theWave) const
return index of minimum sample
double getArea(const LArWave &theWave) const
LArWave derive_smooth(const LArWave &theWave) const
smoothed derivative
LArWave autocorr(const LArWave &theWave) const
autocorrelation function (not normalized)
LArWave subSample(const LArWave &theWave, unsigned Nfirst, unsigned deltaN) const
LArWave derive(const LArWave &theWave) const
crude derivative
std::vector< double > expfit(const LArWave &theWave, unsigned iFirst, unsigned iLast, double &rho) const
double getT0(const LArWave &theWave) const