Digits corresponded to new data format
[u/mrichter/AliRoot.git] / START / AliSTARTdigit.h
CommitLineData
ef51244a 1#ifndef ALISTARTDIGIT_H
2#define ALISTARTDIGIT_H
971579f6 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
c345bb4f 7#include <TObject.h>
db173afc 8class TClonesArray;
0b73602e 9class TArrayI;
528332ba 10
971579f6 11//___________________________________________
db173afc 12class AliSTARTdigit: public TObject {
13 ////////////////////////////////////////////////////////////////////////
971579f6 14 public:
db173afc 15 AliSTARTdigit();
16 virtual ~AliSTARTdigit();
17 Int_t BestTimeRight() {return fBestTimeRight;}
18 Int_t BestTimeLeft() {return fBestTimeLeft;}
19 Int_t MeanTime() {return fTimeAverage;}
20 Int_t TimeDiff() {return fTimeDiff;}
e3f84715 21 Int_t SumMult() {return fSumMult;}
db173afc 22 void SetTimeBestRight( Int_t time) {fBestTimeRight = time;}
23 void SetTimeBestLeft( Int_t time) {fBestTimeLeft = time;}
24 void SetMeanTime(Int_t time) {fTimeAverage=time;}
25 void SetDiffTime(Int_t time) {fTimeDiff=time;}
e3f84715 26 void SetSumMult(Int_t time) {fSumMult=time;}
db173afc 27
28 virtual void SetTime (TArrayI &o);
29 virtual void GetTime (TArrayI &o);
30 virtual void SetADC (TArrayI &o);
31 virtual void GetADC (TArrayI &o);
db173afc 32
33 virtual void SetTimeAmp (TArrayI &o);
34 virtual void GetTimeAmp (TArrayI &o);
35 virtual void SetADCAmp (TArrayI &o);
36 virtual void GetADCAmp (TArrayI &o);
37 private:
38
39 Int_t fBestTimeRight; // TOF first particle on the right
40 Int_t fBestTimeLeft; // TOF first particle on the left
41 Int_t fTimeAverage; // mean time (start signal)
42 Int_t fTimeDiff; // time difference (vertex position)
43
44 TArrayI *fTime; // array's TDC
45 TArrayI *fADC; // array's ADC
46 TArrayI *fTimeAmp; // array's TDC
47 TArrayI *fADCAmp; // array's ADC
e3f84715 48 Int_t fSumMult; //multiplisity
db173afc 49
50 ClassDef(AliSTARTdigit,4) //Digit (Header) object for set:START
51 };
52
c345bb4f 53
971579f6 54#endif
c345bb4f 55
56
57
db173afc 58