46 fA =
new Double_t [
fNL];
54 Long_t i_this = (Long_t)
this;
57 const Double_t zero = 0.0;
62 fA =
new Double_t [
fNL];
70 Long_t i_this = (Long_t)
this;
73 const Double_t zero = 0.0;
79 fA =
new Double_t [
fNL];
87 Long_t i_this = (Long_t)
this;
90 const Double_t zero = 0.0;
97 fA =
new Double_t [
fNL];
105 Long_t i_this = (Long_t)
this;
108 const Double_t zero = 0.0;
115 fNL = n1*n2*n3*n4 + 1;
116 fA =
new Double_t [
fNL];
124 Long_t i_this = (Long_t)
this;
127 const Double_t zero = 0.0;
135 fNL = n1*n2*n3*n4*n5 + 1;
136 fA =
new Double_t [
fNL];
144 Long_t i_this = (Long_t)
this;
147 const Double_t zero = 0.0;
156 fNL = n1*n2*n3*n4*n5*n6 + 1;
157 fA =
new Double_t [
fNL];
173 if (
fA)
delete []
fA;
191 if ((i1>=
fNL - 1) || (i1<0)) {
193 Error(
"OneDim",
"Index outside bounds");
195 <<
"; fNL = " <<
fNL << std::endl;
203 if ((i>=
fNL - 1) || (i<0)) {
205 Error(
"OneDim",
"Index outside bounds");
206 std::cout <<
"i1 = " << i1 <<
", i2 = " << i2
207 <<
"; fN1 = " <<
fN1 <<
", fNL = " <<
fNL << std::endl;
214 i = i1 +
fN1*(i2 +
fN2*i3);
215 if ((i>=
fNL - 1) || (i<0)) {
217 Error(
"OneDim",
"Index outside bounds");
218 std::cout <<
"i1 = " << i1 <<
", i2 = " << i2 <<
", i3 = " << i3
219 <<
"; fN1 = " <<
fN1 <<
", fN2 = " <<
fN2 <<
", fNL = " <<
fNL << std::endl;
227 if ((i>=
fNL - 1) || (i<0)) {
229 Error(
"OneDim",
"Index outside bounds");
237 if ((i>=
fNL - 1) || (i<0)) {
239 Error(
"OneDim",
"Index outside bounds");
247 if ((i>=
fNL - 1) || (i<0)) {
249 Error(
"OneDim",
"Index outside bounds");
255 const Double_t zero = 0.0;
260 fA =
new Double_t [
fNL];
265 const Double_t zero = 0.0;
271 fA =
new Double_t [
fNL];
276 const Double_t zero = 0.0;
283 fA =
new Double_t [
fNL];
288 const Double_t zero = 0.0;
295 fNL = n1*n2*n3*n4 + 1;
296 fA =
new Double_t [
fNL];
301 const Double_t zero = 0.0;
309 fNL = n1*n2*n3*n4*n5 + 1;
310 fA =
new Double_t [
fNL];
315 const Double_t zero = 0.0;
324 fNL = n1*n2*n3*n4*n5*n6 + 1;
325 fA =
new Double_t [
fNL];
350 i =
OneDim(i1,i2,i3,i4,i5);
355 i =
OneDim(i1,i2,i3,i4,i5,i6);
360 return const_cast< TEcnaNArrayD *
>(
this)->
operator()(i1);
364 return const_cast< TEcnaNArrayD *
>(
this)->
operator()(i1,i2);
368 return const_cast< TEcnaNArrayD *
>(
this)->
operator()(i1,i2,i3);
372 return const_cast< TEcnaNArrayD *
>(
this)->
operator()(i1,i2,i3,i4);
376 return const_cast< TEcnaNArrayD *
>(
this)->
operator()(i1,i2,i3,i4,i5);
380 return const_cast< TEcnaNArrayD *
>(
this)->
operator()(i1,i2,i3,i4,i5,i6);
edm::ErrorSummaryEntry Error
const Double_t & operator()(Int_t i1) const
Bool_t RegisterPointer(const TString &, const Long_t &)
ClassImp(TEcnaNArrayD) TEcnaNArrayD
Int_t OneDim(Int_t) const