CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
PulseFitWithFunction Class Reference

#include <PulseFitWithFunction.h>

Inheritance diagram for PulseFitWithFunction:

Public Member Functions

virtual double doFit (double *)
 
double getAmpl ()
 
double getAmpl_parab ()
 
double getMax_parab ()
 
int getSampMax_parab ()
 
double getTime ()
 
double getTime_parab ()
 
virtual void init (int, int, int, int, double, double)
 
 PulseFitWithFunction ()
 
virtual ~PulseFitWithFunction ()
 

Public Attributes

double fAmp_fitted_max
 
double fFunc_max
 
int fNumber_samp_max
 
double fSigma_ped
 
double fTim_fitted_max
 
double fTim_max
 
double fValue_tim_max
 

Private Member Functions

double Electronic_shape (double)
 
double Fit_electronic (int, double *, double)
 
void Fit_parab (double *, int, int, double *)
 

Private Attributes

double amp_max
 
double amp_parab
 
double fAlpha
 
double fAlpha_beam
 
double fAlpha_laser
 
double fBeta
 
double fBeta_beam
 
double fBeta_laser
 
int fNb_iter
 
int fNsamples
 
int fNum_samp_after_max
 
int fNum_samp_bef_max
 
int imax
 
double tim_parab
 

Detailed Description

Definition at line 26 of file PulseFitWithFunction.h.

Constructor & Destructor Documentation

PulseFitWithFunction::PulseFitWithFunction ( )

Definition at line 28 of file PulseFitWithFunction.cc.

PulseFitWithFunction::~PulseFitWithFunction ( )
virtual

Definition at line 37 of file PulseFitWithFunction.cc.

Member Function Documentation

double PulseFitWithFunction::doFit ( double *  adc)
virtual

Definition at line 68 of file PulseFitWithFunction.cc.

double PulseFitWithFunction::Electronic_shape ( double  tim)
private

Definition at line 226 of file PulseFitWithFunction.cc.

double PulseFitWithFunction::Fit_electronic ( int  data,
double *  adc_to_fit,
double  sigmas_sample 
)
private

Definition at line 116 of file PulseFitWithFunction.cc.

void PulseFitWithFunction::Fit_parab ( double *  ,
int  ,
int  ,
double *   
)
private

Definition at line 243 of file PulseFitWithFunction.cc.

double PulseFitWithFunction::getAmpl ( )
inline

Definition at line 53 of file PulseFitWithFunction.h.

References fAmp_fitted_max.

53 { return fAmp_fitted_max; }
double PulseFitWithFunction::getAmpl_parab ( )
inline

Definition at line 50 of file PulseFitWithFunction.h.

References amp_parab.

50 { return amp_parab; }
double PulseFitWithFunction::getMax_parab ( )
inline

Definition at line 56 of file PulseFitWithFunction.h.

References amp_max.

56 { return amp_max; }
int PulseFitWithFunction::getSampMax_parab ( )
inline

Definition at line 57 of file PulseFitWithFunction.h.

References imax.

57 { return imax; }
double PulseFitWithFunction::getTime ( )
inline

Definition at line 54 of file PulseFitWithFunction.h.

References fTim_fitted_max.

54 { return fTim_fitted_max; }
double PulseFitWithFunction::getTime_parab ( )
inline

Definition at line 51 of file PulseFitWithFunction.h.

References tim_parab.

51 { return tim_parab; }
void PulseFitWithFunction::init ( int  n_samples,
int  samplb,
int  sampla,
int  niter,
double  alfa,
double  beta 
)
virtual

Definition at line 43 of file PulseFitWithFunction.cc.

Member Data Documentation

double PulseFitWithFunction::amp_max
private

Definition at line 61 of file PulseFitWithFunction.h.

Referenced by getMax_parab().

double PulseFitWithFunction::amp_parab
private

Definition at line 61 of file PulseFitWithFunction.h.

Referenced by getAmpl_parab().

double PulseFitWithFunction::fAlpha
private

Definition at line 70 of file PulseFitWithFunction.h.

double PulseFitWithFunction::fAlpha_beam
private

Definition at line 68 of file PulseFitWithFunction.h.

double PulseFitWithFunction::fAlpha_laser
private

Definition at line 66 of file PulseFitWithFunction.h.

double PulseFitWithFunction::fAmp_fitted_max

Definition at line 44 of file PulseFitWithFunction.h.

Referenced by getAmpl().

double PulseFitWithFunction::fBeta
private

Definition at line 71 of file PulseFitWithFunction.h.

double PulseFitWithFunction::fBeta_beam
private

Definition at line 69 of file PulseFitWithFunction.h.

double PulseFitWithFunction::fBeta_laser
private

Definition at line 67 of file PulseFitWithFunction.h.

double PulseFitWithFunction::fFunc_max

Definition at line 42 of file PulseFitWithFunction.h.

int PulseFitWithFunction::fNb_iter
private

Definition at line 72 of file PulseFitWithFunction.h.

int PulseFitWithFunction::fNsamples
private

Definition at line 64 of file PulseFitWithFunction.h.

int PulseFitWithFunction::fNum_samp_after_max
private

Definition at line 74 of file PulseFitWithFunction.h.

int PulseFitWithFunction::fNum_samp_bef_max
private

Definition at line 73 of file PulseFitWithFunction.h.

int PulseFitWithFunction::fNumber_samp_max

Definition at line 47 of file PulseFitWithFunction.h.

double PulseFitWithFunction::fSigma_ped

Definition at line 48 of file PulseFitWithFunction.h.

double PulseFitWithFunction::fTim_fitted_max

Definition at line 45 of file PulseFitWithFunction.h.

Referenced by getTime().

double PulseFitWithFunction::fTim_max

Definition at line 43 of file PulseFitWithFunction.h.

double PulseFitWithFunction::fValue_tim_max

Definition at line 46 of file PulseFitWithFunction.h.

int PulseFitWithFunction::imax
private

Definition at line 62 of file PulseFitWithFunction.h.

Referenced by getSampMax_parab().

double PulseFitWithFunction::tim_parab
private

Definition at line 61 of file PulseFitWithFunction.h.

Referenced by getTime_parab().