]>
Commit | Line | Data |
---|---|---|
99d5402e | 1 | #ifndef TRDpixel_h |
2 | #define TRDpixel_h | |
3da30618 | 3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
99d5402e | 7 | |
8 | #include <TObject.h> | |
9 | ||
10 | ////////////////////////////////////////////////////// | |
11 | // Stores the information for one detector pixel // | |
12 | ////////////////////////////////////////////////////// | |
13 | ||
14 | const Int_t kTrackPixel = 3; | |
15 | ||
16 | class AliTRDpixel : public TObject { | |
17 | ||
18 | protected: | |
19 | Float_t fSignal; // Signal sum | |
20 | Int_t fTrack[kTrackPixel]; // Tracks contributing to this pixel | |
21 | ||
22 | public: | |
23 | AliTRDpixel(); | |
24 | virtual ~AliTRDpixel() {}; | |
25 | ||
26 | virtual void SetSignal(Float_t signal) { fSignal = signal; }; | |
27 | virtual void SetTrack(Int_t i, Int_t track) { fTrack[i] = track; }; | |
28 | ||
29 | virtual Float_t GetSignal() { return fSignal; }; | |
30 | virtual Int_t GetTrack(Int_t i) { return fTrack[i]; }; | |
31 | ||
32 | ClassDef(AliTRDpixel,1) | |
33 | ||
34 | }; | |
35 | ||
36 | #endif |