Correct improper use of negative parameters
[u/mrichter/AliRoot.git] / TRD / AliTRDpixel.h
... / ...
CommitLineData
1#ifndef TRDpixel_h
2#define TRDpixel_h
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 <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
18protected:
19 Float_t fSignal; // Signal sum
20 Int_t fTrack[kTrackPixel]; // Tracks contributing to this pixel
21
22public:
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