48 const Int_t maxbuf = 256;
54 fin.getline(buf, maxbuf);
55 if (buf[0] !=
'\0' && buf[0] !=
'/' && !fin.eof()) {
56 if (strcmp(buf,
name) == 0) {
61 fin.getline(buf, maxbuf);
69 fin.getline(buf, maxbuf);
87 }
while (rc && !volu && !fin.eof());
111 std::ios_base::fmtflags tmp = fout.setf(ios::fixed, ios::floatfield);
117 fout << volu->GetName() <<
'\n' << sh->GetName() <<
'\n' << med->GetName() <<
'\n';
132 cout << volu->GetName() <<
'\n' << sh->GetName() <<
'\n' << med->GetName() <<
'\n';
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 *)
void write(std::fstream &)
Bool_t read(std::fstream &, FairGeoMedia *)
FairGeoBasicShape * getShapePointer()