ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitHzz4l/Selection/interface/Selection.h
Revision: 1.4
Committed: Fri Oct 14 11:20:25 2011 UTC (13 years, 7 months ago) by khahn
Content type: text/plain
Branch: MAIN
Changes since 1.3: +3 -3 lines
Log Message:
passing ctrl all the way through to bdt selection

File Contents

# Content
1 #ifndef SELECTION
2 #define SELECTION
3
4 // System headers
5 //
6 #include <vector> // STL vector class
7 #include <iostream> // standard I/O
8 #include <iomanip> // functions to format standard I/O
9 #include <fstream> // functions for file I/O
10 #include <string> // C++ string class
11 #include <sstream> // class for parsing strings
12 #include <assert.h>
13 #include <stdlib.h>
14 #include <getopt.h>
15 using namespace std;
16
17 //
18 // ROOT headers
19 //
20 #include <TROOT.h> // access to gROOT, entry point to ROOT system
21 #include <TTree.h>
22 #include <TChain.h> //
23 #include <TBranch.h> // class to access branches in TTree
24 #include <TClonesArray.h> // ROOT array class
25 #include <TLorentzVector.h> // 4-vector class
26 #include <TVector3.h> // 3D vector class
27
28 //
29 // ntuple format headers
30 //
31 #include "HiggsAnaDefs.hh"
32 #include "TEventInfo.hh"
33 #include "TElectron.hh"
34 #include "TMuon.hh"
35 #include "TJet.hh"
36 #include "RunLumiRangeMap.h"
37
38 //
39 // utility headers
40 //
41 #include "PassHLT.h"
42 #include "ParseArgs.h"
43 #include "SimpleLepton.h"
44 #include "MuonSelection.h"
45 #include "HZZCiCElectronSelection.h"
46 #include "Angles.h"
47
48 //
49 // defines
50 //
51 #define EVTFAIL_JSON 0
52 #define EVTFAIL_TRIGGER 1
53 #define EVTFAIL_Z1 2
54 #define EVTFAIL_Z1_PLUSL 3
55 #define EVTFAIL_4L 4
56 #define EVTFAIL_ISOLATION 5
57 #define EVTFAIL_IP 6
58 #define EVTFAIL_KINEMATICS 7
59
60 //#define THEIR_EVENTS
61
62 void initRunLumiRangeMap();
63
64 unsigned fails_HZZ4L_selection(ControlFlags &ctrl, // input control
65 mithep::TEventInfo *info, // input event inof
66 TClonesArray *electronArr, // input electrons
67 TClonesArray *muonArr, // input muons
68 double eventweight, // weight
69 TTree * passtuple ); // output ntuple
70
71 unsigned fails_HZZ4L_selection(ControlFlags &ctrl, // input control
72 mithep::TEventInfo *info, // input event inof
73 TClonesArray *electronArr, // input electrons
74 TClonesArray *muonArr, // input muons
75 double eventweight, // weight
76 LabVectors * l );
77
78 unsigned fails_HZZ4L_selection(ControlFlags &ctrl, // input control
79 mithep::TEventInfo *info, // input event inof
80 TClonesArray *electronArr, // input electrons
81 TClonesArray *muonArr, // input muons
82 double eventweight, // weight
83 TTree * passtuple, // output ntuple
84 LabVectors * l);
85 #endif