ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitHzz4l/NonMCBackground/interface/ControlSelection.h
Revision: 1.1
Committed: Mon Oct 17 16:27:13 2011 UTC (13 years, 7 months ago) by khahn
Content type: text/plain
Branch: MAIN
CVS Tags: AN490
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 khahn 1.1 #ifndef CONTROL_SELECTION
2     #define CONTROL_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    
65     unsigned fails_Control_selection(ControlFlags &ctrl, // input control
66     mithep::TEventInfo *info, // input event inof
67     TClonesArray *electronArr, // input electrons
68     TClonesArray *muonArr, // input muons
69     TClonesArray *jetArr, // input muons
70     double eventweight, // weight
71     TTree * ctrltuple // output ntuple
72     );
73     #endif