]> git.uio.no Git - u/mrichter/AliRoot.git/blob - START/AliSTARTdigit.h
Coding convention, reconstruction fill ESD
[u/mrichter/AliRoot.git] / START / AliSTARTdigit.h
1 #ifndef ALISTARTDIGIT_H
2 #define ALISTARTDIGIT_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 class TArrayI;
9
10 //___________________________________________
11 class AliSTARTdigit: public TObject  {
12 ////////////////////////////////////////////////////////////////////////
13  public:
14     AliSTARTdigit();
15     virtual ~AliSTARTdigit() {}
16     void SetTimeDiff(Int_t time) {fTimeDiff=time;}
17     void SetMeanTime(Int_t time) {fTimeAverage=time;}
18     Int_t  GetTimeDiff() {return fTimeDiff;}
19     Int_t  GetMeanTime() {return fTimeAverage;}
20     Int_t  GetBestTimeRight() {return fTimeBestRight ;}
21     Int_t  GetBestTimeLeft() {return fTimeBestLeft ;}
22     Int_t  GetSumADCRight() {return fSumADCRight ;}
23     void Print(); 
24     void SetTimeBestRight( Int_t time) {fTimeBestRight = time;}
25     void SetTimeBestLeft( Int_t time) {fTimeBestLeft = time;}
26     void SetSumADCRight( Int_t ADC) {fSumADCRight = ADC;}
27     //    void SetProcessKoef( Float_t pp) {fProcessKoef = pp;}
28     virtual void SetTimeRight (TArrayI &o);
29     virtual void SetTimeLeft (TArrayI &o);
30     virtual void GetTimeRight (TArrayI &o);
31     virtual void GetTimeLeft (TArrayI &o);
32     virtual void SetADCRight (TArrayI &o);
33     virtual void SetADCLeft (TArrayI &o);
34     virtual void GetADCRight (TArrayI &o);
35     virtual void GetADCLeft (TArrayI &o);
36   private: 
37     //    Float_t fProcessKoef;  // for pp fProcessKoef=1 ; for Pb-Pb - 0.001
38     Int_t fTimeAverage;     // Average time
39     Int_t fTimeDiff;        // Time difference
40     Int_t fTimeBestRight;   //TOF first particle on the right
41     Int_t fTimeBestLeft;    //TOF first particle on the left
42     Int_t fSumADCRight;    // multiplicity on the right side
43     TArrayI *fTimeRight;    // right array's TDC
44     TArrayI *fTimeLeft;     // left arraya's TDC
45     TArrayI *fADCRight;    // right array's ADC
46     TArrayI *fADCLeft;     // left arraya's ADC
47
48     ClassDef(AliSTARTdigit,1)  //Digit (Header) object for set:START
49 };
50
51
52 #endif
53
54
55