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 <TNtuple.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 "EWKAnaDefs.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 |
TNtuple * passtuple ); // output ntuple
|
69 |
|
70 |
unsigned fails_HZZ4L_selection(ControlFlags &ctrl, // input control
|
71 |
mithep::TEventInfo *info, // input event inof
|
72 |
TClonesArray *electronArr, // input electrons
|
73 |
TClonesArray *muonArr, // input muons
|
74 |
LabVectors * l ); // output ntuple
|
75 |
|
76 |
unsigned fails_HZZ4L_selection(ControlFlags &ctrl, // input control
|
77 |
mithep::TEventInfo *info, // input event inof
|
78 |
TClonesArray *electronArr, // input electrons
|
79 |
TClonesArray *muonArr, // input muons
|
80 |
TNtuple * passtuple,
|
81 |
LabVectors * l ); // output ntuple
|
82 |
#endif
|