46            Error(
"TFoamVect", 
"Constructor failed to allocate\n");
 
   48      for (i=0; i<
n; i++) *(
fCoords+i)=0.0;
 
   50   if(
gDebug>=3) 
Info(
"TFoamVect", 
"USER CONSTRUCTOR TFoamVect(const Int_t)\n ");
 
 
   63         Error(
"TFoamVect", 
"Constructor failed to allocate fCoords\n");
 
 
   77   if(
gDebug>=3) 
Info(
"TFoamVect",
" DESTRUCTOR TFoamVect~ \n");
 
 
   88   if (&Vect == 
this) 
return *
this;
 
   90       Error(
"TFoamVect",
"operator= : invalid  dimensions : %d and %d \n ",
fDim,Vect.
fDim);
 
   98   if(
gDebug>=3)  
Info(
"TFoamVect", 
"SUBSITUTE operator =\n ");
 
 
  111      Error( 
"TFoamVect",
"operator[], out of range \n");
 
 
  132      Error( 
"TFoamVect",
"operator+, different dimensions= %d %d \n",
fDim,Shift.
fDim);
 
 
  145      Error( 
"TFoamVect",
"operator+, different dimensions= %d %d \n",
fDim,Shift.
fDim);
 
 
  182   for(i=0; i<
fDim; i++)
 
 
  206   Int_t pr = std::cout.precision(7);
 
  208   for(i=0; i<
fDim-1; i++) std::cout  << std::setw(12) << *(
fCoords+i) << 
",";
 
  211   std::cout.precision(
pr);
 
 
const char Option_t
Option string (const char)
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
Int_t gDebug
Global variable setting the debug level. Set to 0 to disable, increase it in steps of 1 to increase t...
 
Auxiliary class TFoamVect of n-dimensional vector, with dynamic allocation used for the cartesian geo...
 
TFoamVect & operator=(const TFoamVect &)
substitution operator
 
TFoamVect operator+(const TFoamVect &)
addition operator +; sum of 2 vectors: c=a+b, a=a+b, NEVER USE IT, VERY SLOW!!!
 
TFoamVect operator-(const TFoamVect &)
subtraction operator -; difference of 2 vectors; c=a-b, a=a-b, NEVER USE IT, VERY SLOW!...
 
TFoamVect & operator*=(const Double_t &)
unary multiplication operator *=
 
TFoamVect & operator+=(const TFoamVect &)
unary addition operator +=; adding vector c*=x,
 
TFoamVect & operator-=(const TFoamVect &)
unary subtraction operator -=
 
Double_t * fCoords
[fDim] Coordinates
 
TFoamVect()
Default constructor for streamer.
 
Double_t & operator[](Int_t)
[] is for access to elements as in ordinary matrix like a[j]=b[j] (Perhaps against some strict rules ...
 
void Print(Option_t *option) const override
Printout of all vector components on "std::cout".
 
~TFoamVect() override
Destructor.
 
Mother of all ROOT objects.
 
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
 
virtual void Info(const char *method, const char *msgfmt,...) const
Issue info message.