CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 public:
11 
12  double cuts[2][nOutVar];
13 
15 
16  // Default Constructor, mainly for Root
17  TMTQ();
18 
19  // Destructor: Does nothing
20  virtual ~TMTQ();
21 
22  void init();
23  void setCut(int, double, double);
24 
25  void addEntry(double, double, double, double, double, double, double, double, double, double, double);
26 
27  std::vector<double> get(int);
28 
29  std::vector<double> getPeak();
30  std::vector<double> getSigma();
31  std::vector<double> getFit();
32  std::vector<double> getAmpl();
33  std::vector<double> getTrise();
34  std::vector<double> getFwhm();
35  std::vector<double> getFw20();
36  std::vector<double> getFw80();
37  std::vector<double> getPed();
38  std::vector<double> getPedsig();
39  std::vector<double> getSliding();
40 
41 public:
42  // ClassDef(TMTQ,0)
43 };
44 
45 #endif
Definition: TMTQ.h:8
void init()
Definition: TMTQ.cc:22
TMTQ()
Definition: TMTQ.cc:17
std::vector< double > getPeak()
Definition: TMTQ.cc:83
void addEntry(double, double, double, double, double, double, double, double, double, double, double)
Definition: TMTQ.cc:30
double cuts[2][nOutVar]
Definition: TMTQ.h:12
Definition: TMom.h:7
std::vector< double > getFw20()
Definition: TMTQ.cc:107
virtual ~TMTQ()
Definition: TMTQ.cc:20
std::vector< double > getTrise()
Definition: TMTQ.cc:95
std::vector< double > getPedsig()
Definition: TMTQ.cc:119
std::vector< double > getPed()
Definition: TMTQ.cc:115
std::vector< double > getSliding()
Definition: TMTQ.cc:123
std::vector< double > getFit()
Definition: TMTQ.cc:99
std::vector< double > getFw80()
Definition: TMTQ.cc:111
std::vector< double > getFwhm()
Definition: TMTQ.cc:103
std::vector< double > getAmpl()
Definition: TMTQ.cc:87
std::vector< double > getSigma()
Definition: TMTQ.cc:91
outVar
Definition: TMTQ.h:10
void setCut(int, double, double)
Definition: TMTQ.cc:60
TMom * mom[nOutVar]
Definition: TMTQ.h:14