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

Comparing UserCode/MitHzz4l/Selection/interface/ReferenceSelection.h (file contents):
Revision 1.2 by khahn, Thu May 24 17:56:51 2012 UTC vs.
Revision 1.4 by dkralph, Tue Oct 23 11:36:21 2012 UTC

# Line 13 | Line 13
13   #include <stdlib.h>  
14   #include <getopt.h>
15   using namespace std;
16 + using namespace mithep;
17  
18   //
19   // ROOT headers
# Line 40 | Line 41 | using namespace std;
41   #include "ParseArgs.h"
42   #include "EventData.h"
43   #include "SelectionStatus.h"
44 + #include "ElectronEnergyCorrection.h"
45  
46   #define PASS_SKIM0                0
47   #define PASS_SKIM1                1
# Line 55 | Line 57 | using namespace std;
57   #define PASS_m4l_GT_70            11
58   #define PASS_m4l_GT_100           12
59  
60 < EventData apply_HZZ4L_reference_selection(ControlFlags &ctrl,           // input control
61 <                                           const mithep::EventHeader *info,     // input event info
62 <                                           const mithep::Array<mithep::Vertex>      * vtxArr ,
63 <                                           const mithep::Array<mithep::PFCandidate>  *fPFCandidates,
64 < #ifdef HACKED_RHOS
65 <                                           float rho,
64 < #else
65 <                                           const mithep::Array<mithep::PileupEnergyDensity>  *puEnergyDensity,
66 < #endif
60 > EventData
61 > apply_HZZ4L_reference_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*,
# Line 75 | Line 74 | EventData apply_HZZ4L_reference_selectio
74                                                                          const mithep::Electron*,
75                                                                          const mithep::Vertex *,
76                                                                          const mithep::Array<mithep::PFCandidate> *,
77 < #ifdef HACKED_RHOS
78 <                                           float rho,
80 < #else
81 <                                           const mithep::Array<mithep::PileupEnergyDensity>  *puEnergyDensity,
82 < #endif
83 <        
77 >                                                                        const mithep::Array<mithep::PileupEnergyDensity>  *puEnergyDensity,
78 >                                                                        
79                                                                          mithep::ElectronTools::EElectronEffectiveAreaTarget,
80 <                                                                        vector<const mithep::Muon*>,
86 <                                                                        vector<const mithep::Electron*> ),
80 >                                                                        vector<const mithep::PFCandidate*>),
81                                  const mithep::Array<mithep::Muon> *muonArr,    // input muons
82                                  SelectionStatus (*MuonPreSelector)( ControlFlags &,
83                                                                      const mithep::Muon*,
# Line 98 | Line 92 | EventData apply_HZZ4L_reference_selectio
92                                                                      const mithep::Muon*,
93                                                                      const mithep::Vertex * ,
94                                                                      const mithep::Array<mithep::PFCandidate> *,
95 < #ifdef HACKED_RHOS
102 <                                                                               float,
103 < #else
104 <                                                                               const mithep::Array<mithep::PileupEnergyDensity> *,
105 < #endif
95 >                                                                    const mithep::Array<mithep::PileupEnergyDensity> *,
96                                                                      mithep::MuonTools::EMuonEffectiveAreaTarget,
97 <                                                                    vector<const mithep::Muon*>,
108 <                                                                    vector<const mithep::Electron*> )
97 >                                                                    vector<const mithep::PFCandidate*>)
98                                  );        
99   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines