76 const Int_t maxbuf = 155;
78 for (Int_t i = 0; i <
nPoints; i++) {
79 pFile->getline(buf, maxbuf);
80 sscanf(buf,
"%lf%lf%lf", &x, &y, &z);
95 sprintf(buf,
"%9.3f%10.3f%10.3f\n", v(0), v(1), v(2));
96 pFile->write(buf, strlen(buf));
106 printf(
"%9.3f%10.3f%10.3f\n", v(0), v(1), v(2));
140 for (Int_t i = 0; i <
nParam; i++) {
141 cout <<
param->At(i) <<
" ";
void posInMother(const FairGeoTransform &, const FairGeoTransform &)
virtual void calcVoluPosition(FairGeoVolume *, const FairGeoTransform &)
virtual Bool_t writePoints(std::fstream *, FairGeoVolume *)
void setPoint(const Int_t, const Double_t, const Double_t, const Double_t)
FairGeoTransform * center
ClassImp(FairEventBuilder)
void createPoints(const Int_t)
FairGeoVector * getPoint(const Int_t n)
virtual void printPoints(FairGeoVolume *volu)
virtual Int_t readPoints(std::fstream *, FairGeoVolume *)
virtual ~FairGeoBasicShape()
FairGeoTransform & getTransform()
FairGeoTransform * position