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