]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliCluster.h
START AlignObj added
[u/mrichter/AliRoot.git] / STEER / AliCluster.h
index dcb94a07485021407040cd72b97d20c22ad8e6c9..d6ef7bee73c2d5853ed372c159fa93e372e0625e 100644 (file)
@@ -3,9 +3,11 @@
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
+/* $Id$ */
+
 //-------------------------------------------------------------------------
 //                          Class AliCluster
-//
+//                Generic class for clusters
 //       Origin: Iouri Belikov, CERN, Jouri.Belikov@cern.ch 
 //-------------------------------------------------------------------------
 
@@ -18,8 +20,8 @@ public:
   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;}
-  void SetZ(Float_t z)              {fZ=z;}
+  virtual void SetY(Float_t y)      {fY=y;}
+  virtual void SetZ(Float_t z)      {fZ=z;}
   void SetSigmaY2(Float_t sy2)      {fSigmaY2=sy2;}
   void SetSigmaZ2(Float_t sz2)      {fSigmaZ2=sz2;}
 
@@ -29,7 +31,12 @@ public:
   Float_t GetSigmaY2()    const {return fSigmaY2;}
   Float_t GetSigmaZ2()    const {return fSigmaZ2;}
 
-  virtual void Use() = 0;
+  //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(Int_t = 0) {;}
 
 protected:
   Int_t     fTracks[3];//labels of overlapped tracks