32 const Text_t*
name=pPar->GetName();
33 cout <<
"-I- Ascii Io init() " << pPar->GetName() << endl;
38 cerr<<
"initialization of "<<name<<
" not possible from file!"<<endl;
41 cerr<<
"no input file open"<<endl;
50 const Text_t* name=pPar->GetName();
53 cerr<<name<<
" could not be written to Ascii file"<<endl;
56 cerr<<
"no output file open"<<endl;
69 const Text_t* name=pPar->GetName();
70 if (!findContainer(name))
return kFALSE;
71 if (needsClear) pPar->clear();
72 const Int_t maxbuf=155;
74 while (!pFile->eof()) {
75 pFile->getline(buf, maxbuf);
76 if (buf[0]==
'#')
break;
77 if (buf[0]!=
'/' && buf[0]!=
'\0')
80 pPar->readline(buf,set,pFile);
82 pPar->setInputVersion(1,inputNumber);
86 printf(
"%s initialized from Ascii file\n",name);
96 pPar->putAsciiHeader(fHeader);
97 writeHeader(pPar->GetName());
printf("RealTime=%f seconds, CpuTime=%f seconds\n", rtime, ctime)
Bool_t init(FairParSet *)
Int_t write(FairParSet *)
Bool_t read(T *, Int_t *, Bool_t needsClear=kFALSE)