]>
Commit | Line | Data |
---|---|---|
8230f242 | 1 | #ifndef ALITRDRECPOINT_H |
2 | #define ALITRDRECPOINT_H | |
f7336fa3 | 3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
7 | ||
8 | #include "AliRecPoint.h" | |
9 | ||
10 | class AliTRDrecPoint : public AliRecPoint { | |
11 | ||
12 | public: | |
13 | ||
14 | AliTRDrecPoint(); | |
8230f242 | 15 | virtual ~AliTRDrecPoint(); |
16 | ||
dd9a6ee3 | 17 | virtual void Print(Option_t* opt) {}; |
6f1e466d | 18 | virtual void AddDigit(Int_t digit); |
9d0b222b | 19 | virtual void AddDigit(AliDigitNew &digit) {}; |
6f1e466d | 20 | |
21 | virtual void SetEnergy(Float_t amp) { fAmp = amp; }; | |
22 | virtual void SetDetector(Int_t det) { fDetector = det; }; | |
23 | virtual void SetLocalPosition(TVector3 &pos); | |
24 | virtual void SetLocalRow(Float_t r) { fLocPos.SetX(r); }; | |
25 | virtual void SetLocalCol(Float_t c) { fLocPos.SetY(c); }; | |
26 | virtual void SetLocalTime(Float_t t) { fLocPos.SetZ(t); }; | |
27 | ||
28 | virtual Int_t GetDetector() { return fDetector; }; | |
29 | virtual Int_t GetDigit(Int_t i = 0) { if (i < fMulDigit) | |
30 | return fDigitsList[i]; | |
31 | else | |
32 | return -1;}; | |
33 | virtual Float_t GetLocalRow() { return fLocPos(0); }; | |
34 | virtual Float_t GetLocalCol() { return fLocPos(1); }; | |
35 | virtual Float_t GetLocalTime() { return fLocPos(2); }; | |
f7336fa3 | 36 | |
37 | protected: | |
38 | ||
39 | Int_t fDetector; // TRD detector number | |
40 | ||
41 | ClassDef(AliTRDrecPoint,1) // Reconstructed point for the TRD | |
42 | ||
43 | }; | |
44 | ||
45 | #endif |