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