]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSCpvRecPoint.h
EMC bad channels map class added.
[u/mrichter/AliRoot.git] / PHOS / AliPHOSCpvRecPoint.h
CommitLineData
458282ff 1#ifndef ALIPHOSCPVRECPOINT_H
2#define ALIPHOSCPVRECPOINT_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
702ab87e 8/* History of cvs commits:
9 *
10 * $Log$
91daaf24 11 * Revision 1.19 2006/08/28 10:01:56 kharlov
12 * Effective C++ warnings fixed (Timur Pocheptsov)
13 *
3663622c 14 * Revision 1.18 2005/05/28 14:19:04 schutz
15 * Compilation warnings fixed by T.P.
16 *
702ab87e 17 */
18
458282ff 19//_________________________________________________________________________
20// RecPoint implementation for PHOS-CPV
21// An CpvRecPoint is a cluster of digits
a3dfe79c 22//*-- Author: Yuri Kharlov
23// (after Dmitri Peressounko (RRC KI & SUBATECH))
24// 30 October 2000
458282ff 25// --- ROOT system ---
26
e957fea8 27//#include "TObject.h"
28//#include "TArrayI.h"
458282ff 29
30// --- Standard library ---
31
32// --- AliRoot header files ---
33
e957fea8 34//#include "AliPHOSDigit.h"
b5241d61 35#include "AliPHOSEmcRecPoint.h"
e957fea8 36//#include "AliPHOSGeometry.h"
458282ff 37
b5241d61 38class AliPHOSCpvRecPoint : public AliPHOSEmcRecPoint {
458282ff 39
40public:
41
b5241d61 42 AliPHOSCpvRecPoint() ;
73a68ccb 43 AliPHOSCpvRecPoint(const char * opt) ;
3663622c 44
458282ff 45 virtual ~AliPHOSCpvRecPoint() ;
46
b5241d61 47 Int_t Compare(const TObject * obj) const; // method for sorting
91daaf24 48 void EvalAll(Float_t logWeight, TClonesArray * digits) ;
49 void EvalAll(Float_t logWeight, TVector3 &vtx, TClonesArray * digits) ;
50 void EvalLocalPosition(Float_t logWeight, TVector3 &vtx, TClonesArray * digits ) ;
b5241d61 51 void EvalClusterLengths(TClonesArray * digits) ;
52
702ab87e 53 virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py) /*const*/ ;
b5241d61 54
baef0810 55 void GetClusterLengths(Int_t &lengX, Int_t &lengZ) const {lengX = fLengX ;lengZ = fLengZ ;}
9688c1dd 56 Bool_t IsEmc(void) const {return kFALSE ; } // tells that this is not a EMC
57 Bool_t IsCPV(void) const {return kTRUE ; } // true if the recpoint is in CPV
b5241d61 58 Bool_t IsSortable() const { return kTRUE ; } // tells that this is a sortable object
702ab87e 59 void Print(const Option_t * = "") const ;
458282ff 60
b5241d61 61 protected:
458282ff 62
ad8cfaf4 63 Bool_t AreNeighbours(AliPHOSDigit * digit1, AliPHOSDigit * digit2 ) const ;
458282ff 64
458282ff 65 Int_t fLengX ; // cluster length along x
66 Int_t fLengZ ; // cluster length along z
67
68 ClassDef(AliPHOSCpvRecPoint,1) // CPV RecPoint (cluster)
69
70};
71
72#endif // AliPHOSCPVRECPOINT_H