1 |
khahn |
1.1 |
#ifndef WZSELECTION
|
2 |
|
|
#define WZSELECTION
|
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 <TFile.h>
|
23 |
|
|
#include <TChain.h> //
|
24 |
|
|
#include <TBranch.h> // class to access branches in TTree
|
25 |
|
|
#include <TClonesArray.h> // ROOT array class
|
26 |
|
|
#include <TLorentzVector.h> // 4-vector class
|
27 |
|
|
#include <TVector3.h> // 3D vector class
|
28 |
|
|
#include <TH1D.h>
|
29 |
|
|
|
30 |
|
|
//
|
31 |
|
|
// ntuple format headers
|
32 |
|
|
//
|
33 |
|
|
#include "Selection.h"
|
34 |
|
|
#include "HiggsAnaDefs.hh"
|
35 |
|
|
#include "TGenInfo.hh"
|
36 |
|
|
#include "TEventInfo.hh"
|
37 |
|
|
#include "TElectron.hh"
|
38 |
|
|
#include "TMuon.hh"
|
39 |
|
|
#include "TJet.hh"
|
40 |
|
|
#include "TPhoton.hh"
|
41 |
|
|
#include "RunLumiRangeMap.h"
|
42 |
|
|
|
43 |
|
|
//
|
44 |
|
|
// utility headers
|
45 |
|
|
//
|
46 |
|
|
#include "PassHLT.h"
|
47 |
|
|
#include "ParseArgs.h"
|
48 |
|
|
#include "SimpleLepton.h"
|
49 |
|
|
#include "MuonSelection.h"
|
50 |
|
|
#include "HZZCiCElectronSelection.h"
|
51 |
|
|
#include "Angles.h"
|
52 |
|
|
|
53 |
|
|
|
54 |
|
|
extern void initRunLumiRangeMap();
|
55 |
|
|
extern void initRunLumiRangeMap(RunLumiRangeMap &rlrm);
|
56 |
|
|
|
57 |
|
|
|
58 |
|
|
unsigned fails_WZ3L_selection(ControlFlags &ctrl, // input control
|
59 |
|
|
mithep::TEventInfo *info, // input event inof
|
60 |
|
|
TClonesArray *electronArr, // input electrons
|
61 |
|
|
TClonesArray *muonArr, // input muons
|
62 |
|
|
double eventweight, // weight
|
63 |
|
|
TTree * passtuple ); // output ntuple
|
64 |
|
|
|
65 |
|
|
/* unsigned fails_WZ3L_selection(ControlFlags &ctrl, // input control */
|
66 |
|
|
/* mithep::TEventInfo *info, // input event inof */
|
67 |
|
|
/* TClonesArray *electronArr, // input electrons */
|
68 |
|
|
/* TClonesArray *muonArr, // input muons */
|
69 |
|
|
/* double eventweight, // weight */
|
70 |
|
|
/* LabVectors * l ); */
|
71 |
|
|
|
72 |
|
|
unsigned fails_WZ3L_selection(ControlFlags &ctrl, // input control
|
73 |
|
|
mithep::TEventInfo *info, // input event inof
|
74 |
|
|
TClonesArray *electronArr, // input electrons
|
75 |
|
|
TClonesArray *muonArr, // input muons
|
76 |
|
|
double eventweight, // weight
|
77 |
|
|
TTree * passtuple, // output ntuple
|
78 |
|
|
LabVectors * l);
|
79 |
|
|
|
80 |
|
|
unsigned fails_WZ3L_selection(ControlFlags &ctrl, // input control
|
81 |
|
|
mithep::TEventInfo *info, // input event inof
|
82 |
|
|
TClonesArray *electronArr, // input electrons
|
83 |
|
|
TClonesArray *muonArr, // input muons
|
84 |
|
|
double eventweight, // weight
|
85 |
|
|
TTree * passtuple, // output ntuple
|
86 |
|
|
LabVectors * l,
|
87 |
|
|
TClonesArray *jetArr // input muons
|
88 |
|
|
);
|
89 |
|
|
|
90 |
|
|
#endif
|