90 const Int_t maxbuf = 155;
93 pFile->getline(
buf, maxbuf);
94 sscanf(
buf,
"%lf%lf%lf", &
x, &
y, &
z);
97 pFile->getline(
buf, maxbuf);
98 sscanf(
buf,
"%lf%lf", &
x, &
y);
113 if (
i == 0 ||
i == 2) {
114 sprintf(
buf,
"%9.3f%10.3f%10.3f\n",
v(0),
v(1),
v(2));
116 sprintf(
buf,
"%9.3f%10.3f\n",
v(0),
v(1));
118 pFile->write(
buf, strlen(
buf));
128 if (
i == 0 ||
i == 2) {
129 printf(
"%9.3f%10.3f%10.3f\n",
v(0),
v(1),
v(2));
131 printf(
"%9.3f%10.3f\n",
v(0),
v(1));
141 param->AddAt(TMath::Abs(
v(2)) / fac / 2., 0);
157 Double_t t[3] = {0., 0., 0.};
FairGeoTransform * center
void posInMother(const FairGeoTransform &, const FairGeoTransform &)
FairGeoTransform * position
void printPoints(FairGeoVolume *volu)
void calcVoluPosition(FairGeoVolume *, const FairGeoTransform &, const FairGeoTransform &)
Int_t readPoints(std::fstream *, FairGeoVolume *)
Bool_t writePoints(std::fstream *, FairGeoVolume *)
TArrayD * calcVoluParam(FairGeoVolume *)
FairGeoVector * getPoint(const Int_t n)
void setPoint(const Int_t, const Double_t, const Double_t, const Double_t)
void createPoints(const Int_t)
GLfloat GLfloat GLfloat GLfloat v3
GLenum GLuint GLenum GLsizei const GLchar * buf
GLdouble GLdouble GLdouble z