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
Shape.h
PulseFit::~PulseFit
~PulseFit() override
PulseFit::getChi2
double getChi2() const
PulseFit::getTime
double getTime() const
PulseFit::smCrystalNb_
int smCrystalNb_
chi2 of the fit
Definition: PulseFit.h:38
PulseFit::amplitude_
double amplitude_
Definition: PulseFit.h:34
PulseFit::getSmCrystalNb
int getSmCrystalNb() const
return the cristal number (supermodule convention [0-1699])
PulseFit::chi2_
double chi2_
remaining pedestal
Definition: PulseFit.h:37
PulseFit::time_
double time_
amplitude of the pulse
Definition: PulseFit.h:35
PulseFit
Definition: PulseFit.h:13
PulseFit::PulseFit
PulseFit()
PulseFit::getAmplitude
double getAmplitude() const
PulseFit::setSmCrystalNb
void setSmCrystalNb(const int &crystalNb)
set the cristal number (supermodule convention [0-1699])
PulseFit::getPedestal
double getPedestal() const
PulseFit::pedestal_
double pedestal_
position (in clock unit) of the maximum of the pulse
Definition: PulseFit.h:36