CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TMTQ.h
Go to the documentation of this file.
1 #ifndef TMTQ_H
2 #define TMTQ_H
3 
4 #include <vector>
5 
6 class TMom;
7 
8 class TMTQ
9 {
10 
11  public:
12 
13 
15 
16  double cuts[2][nOutVar];
17 
19 
20 
21  // Default Constructor, mainly for Root
22  TMTQ();
23 
24  // Destructor: Does nothing
25  virtual ~TMTQ();
26 
27  void init();
28  void setCut(int, double, double);
29 
30  void addEntry(double, double, double, double, double, double, double, double, double, double, double);
31 
32  std::vector<double> get(int);
33 
34  std::vector<double> getPeak();
35  std::vector<double> getSigma();
36  std::vector<double> getFit();
37  std::vector<double> getAmpl();
38  std::vector<double> getTrise();
39  std::vector<double> getFwhm();
40  std::vector<double> getFw20();
41  std::vector<double> getFw80();
42  std::vector<double> getPed();
43  std::vector<double> getPedsig();
44  std::vector<double> getSliding();
45 
46 
47  public:
48 
49  // ClassDef(TMTQ,0)
50 };
51 
52 #endif
Definition: TMTQ.h:8
void init()
Definition: TMTQ.cc:29
TMTQ()
Definition: TMTQ.cc:18
std::vector< double > getPeak()
Definition: TMTQ.cc:89
void addEntry(double, double, double, double, double, double, double, double, double, double, double)
Definition: TMTQ.cc:39
double cuts[2][nOutVar]
Definition: TMTQ.h:16
Definition: TMom.h:7
std::vector< double > getFw20()
Definition: TMTQ.cc:95
virtual ~TMTQ()
Definition: TMTQ.cc:25
std::vector< double > getTrise()
Definition: TMTQ.cc:92
std::vector< double > getPedsig()
Definition: TMTQ.cc:98
std::vector< double > getPed()
Definition: TMTQ.cc:97
std::vector< double > getSliding()
Definition: TMTQ.cc:99
std::vector< double > getFit()
Definition: TMTQ.cc:93
std::vector< double > getFw80()
Definition: TMTQ.cc:96
std::vector< double > getFwhm()
Definition: TMTQ.cc:94
std::vector< double > getAmpl()
Definition: TMTQ.cc:90
std::vector< double > getSigma()
Definition: TMTQ.cc:91
outVar
Definition: TMTQ.h:14
void setCut(int, double, double)
Definition: TMTQ.cc:61
TMom * mom[nOutVar]
Definition: TMTQ.h:18