ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitHzz4l/Selection/interface/Selection.h
(Generate patch)

Comparing UserCode/MitHzz4l/Selection/interface/Selection.h (file contents):
Revision 1.3 by dkralph, Thu Sep 22 18:01:11 2011 UTC vs.
Revision 1.7 by khahn, Sun Oct 30 15:25:04 2011 UTC

# Line 18 | Line 18 | using namespace std;
18   // ROOT headers
19   //
20   #include <TROOT.h>                  // access to gROOT, entry point to ROOT system
21 < #include <TNtuple.h>
21 > #include <TTree.h>
22 > #include <TFile.h>
23   #include <TChain.h>                 //
24   #include <TBranch.h>                // class to access branches in TTree
25   #include <TClonesArray.h>           // ROOT array class
# Line 29 | Line 30 | using namespace std;
30   // ntuple format headers
31   //
32   #include "HiggsAnaDefs.hh"
33 + #include "TGenInfo.hh"
34   #include "TEventInfo.hh"
35   #include "TElectron.hh"
36   #include "TMuon.hh"
# Line 48 | Line 50 | using namespace std;
50   //
51   // defines
52   //
53 + #define K_BDT_LOOSE 0
54 + #define K_BDT_MED   1
55 + #define K_BDT_TIGHT 2
56 +
57   #define EVTFAIL_JSON       0
58   #define EVTFAIL_TRIGGER    1
59   #define EVTFAIL_Z1         2
# Line 57 | Line 63 | using namespace std;
63   #define EVTFAIL_IP         6
64   #define EVTFAIL_KINEMATICS 7
65  
66 +
67 + //i: 9cut: 0.275effB: 0.45364effS: 0.895138nsig: 344158ntot: 384475
68 + #define PFISO_ELE_TIGHT_EB_HIGHPT 0.275
69 + //i: 2cut: 0.45effB: 0.765236effS: 0.949037nsig: 364881ntot: 384475
70 + #define PFISO_ELE_LOOSE_EB_HIGHPT 0.45
71 +
72 + //i: 8cut: 0.3effB: 0.535408effS: 0.896676nsig: 143713ntot: 160273
73 + #define PFISO_ELE_TIGHT_TRANS_HIGHPT 0.3
74 + //i: 2cut: 0.45effB: 0.781833effS: 0.946179nsig: 151647ntot: 160273
75 + #define PFISO_ELE_LOOSE_TRANS_HIGHPT 0.45
76 +
77 + //i: 7cut: 0.325effB: 0.627641effS: 0.894936nsig: 212422ntot: 237360
78 + #define PFISO_ELE_TIGHT_EE_HIGHPT 0.325
79 + //i: 0cut: 0.5effB: 0.825242effS: 0.947497nsig: 224898ntot: 237360
80 + #define PFISO_ELE_LOOSE_EE_HIGHPT 0.5
81 +
82 +
83 + //i: 10cut: 0.25effB: 0.479756effS: 0.634297nsig: 9569ntot: 15086
84 + #define PFISO_ELE_TIGHT_EB_LOWPT    0.25
85 + //i: 8cut: 0.3effB: 0.576163effS: 0.680963nsig: 10273ntot: 15086
86 + #define PFISO_ELE_LOOSE_EB_LOWPT    0.3
87 +
88 + //i: 10cut: 0.25effB: 0.49514effS: 0.626184nsig: 8858ntot: 14146
89 + #define PFISO_ELE_TIGHT_TRANS_LOWPT 0.25
90 + //i: 8cut: 0.3effB: 0.584501effS: 0.682384nsig: 9653ntot: 14146
91 + #define PFISO_ELE_LOOSE_TRANS_LOWPT 0.3
92 +
93 + //i: 10cut: 0.25effB: 0.537894effS: 0.639738nsig: 18530ntot: 28965
94 + #define PFISO_ELE_TIGHT_EE_LOWPT    0.25
95 + //i: 8cut: 0.3effB: 0.618612effS: 0.691973nsig: 20043ntot: 28965
96 + #define PFISO_ELE_LOOSE_EE_LOWPT    0.3
97 +
98 +
99 +
100 + #define PFISO_MU_LOOSE_EB_HIGHPT 0.20
101 + #define PFISO_MU_LOOSE_EB_LOWPT 0.13
102 + #define PFISO_MU_LOOSE_EE_HIGHPT 0.20
103 + #define PFISO_MU_LOOSE_EE_LOWPT 0.13
104 +
105 + #define PFISO_MU_TIGHT_EB_HIGHPT 0.13
106 + #define PFISO_MU_TIGHT_EB_LOWPT 0.06
107 + #define PFISO_MU_TIGHT_EE_HIGHPT 0.09
108 + #define PFISO_MU_TIGHT_EE_LOWPT 0.05
109 +
110 +
111 +
112   //#define THEIR_EVENTS
113  
114   void initRunLumiRangeMap();
115 + void initRunLumiRangeMap(RunLumiRangeMap &rlrm);
116 + //unsigned getGenChannel(mithep::TGenInfo * ginfo);
117  
118 < unsigned fails_HZZ4L_selection(ControlFlags &ctrl,           // input control
118 > unsigned fails_HZZ4L_selection(ControlFlags &ctrl,           // input control
119                                 mithep::TEventInfo *info,     // input event inof
120                                 TClonesArray *electronArr,    // input electrons
121                                 TClonesArray *muonArr,        // input muons
122                                 double eventweight,           // weight
123 <                               TNtuple * passtuple );        // output ntuple
123 >                               TTree * passtuple );        // output ntuple
124  
125 < unsigned fails_HZZ4L_selection(ControlFlags &ctrl,           // input control
125 > /* unsigned fails_HZZ4L_selection(ControlFlags &ctrl,           // input control  */
126 > /*                             mithep::TEventInfo *info,     // input event inof */
127 > /*                             TClonesArray *electronArr,    // input electrons */
128 > /*                             TClonesArray *muonArr,        // input muons */
129 > /*                             double eventweight,           // weight */
130 > /*                             LabVectors * l ); */
131 >
132 > unsigned fails_HZZ4L_selection(ControlFlags &ctrl,           // input control
133                                 mithep::TEventInfo *info,     // input event inof
134                                 TClonesArray *electronArr,    // input electrons
135                                 TClonesArray *muonArr,        // input muons
136                                 double eventweight,           // weight
137 <                               LabVectors * l );
137 >                               TTree * passtuple,          // output ntuple
138 >                               LabVectors * l);
139  
140   unsigned fails_HZZ4L_selection(ControlFlags &ctrl,           // input control
141                                 mithep::TEventInfo *info,     // input event inof
142                                 TClonesArray *electronArr,    // input electrons
143                                 TClonesArray *muonArr,        // input muons
144                                 double eventweight,           // weight
145 <                               TNtuple * passtuple,          // output ntuple
146 <                               LabVectors * l);
145 >                               TTree * passtuple,          // output ntuple
146 >                               LabVectors * l,
147 >                               TClonesArray *jetArr        // input muons
148 >                               );
149 >
150   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines