/* $Id$ */
+/* History of cvs commits:
+ *
+ * $Log$
+ */
+
//_________________________________________________________________________
// RecPoint implementation for PHOS-EMC
// An EmcRecPoint is a cluster of digits
// --- ROOT system ---
-//#include "TObject.h"
-#include "TArrayI.h"
-
// --- Standard library ---
// --- AliRoot header files ---
-#include "AliPHOSDigit.h"
+//#include "AliPHOSDigit.h"
#include "AliPHOSRecPoint.h"
class AliPHOSEmcRecPoint : public AliPHOSRecPoint {
virtual ~AliPHOSEmcRecPoint() ;
+ //This virtual function has signature different from AliPHOSRecPoint::AddDigit
+ //it hides, not overrides. using - declaration should fix the problem, at least for
+ //g++
+ using AliPHOSRecPoint::AddDigit;
virtual void AddDigit(AliPHOSDigit & digit, Float_t Energy) ; // add a digit to the digits list
Int_t Compare(const TObject * obj) const; // method for sorting
virtual void EvalAll(Float_t logWeight,TClonesArray * digits) ;
- virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py) const;
+ //in base class this functions is non-const
+ virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py) /*const*/;
Float_t GetCoreEnergy()const {return fCoreEnergy ;}
virtual Float_t GetDispersion()const {return fDispersion ;}
Float_t GetMaximalEnergy(void) const ; // get the highest energy in the cluster
Int_t GetMaximumMultiplicity() const {return fMaxDigit ;} // gets the maximum number of digits allowed
Int_t GetMultiplicity(void) const { return fMulDigit ; } // gets the number of digits making this recpoint
- Int_t GetMultiplicityAtLevel(const Float_t level) const ; // computes multiplicity of digits with
+ Int_t GetMultiplicityAtLevel(Float_t level) const ; // computes multiplicity of digits with
// energy above relative level
Short_t GetNExMax(void) const {return fNExMax ;} // Number of maxima found in cluster in unfolding:
// 0: was no unfolging