d15a28e7 |
1 | #ifndef ALIPHOSRECPOINT_H |
2 | #define ALIPHOSRECPOINT_H |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
4 | * See cxx source for full Copyright notice */ |
5 | |
6 | //////////////////////////////////////////////// |
7 | // Base class for Reconstructed Points // |
8 | // in PHOS and PPSD // |
9 | // // |
10 | // Author Gines MARTINEZ SUBATECH // |
11 | // // |
12 | // // |
13 | //////////////////////////////////////////////// |
14 | |
15 | // --- ROOT system --- |
16 | |
17 | // --- Standard library --- |
18 | |
19 | #include "assert.h" |
20 | |
21 | // --- AliRoot header files --- |
22 | |
23 | #include "AliRecPoint.h" |
24 | |
25 | |
26 | class AliPHOSRecPoint : public AliRecPoint { |
27 | |
28 | public: |
29 | |
30 | AliPHOSRecPoint() ; // ctor |
31 | virtual ~AliPHOSRecPoint() ; // dtor |
32 | virtual void AddDigit(AliDigitNew & digit, Float_t Energy) = 0 ; |
33 | virtual Int_t GetPHOSMod(void) ; |
34 | virtual Bool_t IsEmc(void){return kTRUE ;} |
35 | virtual void Print(Option_t * opt = "void") {} |
36 | |
37 | virtual Int_t Compare(TObject * obj) { assert(0==1) ; } |
38 | virtual Bool_t IsSortable() const { return kTRUE ; } |
39 | |
40 | protected: |
41 | |
42 | Int_t fPHOSMod; |
43 | |
44 | public: |
45 | |
46 | ClassDef(AliPHOSRecPoint,1) |
47 | |
48 | }; |
49 | |
50 | #endif // AliPHOSRECPOINT_H |