ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitHzz4l/Selection/interface/Selection.h
Revision: 1.8
Committed: Mon Feb 13 09:45:15 2012 UTC (13 years, 3 months ago) by khahn
Content type: text/plain
Branch: MAIN
Changes since 1.7: +15 -108 lines
Log Message:
*** empty log message ***

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 dkralph 1.2 #include "HiggsAnaDefs.hh"
34 khahn 1.7 #include "TGenInfo.hh"
35 khahn 1.1 #include "TEventInfo.hh"
36     #include "TElectron.hh"
37     #include "TMuon.hh"
38     #include "TJet.hh"
39 khahn 1.8 #include "TPhoton.hh"
40 khahn 1.1 #include "RunLumiRangeMap.h"
41    
42     #include "ParseArgs.h"
43 khahn 1.8 #include "EventData.h"
44     #include "SelectionStatus.h"
45 dkralph 1.6
46 khahn 1.8 EventData apply_HZZ4L_selection(ControlFlags &ctrl, // input control
47     mithep::TEventInfo *info, // input event info
48     TClonesArray *electronArr, // input electrons
49     SelectionStatus (*ElectronPreSelector)( ControlFlags &, const mithep::TElectron*),
50     SelectionStatus (*ElectronIDSelector)( ControlFlags &, const mithep::TElectron*),
51     SelectionStatus (*ElectronIsoSelector)( ControlFlags &, const mithep::TElectron*),
52     TClonesArray *muonArr, // input muons
53     SelectionStatus (*MuonPreSelector)( ControlFlags &, const mithep::TMuon*),
54     SelectionStatus (*MuonIDSelector)( ControlFlags &, const mithep::TMuon*),
55     SelectionStatus (*MuonIsoSelector)( ControlFlags &, const mithep::TMuon*)
56     );
57 khahn 1.1 #endif