end-of-line normalization
[u/mrichter/AliRoot.git] / TOF / AliTOFChannelOnlineStatus.h
CommitLineData
7fac8669 1#ifndef ALITOFCHANNELONLINESTATUS_H
2#define ALITOFCHANNELONLINESTATUS_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7//////////////////////////////////////////////////////
8// class for TOF Online calibration for noise run //
9//////////////////////////////////////////////////////
10
11#include "TObject.h"
12
13class AliTOFChannelOnlineStatus: public TObject {
14
15public:
16 AliTOFChannelOnlineStatus();
17 AliTOFChannelOnlineStatus(UChar_t status);
18 AliTOFChannelOnlineStatus(const AliTOFChannelOnlineStatus &chan);
19 AliTOFChannelOnlineStatus& operator= (const AliTOFChannelOnlineStatus &chan);
20 virtual ~AliTOFChannelOnlineStatus(){};
21 UChar_t GetStatus() const {return fStatus;}
22 void SetStatus(UChar_t status) {fStatus=status;}
23
24 enum{
25 kTOFOnlineUnknown=0x0, kTOFOnlineOk=0x15, kTOFOnlineBad=0x2a,
26 kTOFHWOk=0x1, kTOFHWBad=0x2, kTOFHVUnknown=0x0,
27 kTOFPulserOk=0x4, kTOFPulserBad=0x8, kTOFPulserUnknown=0x0,
28 kTOFNoiseOk=0x10, kTOFNoiseBad=0x20, kTOFNoiseUnknown=0x0
29 };
30
31 enum{
32 kRightShiftHW=0,kRightShiftPulser=2,kRightShiftNoise=4
33 };
34
35private:
36 UChar_t fStatus; // Status of the channel
37
38 ClassDef(AliTOFChannelOnlineStatus,1) // TOF Online Calibration object
39 // setting status
40};
41
42#endif