]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliCluster.h
START AlignObj added
[u/mrichter/AliRoot.git] / STEER / AliCluster.h
index c117cc7c52ad7554173ae532c360a5fef5e10e0c..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;}
 
@@ -34,7 +36,7 @@ public:
   //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() {;}
+  virtual void Use(Int_t = 0) {;}
 
 protected:
   Int_t     fTracks[3];//labels of overlapped tracks