for T0 QA classes
[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();
c41ceaac 17
18 Int_t BestTimeA() {return fBestTimeA;}
19 Int_t BestTimeC() {return fBestTimeC;}
dc7ca31d 20 Int_t MeanTime() {return fTimeAverage;}
21 Int_t TimeDiff() {return fTimeDiff;}
22 Int_t SumMult() {return fSumMult;}
c41ceaac 23 void SetTimeBestA( Int_t time) {fBestTimeA = time;}
24 void SetTimeBestC( Int_t time) {fBestTimeC = time;}
dc7ca31d 25 void SetMeanTime(Int_t time) {fTimeAverage=time;}
26 void SetDiffTime(Int_t time) {fTimeDiff=time;}
27 void SetSumMult(Int_t time) {fSumMult=time;}
28
c41ceaac 29 virtual void SetTimeCFD (TArrayI &o);
30 virtual void GetTimeCFD (TArrayI &o);
31 virtual void SetQT0 (TArrayI &o);
32 virtual void GetQT0 (TArrayI &o);
dc7ca31d 33
c41ceaac 34 virtual void SetTimeLED (TArrayI &o);
35 virtual void GetTimeLED (TArrayI &o);
36 virtual void SetQT1 (TArrayI &o);
37 virtual void GetQT1 (TArrayI &o);
38
dc7ca31d 39 private:
40
c41ceaac 41 TArrayI *fTimeCFD; // array's TDC
42 TArrayI *fQT0; // array's ADC
43 TArrayI *fTimeLED; // array's TDC
44 TArrayI *fQT1; // array's ADC
dc7ca31d 45 Int_t fTimeAverage; // mean time (start signal)
46 Int_t fTimeDiff; // time difference (vertex position)
c41ceaac 47 Int_t fBestTimeA; // TOF first particle on the right
48 Int_t fBestTimeC; // TOF first particle on the left
dc7ca31d 49 Int_t fSumMult; //multiplisity
50 AliT0digit( const AliT0digit& );
51 AliT0digit& operator=(const AliT0digit&);
52
c41ceaac 53 ClassDef(AliT0digit,5) //Digit (Header) object for set:T0
dc7ca31d 54};
55
c41ceaac 56
dc7ca31d 57typedef AliT0digit AliSTARTdigit; // for backward compatibility
58
59#endif
60
61
62
63