ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitHzz4l/Selection/interface/Selection.h
Revision: 1.9
Committed: Thu Apr 26 06:56:30 2012 UTC (13 years ago) by khahn
Content type: text/plain
Branch: MAIN
CVS Tags: synched
Changes since 1.8: +42 -17 lines
Log Message:
first pass port to bambu

File Contents

# User Rev Content
1 khahn 1.1 #ifndef SELECTION
2     #define 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 dkralph 1.6 #include <TTree.h>
22     #include <TFile.h>
23 khahn 1.1 #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 khahn 1.8 #include <TH1D.h>
29 khahn 1.1
30     //
31     // ntuple format headers
32     //
33 khahn 1.9 #include "EventHeader.h"
34     #include "Electron.h"
35     #include "Muon.h"
36     #include "PFCandidate.h"
37     #include "PFCandidateCol.h"
38 khahn 1.1 #include "RunLumiRangeMap.h"
39    
40     #include "ParseArgs.h"
41 khahn 1.8 #include "EventData.h"
42     #include "SelectionStatus.h"
43 dkralph 1.6
44 khahn 1.9
45 khahn 1.8 EventData apply_HZZ4L_selection(ControlFlags &ctrl, // input control
46 khahn 1.9 const mithep::EventHeader *info, // input event info
47     const mithep::Vertex & fVertex,
48     const mithep::Array<mithep::PFCandidate> *fPFCandidates,
49     const mithep::Array<mithep::PileupEnergyDensity> *,
50     const mithep::Array<mithep::Electron> *electronArr, // input electrons
51     SelectionStatus (*ElectronPreSelector)( ControlFlags &,
52     const mithep::Electron*,
53     const mithep::Vertex &),
54     SelectionStatus (*ElectronIDSelector)( ControlFlags &,
55     const mithep::Electron*,
56     const mithep::Vertex &),
57     SelectionStatus (*ElectronIsoSelector)( ControlFlags &,
58     const mithep::Electron*,
59     const mithep::Vertex & ,
60     const mithep::Array<mithep::PFCandidate> *,
61     const mithep::Array<mithep::PileupEnergyDensity> *,
62     mithep::ElectronTools::EElectronEffectiveAreaTarget,
63     vector<const mithep::Muon*>,
64     vector<const mithep::Electron*> ),
65     const mithep::Array<mithep::Muon> *muonArr, // input muons
66     SelectionStatus (*MuonPreSelector)( ControlFlags &,
67     const mithep::Muon*,
68     const mithep::Vertex &,
69     const mithep::Array<mithep::PFCandidate> *),
70     SelectionStatus (*MuonIDSelector)( ControlFlags &,
71     const mithep::Muon*,
72     const mithep::Vertex &),
73     SelectionStatus (*MuonIsoSelector)( ControlFlags &,
74     const mithep::Muon*,
75     const mithep::Vertex & ,
76     const mithep::Array<mithep::PFCandidate> *,
77     const mithep::Array<mithep::PileupEnergyDensity> *,
78     mithep::MuonTools::EMuonEffectiveAreaTarget,
79     vector<const mithep::Muon*>,
80     vector<const mithep::Electron*> )
81     );
82 khahn 1.1 #endif