Fork me on GitHub

Changeset 531 in svn for trunk


Ignore:
Timestamp:
Sep 14, 2009, 5:18:28 PM (15 years ago)
Author:
Xavier Rouby
Message:

track efficiencies can be floating numbers

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/interface/SmearUtil.h

    r526 r531  
    166166  float TRACK_bfield_z;
    167167  float TRACK_ptmin;    // minimal pt needed to reach the calorimeter, in GeV
    168   int  TRACK_eff;       // in percent, should be an integer
     168  float TRACK_eff;       // in percent, should be an integer
    169169 
    170170
  • trunk/src/SmearUtil.cc

    r528 r531  
    638638    else if(strstr(temp_string.c_str(),"FLAG_bfield"))      {curstring >> varname >> ivalue; FLAG_bfield      = ivalue;}
    639639    else if(strstr(temp_string.c_str(),"TRACK_ptmin"))      {curstring >> varname >> value; TRACK_ptmin       = value;}
    640     else if(strstr(temp_string.c_str(),"TRACK_eff"))        {curstring >> varname >> ivalue;TRACK_eff         = ivalue;}
     640    else if(strstr(temp_string.c_str(),"TRACK_eff"))        {curstring >> varname >> value; TRACK_eff         = value;}
    641641
    642642    else if(strstr(temp_string.c_str(),"TOWER_number"))     {curstring >> varname >> ivalue;TOWER_number      = ivalue;}
Note: See TracChangeset for help on using the changeset viewer.