ROOT logo
#ifndef ALIT0DIGIT_H
#define ALIT0DIGIT_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
 * See cxx source for full Copyright notice                               */

/* $Id$ */
/***********************************************************************
class for T0 Digits object
***********************************************************************/
#include <TObject.h>
class TClonesArray;
class TArrayI;

//___________________________________________
class AliT0digit: public TObject {
  ////////////////////////////////////////////////////////////////////////
 public:
  AliT0digit();
  virtual ~AliT0digit();

  Int_t BestTimeA()   {return fBestTimeA;}
  Int_t BestTimeC()   {return fBestTimeC;}
  Int_t MeanTime()    {return fTimeAverage;}
  Int_t TimeDiff()    {return fTimeDiff;}
  Int_t SumMult()     {return fSumMult;}
  Int_t RefPoint()    {return fRefPoint;}
  void SetTimeBestA( Int_t time) {fBestTimeA = time;}
  void SetTimeBestC( Int_t time) {fBestTimeC = time;}
  void SetMeanTime(Int_t time) {fTimeAverage=time;}
  void SetDiffTime(Int_t time) {fTimeDiff=time;}
  void SetSumMult(Int_t time) {fSumMult=time;}
  void SetRefPoint(Int_t time) {fRefPoint=time;}
  
  virtual void SetTimeCFD (TArrayI &o);
  virtual void GetTimeCFD (TArrayI &o);
  virtual void SetQT0 (TArrayI &o);
  virtual void GetQT0 (TArrayI &o);
  
  virtual void SetTimeLED (TArrayI &o);
  virtual void GetTimeLED (TArrayI &o);
  virtual void SetQT1 (TArrayI &o);
  virtual void GetQT1 (TArrayI &o);

 private: 

  TArrayI *fTimeCFD;    // array's TDC
  TArrayI *fQT0;    // array's ADC
  TArrayI *fTimeLED;    // array's TDC
  TArrayI *fQT1;    // array's ADC
  Int_t fTimeAverage;             // mean time (start signal)
  Int_t fTimeDiff;             // time difference (vertex position)
  Int_t fBestTimeA;        // TOF first particle on the right 
  Int_t fBestTimeC;         // TOF first particle on the left
  Int_t fSumMult;   //multiplisity
  Int_t fRefPoint; // reference point
  AliT0digit( const AliT0digit& );
  AliT0digit& operator=(const AliT0digit&); 
  
  ClassDef(AliT0digit,6)  //Digit (Header) object for set:T0
};


typedef AliT0digit AliSTARTdigit; // for backward compatibility

#endif




 AliT0digit.h:1
 AliT0digit.h:2
 AliT0digit.h:3
 AliT0digit.h:4
 AliT0digit.h:5
 AliT0digit.h:6
 AliT0digit.h:7
 AliT0digit.h:8
 AliT0digit.h:9
 AliT0digit.h:10
 AliT0digit.h:11
 AliT0digit.h:12
 AliT0digit.h:13
 AliT0digit.h:14
 AliT0digit.h:15
 AliT0digit.h:16
 AliT0digit.h:17
 AliT0digit.h:18
 AliT0digit.h:19
 AliT0digit.h:20
 AliT0digit.h:21
 AliT0digit.h:22
 AliT0digit.h:23
 AliT0digit.h:24
 AliT0digit.h:25
 AliT0digit.h:26
 AliT0digit.h:27
 AliT0digit.h:28
 AliT0digit.h:29
 AliT0digit.h:30
 AliT0digit.h:31
 AliT0digit.h:32
 AliT0digit.h:33
 AliT0digit.h:34
 AliT0digit.h:35
 AliT0digit.h:36
 AliT0digit.h:37
 AliT0digit.h:38
 AliT0digit.h:39
 AliT0digit.h:40
 AliT0digit.h:41
 AliT0digit.h:42
 AliT0digit.h:43
 AliT0digit.h:44
 AliT0digit.h:45
 AliT0digit.h:46
 AliT0digit.h:47
 AliT0digit.h:48
 AliT0digit.h:49
 AliT0digit.h:50
 AliT0digit.h:51
 AliT0digit.h:52
 AliT0digit.h:53
 AliT0digit.h:54
 AliT0digit.h:55
 AliT0digit.h:56
 AliT0digit.h:57
 AliT0digit.h:58
 AliT0digit.h:59
 AliT0digit.h:60
 AliT0digit.h:61
 AliT0digit.h:62
 AliT0digit.h:63
 AliT0digit.h:64
 AliT0digit.h:65
 AliT0digit.h:66
 AliT0digit.h:67
 AliT0digit.h:68
 AliT0digit.h:69