]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TRD/AliTRDdigit.h
Only one initializer for a default argument
[u/mrichter/AliRoot.git] / TRD / AliTRDdigit.h
CommitLineData
6f1e466d 1#ifndef TRDdigit_h
2#define TRDdigit_h
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id: AliTRDdigit.h,v */
7
8#include "AliDigitNew.h"
9
10const UInt_t kRawDigit = 0x00000001;
11
12//_____________________________________________________________________________
13class AliTRDdigit : public AliDigitNew {
14
15 public:
16
17 AliTRDdigit();
9d0b222b 18 AliTRDdigit(Bool_t isRaw, Int_t *digits, Int_t *amp);
6f1e466d 19 ~AliTRDdigit() {};
20
9d0b222b 21 Int_t GetAmp() const { if (TestBit(kRawDigit))
22 return DecodeAmp();
23 else
24 return fAmp; };
25 Int_t GetDetector() { return fId; };
26 Int_t GetRow() { return fRow; };
27 Int_t GetCol() { return fCol; };
28 Int_t GetTime() { return fTime; };
6f1e466d 29
9d0b222b 30 Int_t DecodeAmp() const { return 0; };
6f1e466d 31
32 protected:
33
34 Int_t fRow; // Pad row number
35 Int_t fCol; // Pad col number
36 Int_t fTime; // Time bucket
37
38 ClassDef(AliTRDdigit,1) // Digit for the TRD
39
40};
41
42#endif