CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TPNFit.h
Go to the documentation of this file.
1 #ifndef TPNFit_H
2 #define TPNFit_H
3 
4 #include "TObject.h"
5 
6 #define NMAXSAMP2 50
7 
8 class TPNFit: public TObject
9 {
10 
11  private:
12 
13  int fNsamples ;
16 
20  double ampl;
21  double timeatmax;
22 
23 
24  public:
25  // Default Constructor, mainly for Root
26  TPNFit();
27 
28  // Destructor: Does nothing
29  virtual ~TPNFit();
30 
31  // Initialize
32  void init(int,int,int);
33 
34  double doFit(int,double *);
35  double getAmpl() {return ampl;}
36  double getTimax() {return timeatmax;}
37 
38  // ClassDef(TPNFit,1)
39 };
40 
41 #endif
42 
43 
44 
int fNum_samp_bef_max
Definition: TPNFit.h:14
virtual ~TPNFit()
Definition: TPNFit.cc:26
double fv3[50]
Definition: TPNFit.h:19
double getTimax()
Definition: TPNFit.h:36
void init(int, int, int)
Definition: TPNFit.cc:30
int fNum_samp_after_max
Definition: TPNFit.h:15
double timeatmax
Definition: TPNFit.h:21
int fNsamples
Definition: TPNFit.h:13
double getAmpl()
Definition: TPNFit.h:35
double t[50]
Definition: TPNFit.h:18
#define NMAXSAMP2
Definition: TPNFit.h:6
TPNFit()
Definition: TPNFit.cc:17
double fv2[50]
Definition: TPNFit.h:19
double val[50]
Definition: TPNFit.h:18
double fv1[50]
Definition: TPNFit.h:19
int lastsample
Definition: TPNFit.h:17
Definition: TPNFit.h:8
int firstsample
Definition: TPNFit.h:17
double doFit(int, double *)
Definition: TPNFit.cc:46
double ampl
Definition: TPNFit.h:20