39 fPos =
new TArrayD(1);
40 fRes =
new TArrayD(1);
49 fPos =
new TArrayD(n);
50 fRes =
new TArrayD(n);
58 this->fPos =
new TArrayD(this->fDim,(p.fPos)->GetArray());
59 this->fRes =
new TArrayD(this->fDim,(p.fRes)->GetArray());
71 if (n <= 0) fDim = 1;
else fDim = n;
79 Double_t *tab =
new Double_t[3]; tab[0] = x; tab[1] = y; tab[2] = z;
86 fPos->Set(fDim,array);
91 Double_t *tab =
new Double_t[3]; tab[0] = x; tab[1] = y; tab[2] = z;
98 fRes->Set(fDim,array);
117 return fPos->GetArray();
127 return fRes->GetArray();
void SetResolution(const Double_t x, const Double_t y=0.0, const Double_t z=0.0)
const Double_t * GetResolution()
const Double_t * GetPosition()
void SetPosition(const Double_t x, const Double_t y=0.0, const Double_t z=0.0)
header file for the calibration facility
void Set(Int_t n)
Set the dimension. A new array for position (resolution) is created, the old contents copied to new a...
Description of the class.
void SetIntensity(const Double_t val)