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

Comparing UserCode/MitHzz4l/LeptonSelection/interface/IsolationSelection.h (file contents):
Revision 1.8 by khahn, Sat May 5 21:43:53 2012 UTC vs.
Revision 1.10 by khahn, Mon May 14 17:27:29 2012 UTC

# Line 81 | Line 81 | SelectionStatus muonIsoMVASelection(Cont
81                                      mithep::MuonTools::EMuonEffectiveAreaTarget EffectiveAreaVersion,
82                                      vector<const mithep::Muon*> muonsToVeto,
83                                      vector<const mithep::Electron*> electronsToVeto);
84 + //hacked version
85 + SelectionStatus muonIsoMVASelection(ControlFlags &ctrl,
86 +                                    const mithep::Muon * mu,
87 +                                    const mithep::Vertex & vtx,
88 +                                    const mithep::Array<mithep::PFCandidate> * fPFCandidates,
89 +                                    float rho,
90 +                                    mithep::MuonTools::EMuonEffectiveAreaTarget EffectiveAreaVersion,
91 +                                    vector<const mithep::Muon*> muonsToVeto,
92 +                                    vector<const mithep::Electron*> electronsToVeto);
93   double muonPFIso04(ControlFlags &ctrl,
94                     const mithep::Muon * mu,
95                     const mithep::Vertex & vtx,
# Line 89 | Line 98 | double muonPFIso04(ControlFlags &ctrl,
98                     mithep::MuonTools::EMuonEffectiveAreaTarget EffectiveAreaVersion,
99                     vector<const mithep::Muon*> muonsToVeto,
100                     vector<const mithep::Electron*> electronsToVeto);
101 + // hacked version
102 + double muonPFIso04(ControlFlags &ctrl,
103 +                   const mithep::Muon * mu,
104 +                   const mithep::Vertex & vtx,
105 +                   const mithep::Array<mithep::PFCandidate> * fPFCandidates,
106 +                   float rho,  // the hack
107 +                   mithep::MuonTools::EMuonEffectiveAreaTarget EffectiveAreaVersion,
108 +                   vector<const mithep::Muon*> muonsToVeto,
109 +                   vector<const mithep::Electron*> electronsToVeto);
110 + //
111   SelectionStatus muonReferenceIsoSelection(ControlFlags &ctrl,
112                                            const mithep::Muon * mu,
113                                            const mithep::Vertex & vtx,
# Line 97 | Line 116 | SelectionStatus muonReferenceIsoSelectio
116                                            mithep::MuonTools::EMuonEffectiveAreaTarget EffectiveAreaVersion,
117                                            vector<const mithep::Muon*> muonsToVeto,
118                                            vector<const mithep::Electron*> electronsToVeto);
119 + // hacked version
120 + SelectionStatus muonReferenceIsoSelection(ControlFlags &ctrl,
121 +                                          const mithep::Muon * mu,
122 +                                          const mithep::Vertex & vtx,
123 +                                          const mithep::Array<mithep::PFCandidate> * fPFCandidates,
124 +                                          float,
125 +                                          mithep::MuonTools::EMuonEffectiveAreaTarget EffectiveAreaVersion,
126 +                                          vector<const mithep::Muon*> muonsToVeto,
127 +                                          vector<const mithep::Electron*> electronsToVeto);
128  
129   void initElectronIsoMVA();
130   SelectionStatus electronIsoMVASelection(ControlFlags &ctrl,
# Line 107 | Line 135 | SelectionStatus electronIsoMVASelection(
135                                      mithep::ElectronTools::EElectronEffectiveAreaTarget EffectiveAreaVersion,
136                                      vector<const mithep::Muon*> muonsToVeto,
137                                      vector<const mithep::Electron*> electronsToVeto);
138 + //hacked version
139 + SelectionStatus electronIsoMVASelection(ControlFlags &ctrl,
140 +                                    const mithep::Electron * ele,
141 +                                    const mithep::Vertex & vtx,
142 +                                    const mithep::Array<mithep::PFCandidate> * fPFCandidates,
143 +                                        float rho,
144 +                                    mithep::ElectronTools::EElectronEffectiveAreaTarget EffectiveAreaVersion,
145 +                                    vector<const mithep::Muon*> muonsToVeto,
146 +                                    vector<const mithep::Electron*> electronsToVeto);
147   float electronPFIso04(ControlFlags &ctrl,
148                        const mithep::Electron * ele,
149                        const mithep::Vertex & vtx,
# Line 115 | Line 152 | float electronPFIso04(ControlFlags &ctrl
152                        mithep::ElectronTools::EElectronEffectiveAreaTarget EffectiveAreaVersion,
153                        vector<const mithep::Muon*> muonsToVeto,
154                        vector<const mithep::Electron*> electronsToVeto) ;
155 + // hacked version
156 + float electronPFIso04(ControlFlags &ctrl,
157 +                      const mithep::Electron * ele,
158 +                      const mithep::Vertex & vtx,
159 +                      const mithep::Array<mithep::PFCandidate> * fPFCandidates,
160 +                      float rho, // the hack
161 +                      mithep::ElectronTools::EElectronEffectiveAreaTarget EffectiveAreaVersion,
162 +                      vector<const mithep::Muon*> muonsToVeto,
163 +                      vector<const mithep::Electron*> electronsToVeto) ;
164 + //
165   SelectionStatus electronReferenceIsoSelection(ControlFlags &ctrl,
166                                                const mithep::Electron * ele,
167                                                const mithep::Vertex & vtx,
# Line 123 | Line 170 | SelectionStatus electronReferenceIsoSele
170                                                mithep::ElectronTools::EElectronEffectiveAreaTarget EffectiveAreaVersion,
171                                                vector<const mithep::Muon*> muonsToVeto,
172                                                vector<const mithep::Electron*> electronsToVeto);
173 + // hacked version
174 + SelectionStatus electronReferenceIsoSelection(ControlFlags &ctrl,
175 +                                              const mithep::Electron * ele,
176 +                                              const mithep::Vertex & vtx,
177 +                                              const mithep::Array<mithep::PFCandidate> * fPFCandidates,
178 +                                              float,
179 +                                              mithep::ElectronTools::EElectronEffectiveAreaTarget EffectiveAreaVersion,
180 +                                              vector<const mithep::Muon*> muonsToVeto,
181 +                                              vector<const mithep::Electron*> electronsToVeto);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines