]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TOF/AliTOFChannelOnline.cxx
bugfix in array protection and assert
[u/mrichter/AliRoot.git] / TOF / AliTOFChannelOnline.cxx
CommitLineData
58d634dc 1/**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
15
16/*
17$Log$
98f5acd7 18Revision 1.1 2006/10/26 09:13:24 arcelli
19 TOF Online Calibration channel (C.Zampolli)
20
58d634dc 21*/
22
23///////////////////////////////////////////////////////////////////////////////
24// //
25// class for TOF Online calibration //
26// //
27///////////////////////////////////////////////////////////////////////////////
28
29#include "AliTOFChannelOnline.h"
30
31ClassImp(AliTOFChannelOnline)
32
33//________________________________________________________________
34AliTOFChannelOnline::AliTOFChannelOnline():
98f5acd7 35fStatus(kTOFOnlineUnknown),
58d634dc 36fDelay(0)
37{
38 //default constructor
39}
40
41//________________________________________________________________
98f5acd7 42AliTOFChannelOnline::AliTOFChannelOnline(UChar_t status, Float_t delay):
58d634dc 43fStatus(status),
44fDelay(delay)
45{
46 // constructor with status and delay
47}
48
49//________________________________________________________________
50AliTOFChannelOnline::AliTOFChannelOnline(const AliTOFChannelOnline& channel) :
51 TObject(channel),
98f5acd7 52 fStatus(kTOFOnlineUnknown),
58d634dc 53 fDelay(0)
54{
55// copy constructor
56
57}
58
59
60//________________________________________________________________
61AliTOFChannelOnline &AliTOFChannelOnline::operator =(const AliTOFChannelOnline& channel)
62{
63// assignment operator
64 fStatus= channel.GetStatus();
65 fDelay=channel.GetDelay();
66 return *this;
67}
68
69//
70