ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/SchieferD/jetcalib/mcfakerate_x.cpp
(Generate patch)

Comparing UserCode/SchieferD/jetcalib/mcfakerate_x.cpp (file contents):
Revision 1.4 by schiefer, Tue Sep 4 13:31:20 2007 UTC vs.
Revision 1.5 by schiefer, Mon Oct 8 09:35:44 2007 UTC

# Line 355 | Line 355 | string getLegLabel(const string& jetalg)
355    string result;
356    string tmp(jetalg);
357    
358 <  if (tmp.find("fastjet")==0) {
358 >  if (tmp.find("kt")==0) {
359      result = "fast k_{T}, D=";
360 <    tmp=tmp.substr(7);
360 >    tmp=tmp.substr(2);
361    }
362 <  else if (tmp.find("icone")==0) {
363 <    result = "icone, R=";
364 <    tmp = tmp.substr(5);
362 >  else if (tmp.find("sc")==0) {
363 >    result = "SISCone, R=";
364 >    tmp = tmp.substr(2);
365    }
366 <  else if (tmp.find("mcone")==0) {
367 <    result = "mcone, R=";
368 <    tmp = tmp.substr(5);
366 >  else if (tmp.find("ic")==0) {
367 >    result = "Iterative Cone, R=";
368 >    tmp = tmp.substr(2);
369 >  }
370 >  else if (tmp.find("mc")==0) {
371 >    result = "Midpoint, R=";
372 >    tmp = tmp.substr(2);
373    }
374    else return result;
375 <
375 >  
376    stringstream ssparam;
377    ssparam<<tmp;
378    float param;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines