reveng tag added
[u/mrichter/AliRoot.git] / TRD / AliTRDpixel.h
CommitLineData
8230f242 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
14const Int_t kTrackPixel = 3;
15
16class AliTRDpixel : public TObject {
17
99d5402e 18public:
8230f242 19
99d5402e 20 AliTRDpixel();
8230f242 21 virtual ~AliTRDpixel();
22
23 virtual void Copy(AliTRDpixel &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 31protected:
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