]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliCluster.h
polish
[u/mrichter/AliRoot.git] / STEER / AliCluster.h
index c4fc46e3bb3cc043fd455ccf99895cdf8a66793d..54cb37c1517ae9f27da87f30af451f1d7d1d375d 100644 (file)
@@ -3,6 +3,8 @@
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
+/* $Id$ */
+
 //-------------------------------------------------------------------------
 //                          Class AliCluster
 //
@@ -15,6 +17,7 @@
 class AliCluster : public TObject {
 public:
   AliCluster();
+  virtual ~AliCluster() {;}
   AliCluster(Int_t *lab, Float_t *hit);
   void SetLabel(Int_t lab, Int_t i) {fTracks[i]=lab;}
   void SetY(Float_t y)              {fY=y;}
@@ -28,6 +31,13 @@ public:
   Float_t GetSigmaY2()    const {return fSigmaY2;}
   Float_t GetSigmaZ2()    const {return fSigmaZ2;}
 
+  //PH  virtual void Use() = 0;
+  //PH The pure virtual function has been temporarily replaced by 
+  //PH virtual function with empty body. This correction somehow helps
+  //PH to write/read TClonesArray with AliITSclusterV2 objects, but obviously
+  //PH hides some more tricky problems (to be investigated)
+  virtual void Use() {;}
+
 protected:
   Int_t     fTracks[3];//labels of overlapped tracks
   Float_t   fY ;       //Y of cluster