ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitHzz4l/NonMCBackground/interface/ZPlusX.h
Revision: 1.3
Committed: Tue Oct 23 12:41:06 2012 UTC (12 years, 6 months ago) by dkralph
Content type: text/plain
Branch: MAIN
CVS Tags: compiled, HEAD
Changes since 1.2: +1 -0 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 dkralph 1.1 #ifndef ZPLUS2HIGHIP_SELECTION
2     #define ZPLUS2HIGHIP_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 dkralph 1.2 #include <TBits.h>
30 dkralph 1.1
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 dkralph 1.3 #include "ReferenceSelection.h"
45 dkralph 1.1
46     #define PASS_SKIM0 0
47     #define PASS_SKIM1 1
48     #define PASS_SKIM2 2
49     #define PASS_TRIGGER 3
50     #define PASS_ZCANDIDATE 4
51     #define PASS_GOODZ1 5
52     #define PASS_4L 6
53     #define PASS_ZZCANDIDATE 7
54     #define PASS_GOODZ2 8
55     #define PASS_ZZ_20_10 9
56     #define PASS_RESONANCE 10
57     #define PASS_m4l_GT_70 11
58     #define PASS_m4l_GT_100 12
59    
60     EventData apply_ZPlusX(ControlFlags &ctrl, // input control
61     const mithep::EventHeader *info, // input event info
62 dkralph 1.2 TriggerTable *hltTable,
63     Array<TriggerObject> *hltObjArr,
64     TriggerObjectsTable *fTrigObjs,
65 dkralph 1.1 const mithep::Array<mithep::Vertex> * vtxArr ,
66     const mithep::Array<mithep::PFCandidate> *fPFCandidates,
67     const mithep::Array<mithep::PileupEnergyDensity> *puEnergyDensity,
68     const mithep::Array<mithep::Electron> *electronArr, // input electrons
69     SelectionStatus (*ElectronPreSelector)( ControlFlags &,
70     const mithep::Electron*,
71     const mithep::Vertex *),
72     SelectionStatus (*ElectronIDSelector)( ControlFlags &,
73     const mithep::Electron*,
74     const mithep::Vertex *),
75     SelectionStatus (*ElectronIsoSelector)( ControlFlags &,
76     const mithep::Electron*,
77     const mithep::Vertex *,
78     const mithep::Array<mithep::PFCandidate> *,
79     const mithep::Array<mithep::PileupEnergyDensity> *puEnergyDensity,
80    
81     mithep::ElectronTools::EElectronEffectiveAreaTarget,
82     vector<const mithep::PFCandidate*>),
83     const mithep::Array<mithep::Muon> *muonArr, // input muons
84     SelectionStatus (*MuonPreSelector)( ControlFlags &,
85     const mithep::Muon*,
86     const mithep::Vertex *,
87     const mithep::Array<mithep::PFCandidate> *),
88     SelectionStatus (*MuonIDSelector)( ControlFlags &,
89     const mithep::Muon*,
90     // const mithep::Vertex *),
91     const mithep::Vertex *,
92     const mithep::Array<mithep::PFCandidate> *),
93     SelectionStatus (*MuonIsoSelector)( ControlFlags &,
94     const mithep::Muon*,
95     const mithep::Vertex * ,
96     const mithep::Array<mithep::PFCandidate> *,
97     const mithep::Array<mithep::PileupEnergyDensity> *,
98     mithep::MuonTools::EMuonEffectiveAreaTarget,
99     vector<const mithep::PFCandidate*>)
100     );
101     #endif