]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/pendolino/TPC/AliHLTDCSArray.h
following suggestions by gcc 4.3
[u/mrichter/AliRoot.git] / HLT / pendolino / TPC / AliHLTDCSArray.h
1 //-*- Mode: C++ -*-
2 // $Id$
3
4 #ifndef ALIHLTDCSARRAY_H
5 #define ALIHLTDCSARRAY_H
6 //* This file is property of and copyright by the ALICE HLT Project        * 
7 //* ALICE Experiment at CERN, All rights reserved.                         *
8 //* See cxx source for full Copyright notice                               *
9
10 /** @file   AliHLTDCSArray.h
11     @author Haavard Helstrup
12     @date   
13     @brief  
14 */
15
16 #include "TArrayF.h"
17
18 class AliHLTDCSArray : public TObject {
19
20  public:
21    AliHLTDCSArray(Int_t entries=0);
22    virtual ~AliHLTDCSArray();
23    void SetTime(UInt_t time) {fTimeStamp=time;}
24    UInt_t GetTime() const {return fTimeStamp;}
25    void SetValue(Int_t i, Float_t val) {fValues[i]=val;}
26    Float_t GetValue(Int_t i) const {return fValues[i];}
27    
28  protected:  
29    UInt_t      fTimeStamp;    // time of DCS reading
30    TArrayF     fValues;       // array holding DCS readings
31    
32  ClassDef(AliHLTDCSArray,1)
33 };
34
35 #endif   
36
37