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 // last change : $Date: 2009/06/02 12:55:17 $
6 // by : $Author: malcles $
7 //
8 
9 #ifndef PulseFit_H
10 #define PulseFit_H
11 
12 
13 #include "TObject.h"
15 
16 class PulseFit: public TObject
17 {
18  public:
19  // Default Constructor, mainly for Root
20  PulseFit() ;
21 
22  // Destructor: Does nothing?
23  virtual ~PulseFit() ;
24 
25  // Get reconstructed values
26  double getAmplitude() const ;
27  double getTime() const ;
28  double getPedestal() const ;
29  double getChi2() const ;
30 
32  int getSmCrystalNb() const ;
33 
35  void setSmCrystalNb(const int & crystalNb) ;
36 
37  protected:
38  double amplitude_ ;
39  double time_ ;
40  double pedestal_ ;
41  double chi2_ ;
42  int smCrystalNb_ ;
43 
44  //H4Analysis * h4ana_ ; //!< pointer to current analysis
45  //H4Shape * shape_ ; //!< pointer to current shape
46 
47  // ClassDef(PulseFit,1) //!< The processed part of the class is persistant
48 } ;
49 
50 #endif
double getChi2() const
double getPedestal() const
double getAmplitude() const
int smCrystalNb_
chi2 of the fit
Definition: PulseFit.h:42
int getSmCrystalNb() const
return the cristal number (supermodule convention [0-1699])
double amplitude_
Definition: PulseFit.h:38
double chi2_
remaining pedestal
Definition: PulseFit.h:41
double time_
amplitude of the pulse
Definition: PulseFit.h:39
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:40