1 #ifndef AliTOFFormatDCS_H
2 #define AliTOFFormatDCS_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
11 // AliTOFFormatDCS class
12 // describing the format of the calibration data
15 class AliTOFFormatDCS : public TObject
20 AliTOFFormatDCS(const AliTOFFormatDCS & format);
21 AliTOFFormatDCS& operator=(const AliTOFFormatDCS & format);
22 virtual ~AliTOFFormatDCS();
24 Float_t GetFloat(Int_t i) const {return fFloats[i];}
25 Float_t GetTimeStampFloat(Int_t i) const {return fTimeStampsFloat[i];}
26 Float_t GetDelta(Int_t i) const {return fDeltas[i];}
27 Float_t GetTimeStampDelta(Int_t i) const {return fTimeStampsDelta[i];}
28 Short_t GetShort() const {return fShort;}
30 void SetFloat(Int_t i, Float_t valfloat) {fFloats[i]=valfloat;}
31 void SetTimeStampFloat(Int_t i, Float_t timestampfloat) {fTimeStampsFloat[i]=timestampfloat;}
32 void SetDelta(Int_t i, Float_t valdelta) {fDeltas[i]=valdelta;}
33 void SetTimeStampDelta(Int_t i, Float_t timestampdelta) {fTimeStampsDelta[i]=timestampdelta;}
34 void SetShort(Short_t valshort) {fShort=valshort;}
38 Float_t fFloats[3]; // Floats for values at determined
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
46 ClassDef(AliTOFFormatDCS, 1);