for compile lookup
[u/mrichter/AliRoot.git] / T0 / AliT0digit.h
CommitLineData
dc7ca31d 1#ifndef ALIT0DIGIT_H
2#define ALIT0DIGIT_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>
8class TClonesArray;
9class TArrayI;
10
11//___________________________________________
12class AliT0digit: public TObject {
13 ////////////////////////////////////////////////////////////////////////
14 public:
15 AliT0digit();
16 virtual ~AliT0digit();
17 Int_t BestTimeRight() {return fBestTimeRight;}
18 Int_t BestTimeLeft() {return fBestTimeLeft;}
19 Int_t MeanTime() {return fTimeAverage;}
20 Int_t TimeDiff() {return fTimeDiff;}
21 Int_t SumMult() {return fSumMult;}
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;}
26 void SetSumMult(Int_t time) {fSumMult=time;}
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);
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
48 Int_t fSumMult; //multiplisity
49 AliT0digit( const AliT0digit& );
50 AliT0digit& operator=(const AliT0digit&);
51
52 ClassDef(AliT0digit,4) //Digit (Header) object for set:T0
53};
54
55typedef AliT0digit AliSTARTdigit; // for backward compatibility
56
57#endif
58
59
60
61