]>
Commit | Line | Data |
---|---|---|
dd9a6ee3 | 1 | #ifndef ALITRDPIXEL_H |
2 | #define ALITRDPIXEL_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 | ||
99d5402e | 18 | public: |
8230f242 | 19 | |
99d5402e | 20 | AliTRDpixel(); |
8230f242 | 21 | virtual ~AliTRDpixel(); |
22 | ||
dd9a6ee3 | 23 | virtual void Copy(TObject &p); |
99d5402e | 24 | |
25 | virtual void SetSignal(Float_t signal) { fSignal = signal; }; | |
26 | virtual void SetTrack(Int_t i, Int_t track) { fTrack[i] = track; }; | |
27 | ||
28 | virtual Float_t GetSignal() { return fSignal; }; | |
29 | virtual Int_t GetTrack(Int_t i) { return fTrack[i]; }; | |
30 | ||
8230f242 | 31 | protected: |
32 | ||
33 | Float_t fSignal; // Signal sum | |
34 | Int_t fTrack[kTrackPixel]; // Tracks contributing to this pixel | |
35 | ||
5c7f4665 | 36 | ClassDef(AliTRDpixel,1) // Information for one detector pixel |
99d5402e | 37 | |
38 | }; | |
39 | ||
40 | #endif |