/* $Id$ */
+/* History of cvs commits:
+ *
+ * $Log$
+ * Revision 1.18 2005/05/28 14:19:04 schutz
+ * Compilation warnings fixed by T.P.
+ *
+ */
+
//_________________________________________________________________________
// RecPoint implementation for PHOS-CPV
// An CpvRecPoint is a cluster of digits
// 30 October 2000
// --- ROOT system ---
-#include "TObject.h"
-#include "TArrayI.h"
+//#include "TObject.h"
+//#include "TArrayI.h"
// --- Standard library ---
// --- AliRoot header files ---
-#include "AliPHOSDigit.h"
+//#include "AliPHOSDigit.h"
#include "AliPHOSEmcRecPoint.h"
+//#include "AliPHOSGeometry.h"
class AliPHOSCpvRecPoint : public AliPHOSEmcRecPoint {
public:
AliPHOSCpvRecPoint() ;
- AliPHOSCpvRecPoint(const AliPHOSCpvRecPoint & rp) {
- // cpy ctor requested by Coding Convention
- // but not yet needed
- assert(0==1) ;
- }
-
+ AliPHOSCpvRecPoint(const char * opt) ;
+
virtual ~AliPHOSCpvRecPoint() ;
Int_t Compare(const TObject * obj) const; // method for sorting
void EvalLocalPosition(Float_t logWeight,TClonesArray * digits ) ;
void EvalClusterLengths(TClonesArray * digits) ;
- virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py) const ;
+ virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py) /*const*/ ;
void GetClusterLengths(Int_t &lengX, Int_t &lengZ) const {lengX = fLengX ;lengZ = fLengZ ;}
- Bool_t IsEmc(void) const {return kFALSE ; } // tells that this is not a EMC
- Bool_t IsCPV(void) const {return (fPHOSMod <= ((AliPHOSGeometry*) fGeom)->GetNCPVModules()) ; }
- // true if the recpoint is in CPV
+ Bool_t IsEmc(void) const {return kFALSE ; } // tells that this is not a EMC
+ Bool_t IsCPV(void) const {return kTRUE ; } // true if the recpoint is in CPV
Bool_t IsSortable() const { return kTRUE ; } // tells that this is a sortable object
- void Print(Option_t * opt = "void") ;
-
- AliPHOSCpvRecPoint & operator = (const AliPHOSCpvRecPoint & rvalue) {
- // assignement operator requested by coding convention but not needed
- assert(0==1) ;
- return *this ;
- }
+ void Print(const Option_t * = "") const ;
protected: