25 inline void round(Double_t
d, Int_t
n);
41 Double_t&
X() {
return x; }
42 Double_t&
Y() {
return y; }
43 Double_t&
Z() {
return z; }
44 Double_t
getX()
const {
return x; }
45 Double_t
getY()
const {
return y; }
46 Double_t
getZ()
const {
return z; }
51 std::cout <<
" -E- Vector index is 0 1 2 only ! " << std::endl;
65 void setXYZ(
const Double_t xx,
const Double_t yy,
const Double_t zz)
98 void print()
const { printf(
"%10.3f%10.3f%10.3f\n",
x,
y,
z); }
99 inline void round(Int_t
n);
131 Error(
"operator()",
"bad index");
152 return ((
v.getX() !=
x ||
v.getY() !=
y ||
v.getZ() !=
z) ? kFALSE : kTRUE);
157 return (
v.getX() !=
x ||
v.getY() !=
y ||
v.getZ() !=
z) ? kTRUE : kFALSE;
238 return (
x *
v.getX() +
y *
v.getY() +
z *
v.getZ());
251 d = floor(
d * pow(10.,
n) + 0.5) / pow(10.,
n);
253 d = -floor((-
d) * pow(10.,
n) + 0.5) / pow(10.,
n);
267 return put <<
v(0) <<
" " <<
v(1) <<
" " <<
v(2) <<
'\n';
273 get >>
x[0] >>
x[1] >>
x[2];
std::ostream & operator<<(std::ostream &put, const FairGeoVector &v)
std::istream & operator>>(std::istream &get, FairGeoVector &v)
Timeframe settings Average distance in cm of events merged into Randomize distance around average distance of merged events Simulate correct bunch interactions instead of placing only the average number of events A value[n] sets TFlen for[n] collisions in Number of bunches per trainsort Number of bunch trains Instantaneous interaction rate Do not simulate border Total number of collisions to be placed in the interior of all time Do not select random but walk over array of events in stride steps h Event generator settings h configStandalone Use CPU for GPU Force usage of the specified GPU device no CPU fallback Continue processing after an error First event to Number of events to Number of iterations to Number of iterations to Number of initial iterations excluded from const char Directory with events to Events directory is and not inside events d
Double_t operator()(const Int_t i) const
Bool_t operator<(const Double_t a)
check with ilse
Bool_t operator>=(const Double_t a)
Bool_t operator==(const FairGeoVector &v) const
FairGeoVector & operator+=(const Double_t a)
Bool_t operator<=(const Double_t a)
Bool_t operator>(const Double_t a)
friend std::ostream & operator<<(std::ostream &put, const FairGeoVector &v)
void round(Double_t d, Int_t n)
FairGeoVector & operator*=(const Double_t a)
FairGeoVector operator+(const FairGeoVector &v) const
Double_t scalarProduct(const FairGeoVector &v) const
FairGeoVector & operator-=(const Double_t a)
ClassDef(FairGeoVector, 1)
void setY(const Double_t a)
FairGeoVector & operator=(const FairGeoVector &v)
friend std::istream & operator>>(std::istream &get, FairGeoVector &v)
Bool_t operator!=(const FairGeoVector &v) const
Double_t getValues(Int_t i)
void setX(const Double_t a)
FairGeoVector vectorProduct(const FairGeoVector &v) const
FairGeoVector(Double_t dx=0, Double_t dy=0, Double_t dz=0)
FairGeoVector(const FairGeoVector &v)
FairGeoVector & operator/=(const Double_t a)
void setXYZ(const Double_t xx, const Double_t yy, const Double_t zz)
void setVector(const Double_t *a)
void setZ(const Double_t a)
FairGeoVector operator-() const
GLboolean GLboolean GLboolean GLboolean a
GLdouble GLdouble GLdouble z