LCOV - code coverage report
Current view: top level - T0/T0base - AliT0digit.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 13 13 100.0 %
Date: 2016-06-14 17:26:59 Functions: 14 17 82.4 %

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

Generated by: LCOV version 1.11