Changeset 5254


Ignore:
Timestamp:
10/12/04 17:30:44 (20 years ago)
Author:
moralejo
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Simulation/Detector/StarResponse/starresponse.cxx

    r5248 r5254  
    6666
    6767  if(brightness<=1.0)
    68     sprintf(filename, "%sBrightness%.2f.slt", path, brightness) ;
     68    sprintf(filename, "%s/Brightness%.2f.slt", path, brightness) ;
    6969  else
    70     sprintf(filename, "%sBrightness%.1f.slt", path, brightness) ;
     70    sprintf(filename, "%s/Brightness%.1f.slt", path, brightness) ;
    7171
    7272  data.WriteBinary( filename );
     
    7575    {
    7676      if(brightness<=1.0)
    77         sprintf(filename, "%sBrightness%.2f.root", path, brightness);
     77        sprintf(filename, "%s/Brightness%.2f.root", path, brightness);
    7878      else
    79         sprintf(filename, "%sBrightness%.1f.root", path, brightness);
     79        sprintf(filename, "%s/Brightness%.1f.root", path, brightness);
    8080
    8181      cout << " the file will be written in " << filename << endl;
Note: See TracChangeset for help on using the changeset viewer.