CMS 3D CMS Logo

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 #include "TObject.h"
12 
13 class PulseFit : public TObject {
14 public:
15  // Default Constructor, mainly for Root
16  PulseFit();
17 
18  // Destructor: Does nothing?
19  ~PulseFit() override;
20 
21  // Get reconstructed values
22  double getAmplitude() const;
23  double getTime() const;
24  double getPedestal() const;
25  double getChi2() const;
26 
28  int getSmCrystalNb() const;
29 
31  void setSmCrystalNb(const int& crystalNb);
32 
33 protected:
34  double amplitude_;
35  double time_;
36  double pedestal_;
37  double chi2_;
39 
40  //H4Analysis * h4ana_ ; //!< pointer to current analysis
41  //H4Shape * shape_ ; //!< pointer to current shape
42 
43  // ClassDef(PulseFit,1) //!< The processed part of the class is persistant
44 };
45 
46 #endif
int smCrystalNb_
chi2 of the fit
Definition: PulseFit.h:38
double getTime() const
~PulseFit() override
double amplitude_
Definition: PulseFit.h:34
double chi2_
remaining pedestal
Definition: PulseFit.h:37
double getChi2() const
double time_
amplitude of the pulse
Definition: PulseFit.h:35
void setSmCrystalNb(const int &crystalNb)
set the cristal number (supermodule convention [0-1699])
double getPedestal() const
double getAmplitude() const
double pedestal_
position (in clock unit) of the maximum of the pulse
Definition: PulseFit.h:36
int getSmCrystalNb() const
return the cristal number (supermodule convention [0-1699])