ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/kiesel/TreeWriter/treeWriter.h
(Generate patch)

Comparing UserCode/kiesel/TreeWriter/treeWriter.h (file contents):
Revision 1.1 by kiesel, Tue Apr 9 07:28:02 2013 UTC vs.
Revision 1.4 by kiesel, Sat Apr 13 09:53:02 2013 UTC

# Line 5 | Line 5
5   #include "TTree.h"
6   #include "TChain.h"
7   #include "TString.h"
8 + #include "TH1F.h"
9  
10   #include "SusyEvent.h"
11   #include "TreeObjects.h"
12  
13   class TreeWriter {
14          public :
15 <                TreeWriter(TString inputName, TString outputName );
15 >                TreeWriter(TString inputName, TString outputName, int loggingVerbosity_);
16                  virtual ~TreeWriter();
17                  virtual void Loop();
18  
19                  void SetProcessNEvents(int nEvents) { processNEvents = nEvents; }
20                  void SetReportEvents(int nEvents) { reportEvery = nEvents; }
21                  void SetLoggingVerbosity(int logVerb) { loggingVerbosity = logVerb; }
22 <                void DontSkimEvents(){ skim = false; }
22 >                void SkimEvents(bool skim_){ skim = skim_; }
23 >                void PileUpWeightFile( string pileupFileName );
24  
25                  TChain *inputTree;
26                  susy::Event *event;
# Line 35 | Line 37 | class TreeWriter {
37                  int loggingVerbosity;
38                  bool skim;
39  
40 +                // important dataset information
41 +                TH1F* pileupHisto;
42 +
43                  // variables which will be stored in the tree
44                  std::vector<tree::Photon> photon;
45                  std::vector<tree::Jet> jet;
46 +                std::vector<tree::Particle> electron;
47 +                std::vector<tree::Particle> muon;
48 +
49                  float met;
50 +                float met_phi;
51 +                float type1met;
52 +                float type1met_phi;
53                  float ht;
54                  int nVertex;
55 <                int nElectron;
55 >                float pu_weight;
56   };
57  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines