Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:46:47

0001 #ifndef TPN_H
0002 #define TPN_H
0003 
0004 #include <vector>
0005 
0006 class TMom;
0007 
0008 class TPN {
0009 public:
0010   enum outVar { iPN, iPNoPN, iPNoPN0, iPNoPN1, nOutVar };
0011 
0012   double cuts[2][nOutVar];
0013   TMom *mom[nOutVar];
0014 
0015   int _nPN;
0016 
0017   // Default Constructor, mainly for Root
0018   TPN(int iPN = 0);
0019 
0020   // Destructor: Does nothing
0021   virtual ~TPN();
0022 
0023   void init();
0024   void setCut(int, double, double);
0025 
0026   void setPNCut(double, double);
0027   void setPNoPNCut(double, double);
0028   void setPNoPN0Cut(double, double);
0029   void setPNoPN1Cut(double, double);
0030 
0031   void addEntry(double, double, double);
0032 
0033   std::vector<double> get(int);
0034   std::vector<double> getPN();
0035   std::vector<double> getPNoPN();
0036   std::vector<double> getPNoPN0();
0037   std::vector<double> getPNoPN1();
0038 
0039 public:
0040   //  ClassDef(TPN,0)
0041 };
0042 
0043 #endif