CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TPN.h
Go to the documentation of this file.
1 #ifndef TPN_H
2 #define TPN_H
3 
4 #include <vector>
5 
6 class TMom;
7 
8 class TPN
9 {
10 
11  public:
12 
14 
15  double cuts[2][nOutVar];
17 
18  int _nPN;
19 
20  // Default Constructor, mainly for Root
21  TPN(int iPN=0);
22 
23  // Destructor: Does nothing
24  virtual ~TPN();
25 
26  void init();
27  void setCut(int, double, double);
28 
29  void setPNCut(double, double);
30  void setPNoPNCut(double, double);
31  void setPNoPN0Cut(double, double);
32  void setPNoPN1Cut(double, double);
33 
34  void addEntry(double, double, double);
35 
36  std::vector<double> get(int);
37  std::vector<double> getPN();
38  std::vector<double> getPNoPN();
39  std::vector<double> getPNoPN0();
40  std::vector<double> getPNoPN1();
41 
42 
43 
44  public:
45 
46  // ClassDef(TPN,0)
47 
48 };
49 
50 #endif
TPN(int iPN=0)
Definition: TPN.cc:19
Definition: TPN.h:8
std::vector< double > getPN()
Definition: TPN.cc:97
Definition: TPN.h:13
void addEntry(double, double, double)
Definition: TPN.cc:41
std::vector< double > getPNoPN1()
Definition: TPN.cc:100
void setPNoPN0Cut(double, double)
Definition: TPN.cc:75
void setPNCut(double, double)
Definition: TPN.cc:73
Definition: TMom.h:7
std::vector< double > getPNoPN0()
Definition: TPN.cc:99
int _nPN
Definition: TPN.h:18
void setPNoPNCut(double, double)
Definition: TPN.cc:74
double cuts[2][nOutVar]
Definition: TPN.h:15
TMom * mom[nOutVar]
Definition: TPN.h:16
outVar
Definition: TPN.h:13
void setCut(int, double, double)
Definition: TPN.cc:64
void init()
Definition: TPN.cc:31
virtual ~TPN()
Definition: TPN.cc:27
void setPNoPN1Cut(double, double)
Definition: TPN.cc:76
std::vector< double > getPNoPN()
Definition: TPN.cc:98