CMS 3D CMS Logo

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 public:
11 
12  double cuts[2][nOutVar];
14 
15  int _nPN;
16 
17  // Default Constructor, mainly for Root
18  TPN(int iPN = 0);
19 
20  // Destructor: Does nothing
21  virtual ~TPN();
22 
23  void init();
24  void setCut(int, double, double);
25 
26  void setPNCut(double, double);
27  void setPNoPNCut(double, double);
28  void setPNoPN0Cut(double, double);
29  void setPNoPN1Cut(double, double);
30 
31  void addEntry(double, double, double);
32 
33  std::vector<double> get(int);
34  std::vector<double> getPN();
35  std::vector<double> getPNoPN();
36  std::vector<double> getPNoPN0();
37  std::vector<double> getPNoPN1();
38 
39 public:
40  // ClassDef(TPN,0)
41 };
42 
43 #endif
TPN(int iPN=0)
Definition: TPN.cc:17
Definition: TPN.h:8
std::vector< double > getPN()
Definition: TPN.cc:90
Definition: TPN.h:10
void addEntry(double, double, double)
Definition: TPN.cc:33
std::vector< double > getPNoPN1()
Definition: TPN.cc:102
void setPNoPN0Cut(double, double)
Definition: TPN.cc:72
void setPNCut(double, double)
Definition: TPN.cc:70
Definition: TMom.h:7
std::vector< double > getPNoPN0()
Definition: TPN.cc:98
int _nPN
Definition: TPN.h:15
void setPNoPNCut(double, double)
Definition: TPN.cc:71
double cuts[2][nOutVar]
Definition: TPN.h:12
TMom * mom[nOutVar]
Definition: TPN.h:13
outVar
Definition: TPN.h:10
void setCut(int, double, double)
Definition: TPN.cc:61
void init()
Definition: TPN.cc:25
virtual ~TPN()
Definition: TPN.cc:23
void setPNoPN1Cut(double, double)
Definition: TPN.cc:73
std::vector< double > getPNoPN()
Definition: TPN.cc:94