/* 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
//-------------------------------------------------------------------------
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;}
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