Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[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$ */
94249139 7/***********************************************************************
8class for T0 Digits object
9***********************************************************************/
dc7ca31d 10#include <TObject.h>
11class TClonesArray;
12class TArrayI;
13
14//___________________________________________
15class AliT0digit: public TObject {
16 ////////////////////////////////////////////////////////////////////////
17 public:
18 AliT0digit();
19 virtual ~AliT0digit();
c41ceaac 20
161bc905 21 Int_t BestTimeA() {return fBestTimeA;}
22 Int_t BestTimeC() {return fBestTimeC;}
23 Int_t MeanTime() {return fTimeAverage;}
24 Int_t TimeDiff() {return fTimeDiff;}
25 Int_t SumMult() {return fSumMult;}
26 Int_t RefPoint() {return fRefPoint;}
c41ceaac 27 void SetTimeBestA( Int_t time) {fBestTimeA = time;}
28 void SetTimeBestC( Int_t time) {fBestTimeC = time;}
dc7ca31d 29 void SetMeanTime(Int_t time) {fTimeAverage=time;}
30 void SetDiffTime(Int_t time) {fTimeDiff=time;}
31 void SetSumMult(Int_t time) {fSumMult=time;}
161bc905 32 void SetRefPoint(Int_t time) {fRefPoint=time;}
dc7ca31d 33
c41ceaac 34 virtual void SetTimeCFD (TArrayI &o);
35 virtual void GetTimeCFD (TArrayI &o);
36 virtual void SetQT0 (TArrayI &o);
37 virtual void GetQT0 (TArrayI &o);
dc7ca31d 38
c41ceaac 39 virtual void SetTimeLED (TArrayI &o);
40 virtual void GetTimeLED (TArrayI &o);
41 virtual void SetQT1 (TArrayI &o);
42 virtual void GetQT1 (TArrayI &o);
43
dc7ca31d 44 private:
45
c41ceaac 46 TArrayI *fTimeCFD; // array's TDC
47 TArrayI *fQT0; // array's ADC
48 TArrayI *fTimeLED; // array's TDC
49 TArrayI *fQT1; // array's ADC
dc7ca31d 50 Int_t fTimeAverage; // mean time (start signal)
51 Int_t fTimeDiff; // time difference (vertex position)
c41ceaac 52 Int_t fBestTimeA; // TOF first particle on the right
53 Int_t fBestTimeC; // TOF first particle on the left
dc7ca31d 54 Int_t fSumMult; //multiplisity
161bc905 55 Int_t fRefPoint; // reference point
dc7ca31d 56 AliT0digit( const AliT0digit& );
57 AliT0digit& operator=(const AliT0digit&);
58
161bc905 59 ClassDef(AliT0digit,6) //Digit (Header) object for set:T0
dc7ca31d 60};
61
c41ceaac 62
dc7ca31d 63typedef AliT0digit AliSTARTdigit; // for backward compatibility
64
65#endif
66
67
68
69