ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitHzz4l/Selection/interface/ReferenceSelection.h
Revision: 1.3
Committed: Tue Jun 5 19:35:48 2012 UTC (12 years, 11 months ago) by khahn
Content type: text/plain
Branch: MAIN
CVS Tags: synced_FSR_2, synced_FSR
Changes since 1.2: +11 -24 lines
Log Message:
final sync for FSR

File Contents

# Content
1 #ifndef REFERENCE2_SELECTION
2 #define REFERENCE2_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 <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 "EventHeader.h"
34 #include "Electron.h"
35 #include "Muon.h"
36 #include "PFCandidate.h"
37 #include "PFCandidateCol.h"
38 #include "RunLumiRangeMap.h"
39
40 #include "ParseArgs.h"
41 #include "EventData.h"
42 #include "SelectionStatus.h"
43
44 #define PASS_SKIM0 0
45 #define PASS_SKIM1 1
46 #define PASS_SKIM2 2
47 #define PASS_TRIGGER 3
48 #define PASS_ZCANDIDATE 4
49 #define PASS_GOODZ1 5
50 #define PASS_4L 6
51 #define PASS_ZZCANDIDATE 7
52 #define PASS_GOODZ2 8
53 #define PASS_ZZ_20_10 9
54 #define PASS_RESONANCE 10
55 #define PASS_m4l_GT_70 11
56 #define PASS_m4l_GT_100 12
57
58 EventData
59 apply_HZZ4L_reference_selection(ControlFlags &ctrl, // input control
60 const mithep::EventHeader *info, // input event info
61 const mithep::Array<mithep::Vertex> * vtxArr ,
62 const mithep::Array<mithep::PFCandidate> *fPFCandidates,
63 const mithep::Array<mithep::PileupEnergyDensity> *puEnergyDensity,
64 const mithep::Array<mithep::Electron> *electronArr, // input electrons
65 SelectionStatus (*ElectronPreSelector)( ControlFlags &,
66 const mithep::Electron*,
67 const mithep::Vertex *),
68 SelectionStatus (*ElectronIDSelector)( ControlFlags &,
69 const mithep::Electron*,
70 const mithep::Vertex *),
71 SelectionStatus (*ElectronIsoSelector)( ControlFlags &,
72 const mithep::Electron*,
73 const mithep::Vertex *,
74 const mithep::Array<mithep::PFCandidate> *,
75 const mithep::Array<mithep::PileupEnergyDensity> *puEnergyDensity,
76
77 mithep::ElectronTools::EElectronEffectiveAreaTarget,
78 vector<const mithep::PFCandidate*>),
79 const mithep::Array<mithep::Muon> *muonArr, // input muons
80 SelectionStatus (*MuonPreSelector)( ControlFlags &,
81 const mithep::Muon*,
82 const mithep::Vertex *,
83 const mithep::Array<mithep::PFCandidate> *),
84 SelectionStatus (*MuonIDSelector)( ControlFlags &,
85 const mithep::Muon*,
86 // const mithep::Vertex *),
87 const mithep::Vertex *,
88 const mithep::Array<mithep::PFCandidate> *),
89 SelectionStatus (*MuonIsoSelector)( ControlFlags &,
90 const mithep::Muon*,
91 const mithep::Vertex * ,
92 const mithep::Array<mithep::PFCandidate> *,
93 const mithep::Array<mithep::PileupEnergyDensity> *,
94 mithep::MuonTools::EMuonEffectiveAreaTarget,
95 vector<const mithep::PFCandidate*>)
96 );
97 #endif