System ()

[code]int SFHped_plot_v0(){
Int_t Nfibres=128; //fibers number (64 hor + 64 vert fibers)
Float_t fiber[128]; //fiber numbering (1 to 64 for H fibers, 65 to 128 for V fibers) //int?
Float_t ped[128];//array da riempire con pedestal average values, per each fiber
Float_t rms[128]; //array da riempire con pedestal rms values, per each fiber
Float_t F=0; //int?
Float_t P=0;
Float_t R=0;

string detector;
string measurementlabel;
string date;
string exposure;
string gain;
string Nmeas;
string valuemean;
string rmsmean;
string basket;

// read the time the ROOT script is executed at	
time_t rawtime;
time ( &rawtime );
date=ctime(&rawtime); //this string ends with a "newline" character

//let's read the input file and fill the strings:
// for each ">>", it reads until the first space
// i.e., a word at a time
ifstream infile("SFHped_output_v1.txt");
    infile>>detector;
detector=detector.substr(1);  #### LINE 57###
infile>>measurementlabel;
measurementlabel=measurementlabel.substr(1);
infile>>gain;
gain=gain.substr(1);
infile>>exposure;
exposure=exposure.substr(1);

…[/code]

thanks!