LCOV - code coverage report
Current view: top level - STEER/ESD - AliESDTZEROfriend.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 2 11 18.2 %
Date: 2016-06-14 17:26:59 Functions: 5 14 35.7 %

          Line data    Source code
       1             : // -*- mode: C++ -*- 
       2             : #ifndef ALIESDTZEROFRIEND_H
       3             : #define ALIESDTZEROFRIEND_H
       4             : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
       5             :  * See cxx source for full Copyright notice                               */
       6             : 
       7             : ////////////////////////////////////////////////////////////////
       8             : ///////////////
       9             : ///
      10             : /// This is a class for containing time coorected by SPD vertex and amplitude
      11             : /// It is written to the ESD-friend file
      12             : ///
      13             : ///////////////////////////////////////////////////////////////////////////////
      14             : 
      15             : #include <TObject.h>
      16             : 
      17             : class AliESDTZEROfriend: public TObject {
      18             :   public :
      19             :     AliESDTZEROfriend();
      20          24 :     virtual ~AliESDTZEROfriend(){;}
      21             : 
      22             :     AliESDTZEROfriend(const AliESDTZEROfriend& tzerofriend);
      23             :     AliESDTZEROfriend& operator = (const AliESDTZEROfriend& tzerofriend);
      24             : 
      25             :     virtual void Copy(TObject &obj) const;
      26             :     void Reset();
      27             : 
      28             : // Getters & setters 
      29             : 
      30           0 :    Double32_t * GetT0timeCorr()  {return fT0time;}
      31             :   void SetT0timeCorr(Double32_t time[24]) {
      32           0 :   for (Int_t i=0; i<24; i++) fT0time[i] = time[i];
      33           0 :   }
      34             :   
      35           0 :   Double32_t * GetT0ampQTC()  {return fT0ampQTC;}
      36             :   void SetT0ampQTC(Double32_t amp[24]) {
      37           0 :     for (Int_t i=0; i<24; i++) fT0ampQTC[i] = amp[i];
      38           0 :   }
      39             : 
      40           0 :   Double32_t * GetT0ampLEDminCFD() {return fT0ampLEDminCFD;}
      41             :   void SetT0ampLEDminCFD(Double32_t amp[24]) {
      42           0 :     for (Int_t i=0; i<24; i++) fT0ampLEDminCFD[i] = amp[i];
      43           0 :   }
      44             : 
      45             :  private:
      46             : 
      47             :   Double32_t   fT0time[24];      // best TOF on each T0 PMT
      48             :   Double32_t   fT0ampQTC[24]; // amp in #channels QTC on each T0 PMT
      49             :   Double32_t   fT0ampLEDminCFD[24]; // amp in #channels LED-CFD on each T0 PMT
      50             : 
      51         180 :   ClassDef(AliESDTZEROfriend,1)
      52             : };
      53             : 
      54             : #endif

Generated by: LCOV version 1.11