Update TRD code from C.Blume
[u/mrichter/AliRoot.git] / TRD / AliTRDpixel.h
CommitLineData
99d5402e 1#ifndef TRDpixel_h
2#define TRDpixel_h
3
4#include <TObject.h>
5
6//////////////////////////////////////////////////////
7// Stores the information for one detector pixel //
8//////////////////////////////////////////////////////
9
10const Int_t kTrackPixel = 3;
11
12class AliTRDpixel : public TObject {
13
14protected:
15 Float_t fSignal; // Signal sum
16 Int_t fTrack[kTrackPixel]; // Tracks contributing to this pixel
17
18public:
19 AliTRDpixel();
20 virtual ~AliTRDpixel() {};
21
22 virtual void SetSignal(Float_t signal) { fSignal = signal; };
23 virtual void SetTrack(Int_t i, Int_t track) { fTrack[i] = track; };
24
25 virtual Float_t GetSignal() { return fSignal; };
26 virtual Int_t GetTrack(Int_t i) { return fTrack[i]; };
27
28 ClassDef(AliTRDpixel,1)
29
30};
31
32#endif