ROOT logo
#ifndef ALITOFFORMATDCS_H
#define ALITOFFORMATDCS_H

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

/* $Id$ */

#include "TObject.h"

// AliTOFFormatDCS class
// describing the format of the calibration data
// coming from DCS

class AliTOFFormatDCS : public TObject 
{
 public:
  
  AliTOFFormatDCS();
  AliTOFFormatDCS(const AliTOFFormatDCS & format);
  AliTOFFormatDCS& operator=(const AliTOFFormatDCS & format);
  virtual ~AliTOFFormatDCS();
  
  Float_t GetFloat(Int_t i) const {return fFloats[i];}
  Float_t GetTimeStampFloat(Int_t i) const {return fTimeStampsFloat[i];}
  Float_t GetDelta(Int_t i) const {return fDeltas[i];}
  Float_t GetTimeStampDelta(Int_t i) const {return fTimeStampsDelta[i];}
  Short_t GetShort() const {return fShort;}
  
  void SetFloat(Int_t i, Float_t valfloat) {fFloats[i]=valfloat;}
  void SetTimeStampFloat(Int_t i, Float_t timestampfloat) {fTimeStampsFloat[i]=timestampfloat;}
  void SetDelta(Int_t i, Float_t valdelta) {fDeltas[i]=valdelta;}
  void SetTimeStampDelta(Int_t i, Float_t timestampdelta) {fTimeStampsDelta[i]=timestampdelta;}
  void SetShort(Short_t valshort) {fShort=valshort;}
  
 private:
  
  Float_t fFloats[3];           // Floats for values at determined 
                                // time intervals
  Float_t fTimeStampsFloat[3];  // Time stamps of the Floats 
                                // for values at determined time intervals
  Float_t fDeltas[2];           // Significant Increments
  Float_t fTimeStampsDelta[2];  // Time stamps for the significant increments
  Short_t fShort;               // Short Integer
  
  ClassDef(AliTOFFormatDCS, 1);
};

#endif
 AliTOFFormatDCS.h:1
 AliTOFFormatDCS.h:2
 AliTOFFormatDCS.h:3
 AliTOFFormatDCS.h:4
 AliTOFFormatDCS.h:5
 AliTOFFormatDCS.h:6
 AliTOFFormatDCS.h:7
 AliTOFFormatDCS.h:8
 AliTOFFormatDCS.h:9
 AliTOFFormatDCS.h:10
 AliTOFFormatDCS.h:11
 AliTOFFormatDCS.h:12
 AliTOFFormatDCS.h:13
 AliTOFFormatDCS.h:14
 AliTOFFormatDCS.h:15
 AliTOFFormatDCS.h:16
 AliTOFFormatDCS.h:17
 AliTOFFormatDCS.h:18
 AliTOFFormatDCS.h:19
 AliTOFFormatDCS.h:20
 AliTOFFormatDCS.h:21
 AliTOFFormatDCS.h:22
 AliTOFFormatDCS.h:23
 AliTOFFormatDCS.h:24
 AliTOFFormatDCS.h:25
 AliTOFFormatDCS.h:26
 AliTOFFormatDCS.h:27
 AliTOFFormatDCS.h:28
 AliTOFFormatDCS.h:29
 AliTOFFormatDCS.h:30
 AliTOFFormatDCS.h:31
 AliTOFFormatDCS.h:32
 AliTOFFormatDCS.h:33
 AliTOFFormatDCS.h:34
 AliTOFFormatDCS.h:35
 AliTOFFormatDCS.h:36
 AliTOFFormatDCS.h:37
 AliTOFFormatDCS.h:38
 AliTOFFormatDCS.h:39
 AliTOFFormatDCS.h:40
 AliTOFFormatDCS.h:41
 AliTOFFormatDCS.h:42
 AliTOFFormatDCS.h:43
 AliTOFFormatDCS.h:44
 AliTOFFormatDCS.h:45
 AliTOFFormatDCS.h:46
 AliTOFFormatDCS.h:47
 AliTOFFormatDCS.h:48
 AliTOFFormatDCS.h:49