test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PulseFit.h
Go to the documentation of this file.
1 // PulseFit.h
2 //
3 // Class which computes
4 //
5 //
6 
7 #ifndef PulseFit_H
8 #define PulseFit_H
9 
10 
11 #include "TObject.h"
13 
14 class PulseFit: public TObject
15 {
16  public:
17  // Default Constructor, mainly for Root
18  PulseFit() ;
19 
20  // Destructor: Does nothing?
21  virtual ~PulseFit() ;
22 
23  // Get reconstructed values
24  double getAmplitude() const ;
25  double getTime() const ;
26  double getPedestal() const ;
27  double getChi2() const ;
28 
30  int getSmCrystalNb() const ;
31 
33  void setSmCrystalNb(const int & crystalNb) ;
34 
35  protected:
36  double amplitude_ ;
37  double time_ ;
38  double pedestal_ ;
39  double chi2_ ;
40  int smCrystalNb_ ;
41 
42  //H4Analysis * h4ana_ ; //!< pointer to current analysis
43  //H4Shape * shape_ ; //!< pointer to current shape
44 
45  // ClassDef(PulseFit,1) //!< The processed part of the class is persistant
46 } ;
47 
48 #endif
double getChi2() const
double getPedestal() const
double getAmplitude() const
int smCrystalNb_
chi2 of the fit
Definition: PulseFit.h:40
int getSmCrystalNb() const
return the cristal number (supermodule convention [0-1699])
double amplitude_
Definition: PulseFit.h:36
double chi2_
remaining pedestal
Definition: PulseFit.h:39
double time_
amplitude of the pulse
Definition: PulseFit.h:37
virtual ~PulseFit()
void setSmCrystalNb(const int &crystalNb)
set the cristal number (supermodule convention [0-1699])
double getTime() const
double pedestal_
position (in clock unit) of the maximum of the pulse
Definition: PulseFit.h:38