39 fA =
new Double_t [
fNL];
47 const Double_t
zero = 0.0;
52 fA =
new Double_t [
fNL];
60 const Double_t
zero = 0.0;
66 fA =
new Double_t [
fNL];
74 const Double_t
zero = 0.0;
81 fA =
new Double_t [
fNL];
89 const Double_t
zero = 0.0;
96 fNL = n1*n2*n3*n4 + 1;
97 fA =
new Double_t [
fNL];
105 const Double_t
zero = 0.0;
113 fNL = n1*n2*n3*n4*n5 + 1;
114 fA =
new Double_t [
fNL];
122 const Double_t
zero = 0.0;
131 fNL = n1*n2*n3*n4*n5*n6 + 1;
132 fA =
new Double_t [
fNL];
144 if (
fA)
delete []
fA;
162 if ((i1>=
fNL - 1) || (i1<0)) {
164 Error(
"OneDim",
"Index outside bounds");
165 cout <<
"i1 = " << i1
166 <<
"; fNL = " <<
fNL << endl;
174 if ((i>=
fNL - 1) || (i<0)) {
176 Error(
"OneDim",
"Index outside bounds");
177 cout <<
"i1 = " << i1 <<
", i2 = " << i2
178 <<
"; fN1 = " <<
fN1 <<
", fNL = " <<
fNL << endl;
185 i = i1 +
fN1*(i2 +
fN2*i3);
186 if ((i>=
fNL - 1) || (i<0)) {
188 Error(
"OneDim",
"Index outside bounds");
189 cout <<
"i1 = " << i1 <<
", i2 = " << i2 <<
", i3 = " << i3
190 <<
"; fN1 = " <<
fN1 <<
", fN2 = " <<
fN2 <<
", fNL = " <<
fNL << endl;
198 if ((i>=
fNL - 1) || (i<0)) {
200 Error(
"OneDim",
"Index outside bounds");
208 if ((i>=
fNL - 1) || (i<0)) {
210 Error(
"OneDim",
"Index outside bounds");
218 if ((i>=
fNL - 1) || (i<0)) {
220 Error(
"OneDim",
"Index outside bounds");
226 const Double_t
zero = 0.0;
231 fA =
new Double_t [
fNL];
236 const Double_t
zero = 0.0;
242 fA =
new Double_t [
fNL];
247 const Double_t
zero = 0.0;
254 fA =
new Double_t [
fNL];
259 const Double_t
zero = 0.0;
266 fNL = n1*n2*n3*n4 + 1;
267 fA =
new Double_t [
fNL];
272 const Double_t
zero = 0.0;
280 fNL = n1*n2*n3*n4*n5 + 1;
281 fA =
new Double_t [
fNL];
286 const Double_t
zero = 0.0;
295 fNL = n1*n2*n3*n4*n5*n6 + 1;
296 fA =
new Double_t [
fNL];
321 i =
OneDim(i1,i2,i3,i4,i5);
326 i =
OneDim(i1,i2,i3,i4,i5,i6);
335 return (Double_t&)((*(
const TEcnaNArrayD *)
this)(i1,i2));
339 return (Double_t&)((*(
const TEcnaNArrayD *)
this)(i1,i2,i3));
343 return (Double_t&)((*(
const TEcnaNArrayD *)
this)(i1,i2,i3,i4));
347 return (Double_t&)((*(
const TEcnaNArrayD *)
this)(i1,i2,i3,i4,i5));
351 return (Double_t&)((*(
const TEcnaNArrayD *)
this)(i1,i2,i3,i4,i5,i6));
const Double_t & operator()(Int_t i1) const
Int_t OneDim(Int_t) const