ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitHzz4l/Selection/interface/ReferenceSelection.h
Revision: 1.1
Committed: Thu May 10 03:02:46 2012 UTC (13 years ago) by khahn
Content type: text/plain
Branch: MAIN
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 khahn 1.1 #ifndef REFERENCE_SELECTION
2     #define REFERENCE_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_ZCANDIDATE 2
47     #define PASS_ZZCANDIDATE 3
48     #define PASS_ZZ_20_10 4
49     #define PASS_ZZ_GOODZ1 5
50     #define PASS_ZZ_GOODZ1_GOODZ2 6
51     #define PASS_RESONANCE 7
52     #define PASS_m4l_GT_100 8
53    
54    
55     EventData apply_HZZ4L_reference_selection(ControlFlags &ctrl, // input control
56     const mithep::EventHeader *info, // input event info
57     const mithep::Vertex & fVertex,
58     const mithep::Array<mithep::PFCandidate> *fPFCandidates,
59     const mithep::Array<mithep::PileupEnergyDensity> *,
60     const mithep::Array<mithep::Electron> *electronArr, // input electrons
61     SelectionStatus (*ElectronPreSelector)( ControlFlags &,
62     const mithep::Electron*,
63     const mithep::Vertex &),
64     SelectionStatus (*ElectronIDSelector)( ControlFlags &,
65     const mithep::Electron*,
66     const mithep::Vertex &),
67     SelectionStatus (*ElectronIsoSelector)( ControlFlags &,
68     const mithep::Electron*,
69     const mithep::Vertex & ,
70     const mithep::Array<mithep::PFCandidate> *,
71     const mithep::Array<mithep::PileupEnergyDensity> *,
72     mithep::ElectronTools::EElectronEffectiveAreaTarget,
73     vector<const mithep::Muon*>,
74     vector<const mithep::Electron*> ),
75     const mithep::Array<mithep::Muon> *muonArr, // input muons
76     SelectionStatus (*MuonPreSelector)( ControlFlags &,
77     const mithep::Muon*,
78     const mithep::Vertex &,
79     const mithep::Array<mithep::PFCandidate> *),
80     SelectionStatus (*MuonIDSelector)( ControlFlags &,
81     const mithep::Muon*,
82     // const mithep::Vertex &),
83     const mithep::Vertex &,
84     const mithep::Array<mithep::PFCandidate> *),
85     SelectionStatus (*MuonIsoSelector)( ControlFlags &,
86     const mithep::Muon*,
87     const mithep::Vertex & ,
88     const mithep::Array<mithep::PFCandidate> *,
89     const mithep::Array<mithep::PileupEnergyDensity> *,
90     mithep::MuonTools::EMuonEffectiveAreaTarget,
91     vector<const mithep::Muon*>,
92     vector<const mithep::Electron*> )
93     );
94     #endif