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

Comparing UserCode/MitHzz4l/NonMCBackground/interface/SelectionEMU.h (file contents):
Revision 1.1 by khahn, Tue Feb 14 01:30:14 2012 UTC vs.
Revision 1.2 by dkralph, Tue Jun 12 22:04:07 2012 UTC

# Line 1 | Line 1
1 < #ifndef SELECTION
2 < #define SELECTION
1 > #ifndef SELECTION_EMU
2 > #define SELECTION_EMU
3  
4   // System headers
5   //
# 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 + #include "ReferenceSelection.h"
44 + #include "UtilFuncs.h"
45 +
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
61 + apply_HZZ4L_EMU_selection(ControlFlags &ctrl,           // input control
62 +                                const mithep::EventHeader *info,     // input event info
63 +                                const mithep::Array<mithep::Vertex>      * vtxArr ,
64 +                                const mithep::Array<mithep::PFCandidate>  *fPFCandidates,
65 +                                const mithep::Array<mithep::PileupEnergyDensity>  *puEnergyDensity,
66 +                                const mithep::Array<mithep::Electron> *electronArr,    // input electrons
67 +                                SelectionStatus (*ElectronPreSelector)( ControlFlags &,
68 +                                                                        const mithep::Electron*,
69 +                                                                        const mithep::Vertex *),
70 +                                SelectionStatus (*ElectronIDSelector)( ControlFlags &,
71 +                                                                       const mithep::Electron*,
72 +                                                                       const mithep::Vertex *),
73 +                                SelectionStatus (*ElectronIsoSelector)( ControlFlags &,
74 +                                                                        const mithep::Electron*,
75 +                                                                        const mithep::Vertex *,
76 +                                                                        const mithep::Array<mithep::PFCandidate> *,
77 +                                                                        const mithep::Array<mithep::PileupEnergyDensity>  *puEnergyDensity,
78 +        
79 +                                                                        mithep::ElectronTools::EElectronEffectiveAreaTarget,
80 +                                                                        vector<const mithep::PFCandidate*>),
81 +                                const mithep::Array<mithep::Muon> *muonArr,    // input muons
82 +                                SelectionStatus (*MuonPreSelector)( ControlFlags &,
83 +                                                                    const mithep::Muon*,
84 +                                                                    const mithep::Vertex *,
85 +                                                                    const mithep::Array<mithep::PFCandidate> *),
86 +                                SelectionStatus (*MuonIDSelector)( ControlFlags &,
87 +                                                                   const mithep::Muon*,
88 +                                                                   // const mithep::Vertex *),
89 +                                                                   const mithep::Vertex *,
90 +                                                                   const mithep::Array<mithep::PFCandidate> *),
91 +                                SelectionStatus (*MuonIsoSelector)( ControlFlags &,
92 +                                                                    const mithep::Muon*,
93 +                                                                    const mithep::Vertex * ,
94 +                                                                    const mithep::Array<mithep::PFCandidate> *,
95 +                                                                    const mithep::Array<mithep::PileupEnergyDensity> *,
96 +                                                                    mithep::MuonTools::EMuonEffectiveAreaTarget,
97 +                                                                    vector<const mithep::PFCandidate*>)
98 +                                );        
99 + /* void getEATargets(ControlFlags &ctrl, */
100 + /*                mithep::MuonTools::EMuonEffectiveAreaTarget &eraMu, */
101 + /*                mithep::ElectronTools::EElectronEffectiveAreaTarget &eraEle); */
102 + bool has_ssof_lepton(ControlFlags &ctrl);
103 + /* bool setPV(ControlFlags, const mithep::Array<mithep::Vertex> *, const mithep::Vertex* &);  */
104  
46 EventData apply_EMU_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                                     );        
105   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines