]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ZDC/AliZDCSDigit.h
##102371 Port updated in TPHIC to trunk and release
[u/mrichter/AliRoot.git] / ZDC / AliZDCSDigit.h
1 #ifndef ALIZDCSDIGIT_H
2 #define ALIZDCSDIGIT_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 ///
10 ///
11 ///   ZDC summable digit = Cerenkov light for each PM + time info
12 ///
13 ///_________________________________________________________________________
14
15 #include <TObject.h>
16
17 class AliZDCSDigit : public TObject {
18
19  public:
20   
21   AliZDCSDigit() ;
22   AliZDCSDigit(Int_t* sector, Float_t lightPM, Float_t trackTime);
23   virtual ~AliZDCSDigit() {}
24
25   // Getters 
26   Int_t   GetSector(Int_t i) const {return fSector[i];}
27   Float_t GetLightPM()       const {return fLightPM;}
28   Float_t GetTrackTime()     const {return fTrackTime;}
29
30  protected:
31
32   //Data members
33   Int_t   fSector[2];         // Detector and tower in which light is produced
34   Float_t fLightPM;           // Cerenkov light seen by the PM
35   Float_t fTrackTime;         // Track TOF propagated from hits
36
37   ClassDef(AliZDCSDigit, 2)   // Summable digit in ZDC 
38
39 } ;
40
41 #endif //  ALIZDCSDIGIT_H
42