51 const Int_t maxbuf = 256;
57 fin.getline(buf, maxbuf);
58 if (buf[0] !=
'\0' && buf[0] !=
'/' && !fin.eof()) {
59 if (strcmp(buf,
name) == 0) {
64 fin.getline(buf, maxbuf);
72 fin.getline(buf, maxbuf);
90 }
while (rc && !volu && !fin.eof());
114 fout.setf(ios::fixed, ios::floatfield);
120 fout << volu->GetName() <<
'\n' << sh->GetName() <<
'\n' << med->GetName() <<
'\n';
134 cout << volu->GetName() <<
'\n' << sh->GetName() <<
'\n' << med->GetName() <<
'\n';
void write(std::fstream &)
void setActive(Bool_t a=kTRUE)
virtual Bool_t writePoints(std::fstream *, FairGeoVolume *)
ClassImp(FairEventBuilder)
void setShape(FairGeoBasicShape *s)
FairGeoNode * getVolume(const char *name)
FairGeoBasicShape * selectShape(FairGeoVolume *)
virtual void printPoints(FairGeoVolume *volu)
void setVolumeType(EFairGeoNodeType t)
void setMedium(FairGeoMedium *med)
FairGeoMedium * getMedium()
virtual Int_t readPoints(std::fstream *, FairGeoVolume *)
FairGeoBasicShape * getShapePointer()
Bool_t read(std::fstream &, FairGeoMedia *)