]>
Commit | Line | Data |
---|---|---|
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$ | |
2163a649 | 11 | * Revision 1.20 2007/03/06 06:47:28 kharlov |
12 | * DP:Possibility to use actual vertex position added | |
13 | * | |
91daaf24 | 14 | * Revision 1.19 2006/08/28 10:01:56 kharlov |
15 | * Effective C++ warnings fixed (Timur Pocheptsov) | |
16 | * | |
3663622c | 17 | * Revision 1.18 2005/05/28 14:19:04 schutz |
18 | * Compilation warnings fixed by T.P. | |
19 | * | |
702ab87e | 20 | */ |
21 | ||
458282ff | 22 | //_________________________________________________________________________ |
23 | // RecPoint implementation for PHOS-CPV | |
24 | // An CpvRecPoint is a cluster of digits | |
2163a649 | 25 | //-- Author: Yuri Kharlov |
a3dfe79c | 26 | // (after Dmitri Peressounko (RRC KI & SUBATECH)) |
27 | // 30 October 2000 | |
458282ff | 28 | // --- ROOT system --- |
29 | ||
e957fea8 | 30 | //#include "TObject.h" |
31 | //#include "TArrayI.h" | |
458282ff | 32 | |
33 | // --- Standard library --- | |
34 | ||
35 | // --- AliRoot header files --- | |
36 | ||
b5241d61 | 37 | #include "AliPHOSEmcRecPoint.h" |
458282ff | 38 | |
b5241d61 | 39 | class AliPHOSCpvRecPoint : public AliPHOSEmcRecPoint { |
458282ff | 40 | |
41 | public: | |
42 | ||
b5241d61 | 43 | AliPHOSCpvRecPoint() ; |
73a68ccb | 44 | AliPHOSCpvRecPoint(const char * opt) ; |
3663622c | 45 | |
458282ff | 46 | virtual ~AliPHOSCpvRecPoint() ; |
47 | ||
b5241d61 | 48 | Int_t Compare(const TObject * obj) const; // method for sorting |
e347da7b | 49 | virtual void EvalAll(TClonesArray * digits) ; |
50 | virtual void EvalAll(Float_t logWeight, TVector3 &vtx, TClonesArray * digits) ; | |
2163a649 | 51 | void EvalLocalPosition(Float_t logWeight, TVector3 &vtx, TClonesArray * digits, TVector3 &vInc) ; |
b5241d61 | 52 | void EvalClusterLengths(TClonesArray * digits) ; |
53 | ||
702ab87e | 54 | virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py) /*const*/ ; |
b5241d61 | 55 | |
baef0810 | 56 | void GetClusterLengths(Int_t &lengX, Int_t &lengZ) const {lengX = fLengX ;lengZ = fLengZ ;} |
9688c1dd | 57 | Bool_t IsEmc(void) const {return kFALSE ; } // tells that this is not a EMC |
58 | Bool_t IsCPV(void) const {return kTRUE ; } // true if the recpoint is in CPV | |
b5241d61 | 59 | Bool_t IsSortable() const { return kTRUE ; } // tells that this is a sortable object |
702ab87e | 60 | void Print(const Option_t * = "") const ; |
458282ff | 61 | |
b5241d61 | 62 | protected: |
458282ff | 63 | |
ad8cfaf4 | 64 | Bool_t AreNeighbours(AliPHOSDigit * digit1, AliPHOSDigit * digit2 ) const ; |
458282ff | 65 | |
458282ff | 66 | Int_t fLengX ; // cluster length along x |
67 | Int_t fLengZ ; // cluster length along z | |
68 | ||
69 | ClassDef(AliPHOSCpvRecPoint,1) // CPV RecPoint (cluster) | |
70 | ||
71 | }; | |
72 | ||
73 | #endif // AliPHOSCPVRECPOINT_H |