]>
Commit | Line | Data |
---|---|---|
b86e74f5 | 1 | #ifndef ALIACORDEDIGIT_H |
2 | #define ALIACORDEDIGIT_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 | //////////////////////////////////////////////////////////////////////////// | |
9 | // ACORDE digit: Id | |
10 | // | |
11 | // The digits are made in FinishEvent() by summing all the hits in a | |
12 | // counter. | |
13 | //////////////////////////////////////////////////////////////////////////// | |
14 | ||
15 | #include "AliDigit.h" | |
16 | ||
b86e74f5 | 17 | class AliACORDEdigit: public AliDigit { |
19f796ed | 18 | |
19 | public: | |
b86e74f5 | 20 | AliACORDEdigit(); |
19f796ed | 21 | AliACORDEdigit(Int_t* tracks, Int_t module, Float_t pulse_time); |
adcccda9 | 22 | AliACORDEdigit(Int_t* modules,Float_t pulse_time); |
23 | AliACORDEdigit(Int_t module, Float_t pulse_time); | |
b86e74f5 | 24 | virtual ~AliACORDEdigit(); |
adcccda9 | 25 | virtual void Print(const Option_t* option="") const; |
b86e74f5 | 26 | |
19f796ed | 27 | Int_t GetModule() const { return fModule;} |
28 | Float_t GetTime() const { return fTime;} | |
b86e74f5 | 29 | |
19f796ed | 30 | |
b86e74f5 | 31 | private: |
19f796ed | 32 | Int_t fModule; // module producing the digit (1-60) |
33 | Float_t fTime; // time of the start of the square pulse | |
34 | ||
19f796ed | 35 | ClassDef(AliACORDEdigit,1) //Digit (Header) object for set : ACORDE (ACORDE) |
36 | ||
b86e74f5 | 37 | }; |
2814d35e | 38 | |
39 | typedef AliACORDEdigit AliCRTdigit; // for backward compatibility | |
40 | ||
b86e74f5 | 41 | #endif // ALIACORDEDIGIT_H |