]> git.uio.no Git - u/mrichter/AliRoot.git/blob - START/AliSTARTdigit.h
New AliSTART
[u/mrichter/AliRoot.git] / START / AliSTARTdigit.h
1 #ifndef STARTDIGIT_H
2 #define STARTDIGIT_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 #include <TObject.h>
8 #include "AliSTART.h"
9 //___________________________________________
10 class AliSTARTdigit: public TObject  {
11 ////////////////////////////////////////////////////////////////////////
12  public:
13     Int_t fTime_average;     // Average time
14     Int_t fTime_diff;  // Time difference
15
16
17  public:
18     AliSTARTdigit();
19     AliSTARTdigit(Int_t , Int_t );
20     virtual ~AliSTARTdigit() {}
21     void Set(Int_t, Int_t);
22     void MyDump(); 
23
24
25     ClassDef(AliSTARTdigit,1)  //Digit (Header) object for set:START
26 };
27
28 inline AliSTARTdigit::AliSTARTdigit(){fTime_average=99999.;fTime_diff=99999.;}
29 inline void AliSTARTdigit::Set(Int_t Timeav, Int_t Timediff)
30   {fTime_average=Timeav; fTime_diff=Timediff;}
31
32 inline void AliSTARTdigit::MyDump(){
33   printf("AliSTARTdigit: fTime_average=%d, fTime_diff=%d\n",
34          fTime_average, fTime_diff);
35 }
36
37 #endif
38
39
40