DCS information for SDD (F. Prino)
[u/mrichter/AliRoot.git] / ITS / AliITSDCSDataSDD.h
CommitLineData
cfaccd71 1#ifndef ALIITSDCSDATASDD_H
2#define ALIITSDCSDATASDD_H
3
4/* Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7/* $Id$ */
8
9///////////////////////////////////////////////////////////////////
10// //
11// Class to define object containing SDD DCS data //
12// Origin: F.Prino, Torino, prino@to.infn.it //
13// //
14///////////////////////////////////////////////////////////////////
15
16#include<TObject.h>
17#include<TArrayF.h>
18#include<TArrayI.h>
19
20class AliITSDCSDataSDD : public TObject {
21
22 public:
23 AliITSDCSDataSDD();
24 AliITSDCSDataSDD(Int_t npts);
25 ~AliITSDCSDataSDD(){};
26 void SetNPoints(Int_t npts);
27 void SetValues(Int_t time, Float_t field, Float_t templ, Float_t tempr);
28 void Compress();
29
30 Int_t GetNumberOfValues() const {return fSetPoints;}
31 Int_t GetTimeStamp(Int_t i) const {return fTimeStamp.At(i);}
32 Float_t GetDriftField(Int_t i) const {return fDriftField.At(i);}
33 Float_t GetLeftTemperature(Int_t i) const {return fTemperatureLeft.At(i);}
34 Float_t GetRightTemperature(Int_t i) const {return fTemperatureRight.At(i);}
35 void PrintValues() const;
36
37 private:
38
39
40 Int_t fNpts; // number of values for DCS data points
41 Int_t fSetPoints; // number of set values
42 TArrayI fTimeStamp; // DCS time stamp
43 TArrayF fDriftField; // drift field (calculated from HV and MV)
44 TArrayF fTemperatureLeft; // temperature from sensor on left hybrid
45 TArrayF fTemperatureRight; // temperature from sensor on right hybrid
46
47 ClassDef(AliITSDCSDataSDD, 1);
48};
49
50#endif