CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
NtupleROOTFile.h
Go to the documentation of this file.
1 
5 #ifndef NTUPLEROOTFILE_
6 #define NTUPLEROOTFILE_
7 
8 
9 #include "TFile.h"
10 #include "TTree.h"
11 #include <string>
12 #include <map>
13 
15  public:
16  NtupleROOTFile(std::string filename, int id);
17  virtual ~NtupleROOTFile();
18 
19  virtual void setEvent(int event) const;
20  virtual int getNhep()const;
21  virtual int getNevhep() const;
22  virtual int getIdhep(int j) const;
23  virtual int getJsmhep(int j) const;
24  virtual int getJsdhep(int j) const;
25  virtual int getIsthep(int j) const;
26  virtual int getJmohep(int j, int idx) const;
27  virtual int getJdahep(int j, int idx) const;
28  virtual double getPhep(int j, int idx) const;
29  virtual double getVhep(int j, int idx) const;
30  virtual int getEntries() const;
31  virtual int getId() const {return id_;}
32 
33  protected:
34  int id_;
35  private:
36  TFile *file;
37  TTree* tree;
38 
39  // Int_t Nevhep;
40  Int_t Nhep;
41  Int_t Nevhep;
42  Int_t Idhep[4000]; //[Nhep]
43  Int_t Jsmhep[4000]; //[Nhep]
44  Int_t Jsdhep[4000]; //[Nhep]
45  Float_t Phep[4000][5]; //[Nhep]
46  Float_t Vhep[4000][4]; //[Nhep]
47  Int_t Isthep[4000];
48  Int_t Jmohep[4000][2];
49  Int_t Jdahep[4000][2];
50 
52 };
53 
54 #endif
virtual int getNevhep() const
virtual int getJsdhep(int j) const
virtual int getJsmhep(int j) const
virtual ~NtupleROOTFile()
Int_t Isthep[4000]
virtual int getJdahep(int j, int idx) const
Int_t Jmohep[4000][2]
virtual double getVhep(int j, int idx) const
int j
Definition: DBlmapReader.cc:9
virtual int getIsthep(int j) const
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
virtual int getId() const
virtual int getEntries() const
Int_t Idhep[4000]
virtual void setEvent(int event) const
Int_t Jsdhep[4000]
virtual int getNhep() const
virtual int getIdhep(int j) const
virtual double getPhep(int j, int idx) const
tuple filename
Definition: lut2db_cfg.py:20
virtual int getJmohep(int j, int idx) const
Int_t Jsmhep[4000]
Int_t Jdahep[4000][2]
Float_t Vhep[4000][4]
Float_t Phep[4000][5]