]> git.uio.no Git - u/mrichter/AliRoot.git/blob - START/AliSTARTdigit.h
Initialize arrays in constructor (Ivana)
[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 SetMeanTime(Int_t time) {fTimeAverage=time;}
17     Int_t  GetMeanTime() {return fTimeAverage;}
18     Int_t  GetBestTimeRight() {return fTimeBestRight ;}
19     Int_t  GetBestTimeLeft() {return fTimeBestLeft ;}
20     Int_t  GetSumADCRight() {return fSumADCRight ;}
21     void SetTimeBestRight( Int_t time) {fTimeBestRight = time;}
22     void SetTimeBestLeft( Int_t time) {fTimeBestLeft = time;}
23     void SetSumADCRight( Int_t ADC) {fSumADCRight = ADC;}
24     //    void SetProcessKoef( Float_t pp) {fProcessKoef = pp;}
25     virtual void SetTime (TArrayI &o);
26     virtual void GetTime (TArrayI &o);
27     virtual void SetADC (TArrayI &o);
28     virtual void GetADC (TArrayI &o);
29      virtual const char* GetName() const {return "START_D";}
30   private: 
31     //    Float_t fProcessKoef;  // for pp fProcessKoef=1 ; for Pb-Pb - 0.001
32     Int_t fTimeAverage;     // Average time
33     Int_t fTimeBestRight;   //TOF first particle on the right
34     Int_t fTimeBestLeft;    //TOF first particle on the left
35     Int_t fSumADCRight;    // multiplicity on the right side
36     TArrayI *fTime;    // array's TDC
37     TArrayI *fADC;    // array's ADC
38
39     ClassDef(AliSTARTdigit,2)  //Digit (Header) object for set:START
40 };
41
42
43 #endif
44
45
46