/* History of cvs commits:
*
* $Log$
+ * Revision 1.20 2007/03/06 06:47:28 kharlov
+ * DP:Possibility to use actual vertex position added
+ *
+ * Revision 1.19 2006/08/28 10:01:56 kharlov
+ * Effective C++ warnings fixed (Timur Pocheptsov)
+ *
+ * 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
-//*-- Author: Yuri Kharlov
+//-- Author: Yuri Kharlov
// (after Dmitri Peressounko (RRC KI & SUBATECH))
// 30 October 2000
// --- ROOT system ---
// --- AliRoot header files ---
-//#include "AliPHOSDigit.h"
#include "AliPHOSEmcRecPoint.h"
-//#include "AliPHOSGeometry.h"
class AliPHOSCpvRecPoint : public AliPHOSEmcRecPoint {
AliPHOSCpvRecPoint() ;
AliPHOSCpvRecPoint(const char * opt) ;
- AliPHOSCpvRecPoint(const AliPHOSCpvRecPoint & rp) : AliPHOSEmcRecPoint(rp) {
- Fatal("cpy ctor", "not implemented") ;
- }
-
+
virtual ~AliPHOSCpvRecPoint() ;
Int_t Compare(const TObject * obj) const; // method for sorting
- void EvalAll(Float_t logWeight,TClonesArray * digits) ;
- void EvalLocalPosition(Float_t logWeight,TClonesArray * digits ) ;
+ virtual void EvalAll(TClonesArray * digits) ;
+ virtual void EvalAll(Float_t logWeight, TVector3 &vtx, TClonesArray * digits) ;
+ void EvalLocalPosition(Float_t logWeight, TVector3 &vtx, TClonesArray * digits, TVector3 &vInc) ;
void EvalClusterLengths(TClonesArray * digits) ;
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py) /*const*/ ;
Bool_t IsSortable() const { return kTRUE ; } // tells that this is a sortable object
void Print(const Option_t * = "") const ;
- AliPHOSCpvRecPoint & operator = (const AliPHOSCpvRecPoint & /*rvalue*/) {
- Fatal("operator =", "not implemented") ; return *this ;
- }
-
protected:
Bool_t AreNeighbours(AliPHOSDigit * digit1, AliPHOSDigit * digit2 ) const ;