79 const Int_t maxbuf = 155;
81 for (Int_t i = 0; i <
nPoints; i++) {
82 pFile->getline(buf, maxbuf);
83 sscanf(buf,
"%lf%lf", &x, &y);
96 for (Int_t i = 0; i <
nPoints; i++) {
98 sprintf(buf,
"%9.3f%10.3f\n", v(0), v(1));
99 pFile->write(buf, strlen(buf));
108 for (Int_t i = 0; i <
nPoints; i++) {
110 printf(
"%9.3f%10.3f\n", v(0), v(1));
121 param->AddAt(v0(0) / fac, 0);
122 param->AddAt(v0(1) / fac, 1);
123 param->AddAt(v1(0), 2);
124 param->AddAt(v1(1), 3);
125 param->AddAt(v2(0), 4);
126 param->AddAt(v2(1), 5);
void posInMother(const FairGeoTransform &, const FairGeoTransform &)
Int_t readPoints(std::fstream *, FairGeoVolume *)
void setPoint(const Int_t, const Double_t, const Double_t, const Double_t)
FairGeoTransform * center
ClassImp(FairEventBuilder)
void calcVoluPosition(FairGeoVolume *, const FairGeoTransform &, const FairGeoTransform &)
Bool_t writePoints(std::fstream *, FairGeoVolume *)
void createPoints(const Int_t)
void printPoints(FairGeoVolume *volu)
FairGeoVector * getPoint(const Int_t n)
TArrayD * calcVoluParam(FairGeoVolume *)
FairGeoTransform * position