#ifndef ALISTARTDIGIT_H #define ALISTARTDIGIT_H /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ /* $Id$ */ #include class TArrayI; //___________________________________________ class AliSTARTdigit: public TObject { //////////////////////////////////////////////////////////////////////// public: AliSTARTdigit(); virtual ~AliSTARTdigit() {} void SetTimeDiff(Int_t time) {fTimeDiff=time;} void SetMeanTime(Int_t time) {fTimeAverage=time;} Int_t GetTimeDiff() {return fTimeDiff;} Int_t GetMeanTime() {return fTimeAverage;} Int_t GetBestTimeRight() {return fTimeBestRight ;} Int_t GetBestTimeLeft() {return fTimeBestLeft ;} Int_t GetSumADCRight() {return fSumADCRight ;} void Print(); void SetTimeBestRight( Int_t time) {fTimeBestRight = time;} void SetTimeBestLeft( Int_t time) {fTimeBestLeft = time;} void SetSumADCRight( Int_t ADC) {fSumADCRight = ADC;} // void SetProcessKoef( Float_t pp) {fProcessKoef = pp;} virtual void SetTimeRight (TArrayI &o); virtual void SetTimeLeft (TArrayI &o); virtual void GetTimeRight (TArrayI &o); virtual void GetTimeLeft (TArrayI &o); virtual void SetADCRight (TArrayI &o); virtual void SetADCLeft (TArrayI &o); virtual void GetADCRight (TArrayI &o); virtual void GetADCLeft (TArrayI &o); private: // Float_t fProcessKoef; // for pp fProcessKoef=1 ; for Pb-Pb - 0.001 Int_t fTimeAverage; // Average time Int_t fTimeDiff; // Time difference Int_t fTimeBestRight; //TOF first particle on the right Int_t fTimeBestLeft; //TOF first particle on the left Int_t fSumADCRight; // multiplicity on the right side TArrayI *fTimeRight; // right array's TDC TArrayI *fTimeLeft; // left arraya's TDC TArrayI *fADCRight; // right array's ADC TArrayI *fADCLeft; // left arraya's ADC ClassDef(AliSTARTdigit,1) //Digit (Header) object for set:START }; #endif