ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitHzz4l/Selection/interface/Selection.h
(Generate patch)

Comparing UserCode/MitHzz4l/Selection/interface/Selection.h (file contents):
Revision 1.1.1.1 by khahn, Thu Sep 8 13:33:18 2011 UTC vs.
Revision 1.13 by dkralph, Fri Apr 5 12:57:24 2013 UTC

# Line 18 | Line 18 | using namespace std;
18   // ROOT headers
19   //
20   #include <TROOT.h>                  // access to gROOT, entry point to ROOT system
21 < #include <TNtuple.h>
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 "EWKAnaDefs.hh"
34 < #include "TEventInfo.hh"
35 < #include "TElectron.hh"
36 < #include "TMuon.hh"
37 < #include "TJet.hh"
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  
38 //
39 // utility headers
40 //
41 #include "PassHLT.h"
40   #include "ParseArgs.h"
41 < #include "SimpleLepton.h"
42 < #include "MuonSelection.h"
45 < #include "HZZCiCElectronSelection.h"
46 < #include "Angles.h"
47 <
48 < //
49 < // defines
50 < //
51 < #define EVTFAIL_JSON       0
52 < #define EVTFAIL_TRIGGER    1
53 < #define EVTFAIL_Z1         2
54 < #define EVTFAIL_Z1_PLUSL   3
55 < #define EVTFAIL_4L         4
56 < #define EVTFAIL_ISOLATION  5
57 < #define EVTFAIL_IP         6
58 < #define EVTFAIL_KINEMATICS 7
59 <
60 < //#define THEIR_EVENTS
61 <
62 < void initRunLumiRangeMap();
63 <
64 < unsigned fails_HZZ4L_selection(ControlFlags &ctrl,           // input control
65 <                               mithep::TEventInfo *info,     // input event inof
66 <                               TClonesArray *electronArr,    // input electrons
67 <                               TClonesArray *muonArr,        // input muons
68 <                               TNtuple * passtuple );        // output ntuple
69 <
70 < unsigned fails_HZZ4L_selection(ControlFlags &ctrl,           // input control
71 <                               mithep::TEventInfo *info,     // input event inof
72 <                               TClonesArray *electronArr,    // input electrons
73 <                               TClonesArray *muonArr,        // input muons
74 <                               LabVectors * l );        // output ntuple
41 > #include "EventData.h"
42 > #include "SelectionStatus.h"
43  
44 < unsigned fails_HZZ4L_selection(ControlFlags &ctrl,           // input control
45 <                               mithep::TEventInfo *info,     // input event inof
46 <                               TClonesArray *electronArr,    // input electrons
47 <                               TClonesArray *muonArr,        // input muons
48 <                               TNtuple * passtuple,
49 <                               LabVectors * l );        // output ntuple
44 > void fillVetoArrays( ControlFlags & ctrl,
45 >                     const mithep::Array<mithep::Muon> *muonArr,    
46 >                     vector< const mithep::Muon*>     & muonsToVeto,
47 >                     const mithep::Array<mithep::Electron> *electronArr,    
48 >                     vector< const mithep::Electron*> & electronsToVeto,
49 >                     const mithep::Vertex & vtx );
50 > EventData apply_HZZ4L_selection(ControlFlags &ctrl,           // input control
51 >                                const mithep::EventHeader *info,     // input event info
52 >                                const mithep::Vertex & fVertex,
53 >                                const mithep::Array<mithep::PFCandidate>  *fPFCandidates,
54 >                                const mithep::Array<mithep::PileupEnergyDensity> *,
55 >                                const mithep::Array<mithep::Electron> *electronArr,    // input electrons
56 >                                SelectionStatus (*ElectronPreSelector)( ControlFlags &,
57 >                                                                        const mithep::Electron*,
58 >                                                                        const mithep::Vertex &),
59 >                                SelectionStatus (*ElectronIDSelector)( ControlFlags &,
60 >                                                                       const mithep::Electron*,
61 >                                                                       const mithep::Vertex &),
62 >                                SelectionStatus (*ElectronIsoSelector)( ControlFlags &,
63 >                                                                        const mithep::Electron*,
64 >                                                                        const mithep::Vertex & ,
65 >                                                                        const mithep::Array<mithep::PFCandidate> *,
66 >                                                                        const mithep::Array<mithep::PileupEnergyDensity> *,
67 >                                                                        mithep::ElectronTools::EElectronEffectiveAreaTarget,
68 >                                                                        vector<const mithep::Muon*>,
69 >                                                                        vector<const mithep::Electron*> ),
70 >                                const mithep::Array<mithep::Muon> *muonArr,    // input muons
71 >                                SelectionStatus (*MuonPreSelector)( ControlFlags &,
72 >                                                                    const mithep::Muon*,
73 >                                                                    const mithep::Vertex &,
74 >                                                                    const mithep::Array<mithep::PFCandidate> *),
75 >                                SelectionStatus (*MuonIDSelector)( ControlFlags &,
76 >                                                                   const mithep::Muon*,
77 >                                                                   // const mithep::Vertex &),
78 >                                                                   const mithep::Vertex &,
79 >                                                                   const mithep::Array<mithep::PFCandidate> *),
80 >                                SelectionStatus (*MuonIsoSelector)( ControlFlags &,
81 >                                                                    const mithep::Muon*,
82 >                                                                    const mithep::Vertex & ,
83 >                                                                    const mithep::Array<mithep::PFCandidate> *,
84 >                                                                    const mithep::Array<mithep::PileupEnergyDensity> *,
85 >                                                                    mithep::MuonTools::EMuonEffectiveAreaTarget,
86 >                                                                    vector<const mithep::Muon*>,
87 >                                                                    vector<const mithep::Electron*> )
88 >                                );        
89   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines