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.8 by khahn, Mon Feb 13 09:45:15 2012 UTC vs.
Revision 1.9 by khahn, Thu Apr 26 06:56:30 2012 UTC

# Line 30 | Line 30 | using namespace std;
30   //
31   // ntuple format headers
32   //
33 < #include "HiggsAnaDefs.hh"
34 < #include "TGenInfo.hh"
35 < #include "TEventInfo.hh"
36 < #include "TElectron.hh"
37 < #include "TMuon.hh"
38 < #include "TJet.hh"
39 < #include "TPhoton.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  
40   #include "ParseArgs.h"
41   #include "EventData.h"
42   #include "SelectionStatus.h"
43  
44 +
45   EventData apply_HZZ4L_selection(ControlFlags &ctrl,           // input control
46 <                                     mithep::TEventInfo *info,     // input event info
47 <                                     TClonesArray *electronArr,    // input electrons
48 <                                     SelectionStatus (*ElectronPreSelector)( ControlFlags &, const mithep::TElectron*),
49 <                                     SelectionStatus (*ElectronIDSelector)( ControlFlags &, const mithep::TElectron*),
50 <                                     SelectionStatus (*ElectronIsoSelector)( ControlFlags &, const mithep::TElectron*),
51 <                                     TClonesArray *muonArr,         // input muons
52 <                                     SelectionStatus (*MuonPreSelector)( ControlFlags &, const mithep::TMuon*),
53 <                                     SelectionStatus (*MuonIDSelector)( ControlFlags &, const mithep::TMuon*),
54 <                                     SelectionStatus (*MuonIsoSelector)( ControlFlags &, const mithep::TMuon*)
55 <                                     );        
46 >                                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   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines