LCOV - code coverage report
Current view: top level - TOF/TOFbase - AliTOFFormatDCS.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 11 9.1 %
Date: 2016-06-14 17:26:59 Functions: 1 15 6.7 %

          Line data    Source code
       1             : #ifndef ALITOFFORMATDCS_H
       2             : #define ALITOFFORMATDCS_H
       3             : 
       4             : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
       5             :  * See cxx source for full Copyright notice                               */
       6             : 
       7             : /* $Id$ */
       8             : 
       9             : #include "TObject.h"
      10             : 
      11             : // AliTOFFormatDCS class
      12             : // describing the format of the calibration data
      13             : // coming from DCS
      14             : 
      15             : class AliTOFFormatDCS : public TObject 
      16             : {
      17             :  public:
      18             :   
      19             :   AliTOFFormatDCS();
      20             :   AliTOFFormatDCS(const AliTOFFormatDCS & format);
      21             :   AliTOFFormatDCS& operator=(const AliTOFFormatDCS & format);
      22             :   virtual ~AliTOFFormatDCS();
      23             :   
      24           0 :   Float_t GetFloat(Int_t i) const {return fFloats[i];}
      25           0 :   Float_t GetTimeStampFloat(Int_t i) const {return fTimeStampsFloat[i];}
      26           0 :   Float_t GetDelta(Int_t i) const {return fDeltas[i];}
      27           0 :   Float_t GetTimeStampDelta(Int_t i) const {return fTimeStampsDelta[i];}
      28           0 :   Short_t GetShort() const {return fShort;}
      29             :   
      30           0 :   void SetFloat(Int_t i, Float_t valfloat) {fFloats[i]=valfloat;}
      31           0 :   void SetTimeStampFloat(Int_t i, Float_t timestampfloat) {fTimeStampsFloat[i]=timestampfloat;}
      32           0 :   void SetDelta(Int_t i, Float_t valdelta) {fDeltas[i]=valdelta;}
      33           0 :   void SetTimeStampDelta(Int_t i, Float_t timestampdelta) {fTimeStampsDelta[i]=timestampdelta;}
      34           0 :   void SetShort(Short_t valshort) {fShort=valshort;}
      35             :   
      36             :  private:
      37             :   
      38             :   Float_t fFloats[3];           // Floats for values at determined 
      39             :                                 // time intervals
      40             :   Float_t fTimeStampsFloat[3];  // Time stamps of the Floats 
      41             :                                 // for values at determined time intervals
      42             :   Float_t fDeltas[2];           // Significant Increments
      43             :   Float_t fTimeStampsDelta[2];  // Time stamps for the significant increments
      44             :   Short_t fShort;               // Short Integer
      45             :   
      46          26 :   ClassDef(AliTOFFormatDCS, 1);
      47             : };
      48             : 
      49             : #endif

Generated by: LCOV version 1.11