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.2 by dkralph, Tue Jun 12 22:04:07 2012 UTC vs.
Revision 1.4 by dkralph, Mon Jun 25 18:08:04 2012 UTC

# Line 36 | Line 36 | using namespace std;
36   #include "PFCandidate.h"
37   #include "PFCandidateCol.h"
38   #include "RunLumiRangeMap.h"
39 + #include "TriggerTable.h"
40 + #include "TriggerObjectsTable.h"
41  
42   #include "ParseArgs.h"
43 + #include "TriggerUtils.h"
44   #include "EventData.h"
45   #include "SelectionStatus.h"
46   #include "ReferenceSelection.h"
47 < #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
47 > #include "SelectionFuncs.h"
48  
49   EventData
50   apply_HZZ4L_EMU_selection(ControlFlags &ctrl,           // input control
51 <                                const mithep::EventHeader *info,     // input event info
52 <                                const mithep::Array<mithep::Vertex>      * vtxArr ,
53 <                                const mithep::Array<mithep::PFCandidate>  *fPFCandidates,
54 <                                const mithep::Array<mithep::PileupEnergyDensity>  *puEnergyDensity,
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>  *puEnergyDensity,
51 >                          const mithep::EventHeader *info,     // input event info
52 >                          mithep::TriggerTable *hltTable,
53 >                          mithep::Array<mithep::TriggerObject> *hltObjArr,
54 >                          mithep::TriggerObjectsTable *fTrigObjs,
55 >                          const mithep::Array<mithep::Vertex>      * vtxArr ,
56 >                          const mithep::Array<mithep::PFCandidate>  *fPFCandidates,
57 >                          const mithep::Array<mithep::PileupEnergyDensity>  *puEnergyDensity,
58 >                          const mithep::Array<mithep::Electron> *electronArr,    // input electrons
59 >                          SelectionStatus (*ElectronPreSelector)( ControlFlags &,
60 >                                                                  const mithep::Electron*,
61 >                                                                  const mithep::Vertex *),
62 >                          SelectionStatus (*ElectronIDSelector)( ControlFlags &,
63 >                                                                 const mithep::Electron*,
64 >                                                                 const mithep::Vertex *),
65 >                          SelectionStatus (*ElectronIsoSelector)( ControlFlags &,
66 >                                                                  const mithep::Electron*,
67 >                                                                  const mithep::Vertex *,
68 >                                                                  const mithep::Array<mithep::PFCandidate> *,
69 >                                                                  const mithep::Array<mithep::PileupEnergyDensity>  *puEnergyDensity,
70          
71 <                                                                        mithep::ElectronTools::EElectronEffectiveAreaTarget,
72 <                                                                        vector<const mithep::PFCandidate*>),
73 <                                const mithep::Array<mithep::Muon> *muonArr,    // input muons
74 <                                SelectionStatus (*MuonPreSelector)( ControlFlags &,
75 <                                                                    const mithep::Muon*,
76 <                                                                    const mithep::Vertex *,
77 <                                                                    const mithep::Array<mithep::PFCandidate> *),
78 <                                SelectionStatus (*MuonIDSelector)( ControlFlags &,
79 <                                                                   const mithep::Muon*,
80 <                                                                   // const mithep::Vertex *),
81 <                                                                   const mithep::Vertex *,
82 <                                                                   const mithep::Array<mithep::PFCandidate> *),
83 <                                SelectionStatus (*MuonIsoSelector)( ControlFlags &,
84 <                                                                    const mithep::Muon*,
85 <                                                                    const mithep::Vertex * ,
86 <                                                                    const mithep::Array<mithep::PFCandidate> *,
87 <                                                                    const mithep::Array<mithep::PileupEnergyDensity> *,
88 <                                                                    mithep::MuonTools::EMuonEffectiveAreaTarget,
89 <                                                                    vector<const mithep::PFCandidate*>)
90 <                                );        
99 < /* void getEATargets(ControlFlags &ctrl, */
100 < /*                mithep::MuonTools::EMuonEffectiveAreaTarget &eraMu, */
101 < /*                mithep::ElectronTools::EElectronEffectiveAreaTarget &eraEle); */
71 >                                                                  mithep::ElectronTools::EElectronEffectiveAreaTarget,
72 >                                                                  vector<const mithep::PFCandidate*>),
73 >                          const mithep::Array<mithep::Muon> *muonArr,    // input muons
74 >                          SelectionStatus (*MuonPreSelector)( ControlFlags &,
75 >                                                              const mithep::Muon*,
76 >                                                              const mithep::Vertex *,
77 >                                                              const mithep::Array<mithep::PFCandidate> *),
78 >                          SelectionStatus (*MuonIDSelector)( ControlFlags &,
79 >                                                             const mithep::Muon*,
80 >                                                             // const mithep::Vertex *),
81 >                                                             const mithep::Vertex *,
82 >                                                             const mithep::Array<mithep::PFCandidate> *),
83 >                          SelectionStatus (*MuonIsoSelector)( ControlFlags &,
84 >                                                              const mithep::Muon*,
85 >                                                              const mithep::Vertex * ,
86 >                                                              const mithep::Array<mithep::PFCandidate> *,
87 >                                                              const mithep::Array<mithep::PileupEnergyDensity> *,
88 >                                                              mithep::MuonTools::EMuonEffectiveAreaTarget,
89 >                                                              vector<const mithep::PFCandidate*>)
90 >                          );        
91   bool has_ssof_lepton(ControlFlags &ctrl);
103 /* bool setPV(ControlFlags, const mithep::Array<mithep::Vertex> *, const mithep::Vertex* &);  */
92  
93   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines