]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSCpvRecPoint.h
coding convention
[u/mrichter/AliRoot.git] / PHOS / AliPHOSCpvRecPoint.h
index e40925b7651f4139895edd88fa8f19ddf605c0cc..b1f75ce898ac62e2009f7b237a41dc09ffb1ce9a 100644 (file)
 //  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) ;
+  AliPHOSCpvRecPoint(const AliPHOSCpvRecPoint & rp) : AliPHOSEmcRecPoint(rp) {
+    Fatal("cpy ctor", "not implemented") ; 
   } 
  
   virtual ~AliPHOSCpvRecPoint() ;  
@@ -41,19 +41,16 @@ public:
   void   EvalLocalPosition(Float_t logWeight,TClonesArray * digits ) ;  
   void   EvalClusterLengths(TClonesArray * digits) ;
 
-  virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py) ; 
+  virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py) const 
 
-  void   GetClusterLengths(Int_t &lengX, Int_t &lengZ){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
+  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 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") ; 
+  void   Print() ; 
 
-  AliPHOSCpvRecPoint & operator = (const AliPHOSCpvRecPoint & rvalue)  {
-    // assignement operator requested by coding convention but not needed
-    assert(0==1) ;
-    return *this ; 
+  AliPHOSCpvRecPoint & operator = (const AliPHOSCpvRecPoint & /*rvalue*/)  {
+   Fatal("operator =", "not implemented") ; return *this ; 
   }
 
  protected: