Improved QAchecker and plots for DQM
[u/mrichter/AliRoot.git] / TOF / AliTOFChannelOnlineArray.h
CommitLineData
17149e6b 1#ifndef ALITOFCHANNELONLINEARRAY_H
2#define ALITOFCHANNELONLINEARRAY_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6/* $Id$ */
7
8////////////////////////////////////////////////
9// class for TOF Online calibration //
10// to define the delay of the channels. //
11// New object created, to use an array //
12// instead of a TObjArray. //
13////////////////////////////////////////////////
14
15#include "TObject.h"
16
17class AliTOFChannelOnlineArray: public TObject {
18
19public:
20
21 enum{
22 kTOFOnlineUnknown=0x0, kTOFOnlineOk=0x15, kTOFOnlineBad=0x2a,
23 kTOFHWUnknown=0x0, kTOFHWOk=0x1, kTOFHWBad=0x2, kTOFHWReset=0xfc, kTOFHW=0x3,
24 kTOFPulserUnknown=0x0, kTOFPulserOk=0x4, kTOFPulserBad=0x8, kTOFPulserReset=0xf3, kTOFPulser=0xc,
25 kTOFNoiseUnknown=0x0, kTOFNoiseOk=0x10, kTOFNoiseBad=0x20, kTOFNoiseReset=0xcf, kTOFNoise=0x30
26 };
27
28 AliTOFChannelOnlineArray();
29 AliTOFChannelOnlineArray(Int_t size);
30 AliTOFChannelOnlineArray(const AliTOFChannelOnlineArray &source);
31 AliTOFChannelOnlineArray& operator= (const AliTOFChannelOnlineArray &source);
e88f3330 32 ~AliTOFChannelOnlineArray();
17149e6b 33 Int_t GetSize() const {return fSize;}
34 void SetDelay(Int_t pos, Float_t parr);
35 Float_t GetDelay(Int_t pos) const;
36
37private:
38 Int_t fSize; // Size of the array of UChar_t
39 Float_t * fArray; //[fSize]
40
41 ClassDef(AliTOFChannelOnlineArray,1) // TOF Sensor Online Calibration object
42};
43
44#endif