ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitHzz4l/Selection/interface/ReferenceSelection.h
Revision: 1.5
Committed: Tue Oct 23 12:35:55 2012 UTC (12 years, 6 months ago) by dkralph
Content type: text/plain
Branch: MAIN
Changes since 1.4: +0 -1 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 khahn 1.2 #ifndef REFERENCE2_SELECTION
2     #define REFERENCE2_SELECTION
3 khahn 1.1
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 dkralph 1.4 using namespace mithep;
17 khahn 1.1
18     //
19     // ROOT headers
20     //
21     #include <TROOT.h> // access to gROOT, entry point to ROOT system
22     #include <TTree.h>
23     #include <TFile.h>
24     #include <TChain.h> //
25     #include <TBranch.h> // class to access branches in TTree
26     #include <TClonesArray.h> // ROOT array class
27     #include <TLorentzVector.h> // 4-vector class
28     #include <TVector3.h> // 3D vector class
29     #include <TH1D.h>
30    
31     //
32     // ntuple format headers
33     //
34     #include "EventHeader.h"
35     #include "Electron.h"
36     #include "Muon.h"
37     #include "PFCandidate.h"
38     #include "PFCandidateCol.h"
39     #include "RunLumiRangeMap.h"
40    
41     #include "ParseArgs.h"
42     #include "EventData.h"
43     #include "SelectionStatus.h"
44    
45 khahn 1.2 #define PASS_SKIM0 0
46 khahn 1.1 #define PASS_SKIM1 1
47 khahn 1.2 #define PASS_SKIM2 2
48     #define PASS_TRIGGER 3
49     #define PASS_ZCANDIDATE 4
50     #define PASS_GOODZ1 5
51     #define PASS_4L 6
52     #define PASS_ZZCANDIDATE 7
53     #define PASS_GOODZ2 8
54     #define PASS_ZZ_20_10 9
55     #define PASS_RESONANCE 10
56     #define PASS_m4l_GT_70 11
57     #define PASS_m4l_GT_100 12
58 khahn 1.1
59 khahn 1.3 EventData
60     apply_HZZ4L_reference_selection(ControlFlags &ctrl, // input control
61     const mithep::EventHeader *info, // input event info
62     const mithep::Array<mithep::Vertex> * vtxArr ,
63     const mithep::Array<mithep::PFCandidate> *fPFCandidates,
64     const mithep::Array<mithep::PileupEnergyDensity> *puEnergyDensity,
65 khahn 1.1 const mithep::Array<mithep::Electron> *electronArr, // input electrons
66     SelectionStatus (*ElectronPreSelector)( ControlFlags &,
67     const mithep::Electron*,
68 khahn 1.2 const mithep::Vertex *),
69 khahn 1.1 SelectionStatus (*ElectronIDSelector)( ControlFlags &,
70     const mithep::Electron*,
71 khahn 1.2 const mithep::Vertex *),
72 khahn 1.1 SelectionStatus (*ElectronIsoSelector)( ControlFlags &,
73     const mithep::Electron*,
74 khahn 1.2 const mithep::Vertex *,
75 khahn 1.1 const mithep::Array<mithep::PFCandidate> *,
76 khahn 1.3 const mithep::Array<mithep::PileupEnergyDensity> *puEnergyDensity,
77    
78 khahn 1.1 mithep::ElectronTools::EElectronEffectiveAreaTarget,
79 khahn 1.3 vector<const mithep::PFCandidate*>),
80 khahn 1.1 const mithep::Array<mithep::Muon> *muonArr, // input muons
81     SelectionStatus (*MuonPreSelector)( ControlFlags &,
82     const mithep::Muon*,
83 khahn 1.2 const mithep::Vertex *,
84 khahn 1.1 const mithep::Array<mithep::PFCandidate> *),
85     SelectionStatus (*MuonIDSelector)( ControlFlags &,
86     const mithep::Muon*,
87 khahn 1.2 // const mithep::Vertex *),
88     const mithep::Vertex *,
89 khahn 1.1 const mithep::Array<mithep::PFCandidate> *),
90     SelectionStatus (*MuonIsoSelector)( ControlFlags &,
91     const mithep::Muon*,
92 khahn 1.2 const mithep::Vertex * ,
93 khahn 1.1 const mithep::Array<mithep::PFCandidate> *,
94 khahn 1.3 const mithep::Array<mithep::PileupEnergyDensity> *,
95 khahn 1.1 mithep::MuonTools::EMuonEffectiveAreaTarget,
96 khahn 1.3 vector<const mithep::PFCandidate*>)
97 khahn 1.1 );
98     #endif