47 fA =
new Double_t [fNL];
48 for (Int_t
i=0;
i<fNL;
i++) fA[
i] = orig.
fA[
i];
55 Long_t i_this = (Long_t)
this;
58 const Double_t zero = 0.0;
63 fA =
new Double_t [fNL];
64 for (Int_t
i=0;
i<fNL;
i++) fA[
i] = zero;
71 Long_t i_this = (Long_t)
this;
74 const Double_t zero = 0.0;
80 fA =
new Double_t [fNL];
81 for (Int_t
i=0;
i<fNL;
i++) fA[
i] = zero;
88 Long_t i_this = (Long_t)
this;
91 const Double_t zero = 0.0;
98 fA =
new Double_t [fNL];
99 for (Int_t
i=0;
i<fNL;
i++) fA[
i] = zero;
106 Long_t i_this = (Long_t)
this;
109 const Double_t zero = 0.0;
116 fNL = n1*n2*n3*n4 + 1;
117 fA =
new Double_t [fNL];
118 for (Int_t
i=0;
i<fNL;
i++) fA[
i] = zero;
125 Long_t i_this = (Long_t)
this;
128 const Double_t zero = 0.0;
136 fNL = n1*n2*n3*n4*n5 + 1;
137 fA =
new Double_t [fNL];
138 for (Int_t
i=0;
i<fNL;
i++) fA[
i] = zero;
145 Long_t i_this = (Long_t)
this;
148 const Double_t zero = 0.0;
157 fNL = n1*n2*n3*n4*n5*n6 + 1;
158 fA =
new Double_t [fNL];
159 for (Int_t
i=0;
i<fNL;
i++) fA[
i] = zero;
174 if (fA)
delete [] fA;
192 if ((i1>=fNL - 1) || (i1<0)) {
194 Error(
"OneDim",
"Index outside bounds");
195 cout <<
"i1 = " << i1
196 <<
"; fNL = " << fNL << endl;
204 if ((i>=fNL - 1) || (i<0)) {
206 Error(
"OneDim",
"Index outside bounds");
207 cout <<
"i1 = " << i1 <<
", i2 = " << i2
208 <<
"; fN1 = " << fN1 <<
", fNL = " << fNL << endl;
215 i = i1 + fN1*(i2 + fN2*i3);
216 if ((i>=fNL - 1) || (i<0)) {
218 Error(
"OneDim",
"Index outside bounds");
219 cout <<
"i1 = " << i1 <<
", i2 = " << i2 <<
", i3 = " << i3
220 <<
"; fN1 = " << fN1 <<
", fN2 = " << fN2 <<
", fNL = " << fNL << endl;
227 i = i1 + fN1*(i2 + fN2*(i3 + fN3*i4));
228 if ((i>=fNL - 1) || (i<0)) {
230 Error(
"OneDim",
"Index outside bounds");
237 i = i1 + fN1*(i2 + fN2*(i3 + fN3*(i4 + fN4*i5)));
238 if ((i>=fNL - 1) || (i<0)) {
240 Error(
"OneDim",
"Index outside bounds");
247 i = i1 + fN1*(i2 + fN2*(i3 + fN3*(i4 + fN4*(i5 + fN5*i6))));
248 if ((i>=fNL - 1) || (i<0)) {
250 Error(
"OneDim",
"Index outside bounds");
256 const Double_t zero = 0.0;
261 fA =
new Double_t [fNL];
262 for (Int_t
i=0;
i<fNL;
i++) fA[
i] = zero;
266 const Double_t zero = 0.0;
272 fA =
new Double_t [fNL];
273 for (Int_t
i=0;
i<fNL;
i++) fA[
i] = zero;
277 const Double_t zero = 0.0;
284 fA =
new Double_t [fNL];
285 for (Int_t
i=0;
i<fNL;
i++) fA[
i] = zero;
289 const Double_t zero = 0.0;
296 fNL = n1*n2*n3*n4 + 1;
297 fA =
new Double_t [fNL];
298 for (Int_t
i=0;
i<fNL;
i++) fA[
i] = zero;
302 const Double_t zero = 0.0;
310 fNL = n1*n2*n3*n4*n5 + 1;
311 fA =
new Double_t [fNL];
312 for (Int_t
i=0;
i<fNL;
i++) fA[
i] = zero;
316 const Double_t zero = 0.0;
325 fNL = n1*n2*n3*n4*n5*n6 + 1;
326 fA =
new Double_t [fNL];
327 for (Int_t
i=0;
i<fNL;
i++) fA[
i] = zero;
341 i = OneDim(i1,i2,i3);
346 i = OneDim(i1,i2,i3,i4);
351 i = OneDim(i1,i2,i3,i4,i5);
356 i = OneDim(i1,i2,i3,i4,i5,i6);
361 return (Double_t&)(this->operator()(i1));
365 return (Double_t&)(this->operator()(i1,i2));
369 return (Double_t&)(this->operator()(i1,i2,i3));
373 return (Double_t&)(this->operator()(i1,i2,i3,i4));
377 return (Double_t&)(this->operator()(i1,i2,i3,i4,i5));
381 return (Double_t&)(this->operator()(i1,i2,i3,i4,i5,i6));
const Double_t & operator()(Int_t i1) const
Bool_t RegisterPointer(const TString &, const Long_t &)
Int_t OneDim(Int_t) const