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::mom
TMom * mom[nOutVar]
Definition: TPN.h:13
TPN::getPNoPN0
std::vector< double > getPNoPN0()
Definition: TPN.cc:98
TPN
Definition: TPN.h:8
TPN::_nPN
int _nPN
Definition: TPN.h:15
TPN::nOutVar
Definition: TPN.h:10
TPN::getPN
std::vector< double > getPN()
Definition: TPN.cc:90
TPN::iPNoPN0
Definition: TPN.h:10
TPN::setPNoPN1Cut
void setPNoPN1Cut(double, double)
Definition: TPN.cc:73
TPN::getPNoPN
std::vector< double > getPNoPN()
Definition: TPN.cc:94
TPN::iPNoPN
Definition: TPN.h:10
TPN::TPN
TPN(int iPN=0)
Definition: TPN.cc:17
TPN::~TPN
virtual ~TPN()
Definition: TPN.cc:23
TPN::init
void init()
Definition: TPN.cc:25
TMom
Definition: TMom.h:7
TPN::addEntry
void addEntry(double, double, double)
Definition: TPN.cc:33
TPN::setCut
void setCut(int, double, double)
Definition: TPN.cc:61
TPN::iPN
Definition: TPN.h:10
TPN::setPNoPN0Cut
void setPNoPN0Cut(double, double)
Definition: TPN.cc:72
TPN::setPNCut
void setPNCut(double, double)
Definition: TPN.cc:70
TPN::cuts
double cuts[2][nOutVar]
Definition: TPN.h:12
TPN::iPNoPN1
Definition: TPN.h:10
TPN::outVar
outVar
Definition: TPN.h:10
TPN::getPNoPN1
std::vector< double > getPNoPN1()
Definition: TPN.cc:102
TPN::get
std::vector< double > get(int)
Definition: TPN.cc:75
TPN::setPNoPNCut
void setPNoPNCut(double, double)
Definition: TPN.cc:71