virtual ~AliPHOSRecPoint();
- virtual void AddDigit(AliDigitNew &){
- Fatal("AddDigit", "use AddDigit(AliPHOSDigit & digit, Float_t Energy)") ;
- }
- virtual void AddDigit(AliPHOSDigit & digit, Float_t Energy) = 0 ;
+ virtual void Clear(const Option_t* /*option*/ ="") { delete[] fDigitsList; fDigitsList=0; delete[] fTracksList; fTracksList=0; }
+
+// virtual void AddDigit(AliDigitNew &){
+// Fatal("AddDigit", "use AddDigit(AliPHOSDigit & digit, Float_t Energy)") ;
+// }
+ virtual void AddDigit(AliPHOSDigit & digit, Float_t Energy, Float_t time=0) = 0 ;
virtual Int_t Compare(const TObject * obj) const = 0 ;
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py);
virtual void Draw(Option_t * option="") ;
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py) ;
- void EvalAll(TClonesArray * digits) ;
+ virtual void EvalAll(TClonesArray * digits) ;
void EvalLocal2TrackingCSTransform();
virtual void EvalPHOSMod(AliPHOSDigit * digit) ;
- virtual void EvalPrimaries(TClonesArray * digits) ;
virtual int * GetDigitsList(void) const { return fDigitsList ; }
virtual Float_t GetEnergy() const {return fAmp; }
virtual void GetLocalPosition(TVector3 & pos) const ;
Float_t fAmp ; // summed amplitude of digits
Int_t fIndexInList ;// the index of this RecPoint in the list stored in TreeR (to be set by analysis)
TVector3 fLocPos ; // local position in the sub-detector coordinate
- TMatrixF* fLocPosM ; // covariance matrix ;
- ClassDef(AliPHOSRecPoint,2) // RecPoint for PHOS (Base Class)
+ ClassDef(AliPHOSRecPoint,3) // RecPoint for PHOS (Base Class)
};