{
return 0;
}
- char line[256];
+ char line[1024];
Int_t busPatchID, manuID, manuChannel;
Float_t a0, a1;
Int_t thres;
static const Int_t kNchannels(AliMpConstants::ManuNofChannels());
Int_t n(0);
- while ( in.getline(line,256) )
+ while ( in.getline(line,1024) )
{
if ( strlen(line) < 10 ) continue;
if ( line[0] == '/' && line[1] == '/' ) continue;
std::ifstream in(sFilename.Data());
if (!in.good())
{
+ Master()->Log(Form("Could not open %s",sFilename.Data()));
return 0;
}
- char line[80];
+ char line[1024];
Int_t busPatchID, manuID, manuChannel;
Float_t pedMean, pedSigma;
static const Int_t kNchannels(AliMpConstants::ManuNofChannels());
Int_t n(0);
- while ( in.getline(line,80) )
+ while ( in.getline(line,1024) )
{
+ AliDebug(3,Form("line=%s",line));
if ( line[0] == '/' && line[1] == '/' ) continue;
std::istringstream sin(line);
sin >> busPatchID >> manuID >> manuChannel >> pedMean >> pedSigma;
++n;
}
in.close();
+
+ Master()->Log("File closed");
+
return n;
}