X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;ds=sidebyside;f=STEER%2FAliRecPoint.h;h=ae5702e561ff2a47ad3e69d93f32a5a01054fa30;hb=415bda4f10260430a5cb953b81ab50f2f608695e;hp=daf0a5df0fc8f7a27297e7d1af95c089d49802d0;hpb=94de381804dbc3c6cc154b06fc58284dc8266705;p=u%2Fmrichter%2FAliRoot.git diff --git a/STEER/AliRecPoint.h b/STEER/AliRecPoint.h index daf0a5df0fc..ae5702e561f 100644 --- a/STEER/AliRecPoint.h +++ b/STEER/AliRecPoint.h @@ -15,8 +15,6 @@ // --- Standard library --- -#include "assert.h" -#include "iostream.h" // --- ROOT system --- @@ -34,13 +32,13 @@ class AliRecPoint : public TObject { public: AliRecPoint() ; // ctor + AliRecPoint(const char * opt) ; // ctor AliRecPoint(const AliRecPoint &recp); // copy ctor virtual ~AliRecPoint() ; // dtor virtual void AddDigit(AliDigitNew & digit) ; // add a digit to the digit's indexes list // virtual void AddTrack(AliTrack & track) ; // add a track to the tracks list - void Copy(AliRecPoint &recp) const; - virtual void GetCovarianceMatrix(TMatrix & mat) ; + virtual void GetCovarianceMatrix(TMatrix & mat) const; virtual AliGeometry * GetGeom() const { return fGeom; } virtual void GetGlobalPosition(TVector3 & gpos, TMatrix & gmat) const ; // return global position in ALICE virtual int * GetDigitsList(void) const { return fDigitsList ; } @@ -52,12 +50,14 @@ public: virtual Int_t GetMaximumDigitMultiplicity() const { return fMaxDigit; } virtual Int_t GetMaximumTrackMultiplicity() const { return fMaxTrack; } virtual Int_t GetTracksMultiplicity(void) const { return fMulTrack ; } - virtual void Print(Option_t * opt = "void") = 0 ; - AliRecPoint & operator= (const AliRecPoint &recp); + AliRecPoint & operator= (const AliRecPoint &recp) + {recp.Copy(*this); return (*this);} + void SetIndexInList(Int_t val) { fIndexInList = val ; } protected: + void Copy(TObject &recp) const; Float_t fAmp ; // summed amplitude of digits AliGeometry * fGeom ; //! pointer to the geometry class