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

Comparing UserCode/VHbb/interface/VHbbNameSpace.h (file contents):
Revision 1.11 by bortigno, Fri Mar 29 14:42:55 2013 UTC vs.
Revision 1.12 by nmohr, Sun Apr 7 20:12:15 2013 UTC

# Line 271 | Line 271 | namespace VHbb {
271    double minCSVold(int EVENT_run, double hJet_csv0, double hJet_csv1, double hJet_csvOld0, double hJet_csvOld1){
272  
273      if( EVENT_run < 2 )
274 <      return min(hJet_csvOld0,hJet_csvOld1);
274 >      return std::min(hJet_csvOld0,hJet_csvOld1);
275      else
276 <      return min(hJet_csv0,hJet_csv1);
276 >      return std::min(hJet_csv0,hJet_csv1);
277    }
278  
279    double maxCSVold(int EVENT_run, double hJet_csv0, double hJet_csv1, double hJet_csvOld0, double hJet_csvOld1){
280  
281      if( EVENT_run < 2 )
282 <      return max(hJet_csvOld0,hJet_csvOld1);
282 >      return std::max(hJet_csvOld0,hJet_csvOld1);
283      else
284 <      return max(hJet_csv0,hJet_csv1);
284 >      return std::max(hJet_csv0,hJet_csv1);
285    }
286  
287  
# Line 295 | Line 295 | namespace VHbb {
295      double SF = 1.+hll8_contents[corrBin];
296      return SF;
297    }
298 +  
299 +  double mueEff(int Vtype){
300 +      if (Vtype == 0) return 1.087;
301 +      if (Vtype == 1) return 0.974;
302 +      return 1.;
303 +  }
304  
305   }
306  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines