Warning, file /include/root/TFoamVect.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004 #ifndef ROOT_TFoamVect
0005 #define ROOT_TFoamVect
0006
0007 #include "TObject.h"
0008
0009
0010 class TFoamVect : public TObject {
0011
0012 private:
0013 Int_t fDim;
0014 Double_t *fCoords;
0015 public:
0016 TFoamVect();
0017 TFoamVect(Int_t);
0018 TFoamVect(const TFoamVect &);
0019 ~TFoamVect() override;
0020
0021 TFoamVect& operator =(const TFoamVect&);
0022 Double_t &operator[](Int_t);
0023 TFoamVect& operator =(Double_t []);
0024 TFoamVect& operator =(Double_t);
0025
0026 TFoamVect& operator+=(const TFoamVect&);
0027 TFoamVect& operator-=(const TFoamVect&);
0028 TFoamVect& operator*=(const Double_t&);
0029 TFoamVect operator+( const TFoamVect&);
0030 TFoamVect operator-( const TFoamVect&);
0031 void Print(Option_t *option) const override;
0032 Int_t GetDim() const { return fDim; }
0033 Double_t GetCoord(Int_t i) const {return fCoords[i];};
0034
0035 ClassDefOverride(TFoamVect,1)
0036 };
0037
0038 #endif
0039