Line data Source code
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 :
17 0 : class AliACORDEdigit: public AliDigit {
18 :
19 : public:
20 : AliACORDEdigit();
21 : AliACORDEdigit(Int_t* tracks, Int_t module, Float_t pulse_time);
22 : AliACORDEdigit(Int_t* modules,Float_t pulse_time);
23 : AliACORDEdigit(Int_t module, Float_t pulse_time);
24 : virtual ~AliACORDEdigit();
25 : virtual void Print(const Option_t* option="") const;
26 :
27 0 : Int_t GetModule() const { return fModule;}
28 0 : Float_t GetTime() const { return fTime;}
29 :
30 :
31 : private:
32 : Int_t fModule; // module producing the digit (1-60)
33 : Float_t fTime; // time of the start of the square pulse
34 :
35 18 : ClassDef(AliACORDEdigit,1) //Digit (Header) object for set : ACORDE (ACORDE)
36 :
37 : };
38 :
39 : typedef AliACORDEdigit AliCRTdigit; // for backward compatibility
40 :
41 : #endif // ALIACORDEDIGIT_H
|