]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TOF/AliTOFChannelOnlineStatus.cxx
Coverity 21238
[u/mrichter/AliRoot.git] / TOF / AliTOFChannelOnlineStatus.cxx
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$
18 */  
19
20 ///////////////////////////////////////////////////////////////////////////////
21 //                                                                           //
22 // class for TOF Online calibration - defining channel status                //
23 //                                                                           //
24 ///////////////////////////////////////////////////////////////////////////////
25
26 #include "AliTOFChannelOnlineStatus.h"
27
28 ClassImp(AliTOFChannelOnlineStatus)
29
30 //________________________________________________________________
31 AliTOFChannelOnlineStatus::AliTOFChannelOnlineStatus():
32 fStatus(kTOFOnlineUnknown)
33 {
34   //default constructor
35 }
36
37 //________________________________________________________________
38 AliTOFChannelOnlineStatus::AliTOFChannelOnlineStatus(UChar_t status):
39 fStatus(status)
40 {
41   // constructor with status 
42 }
43
44 //________________________________________________________________
45 AliTOFChannelOnlineStatus::AliTOFChannelOnlineStatus(const AliTOFChannelOnlineStatus& channel) :
46   TObject(channel),
47   fStatus(kTOFOnlineUnknown)
48 {
49 // copy constructor
50
51 }
52
53
54 //________________________________________________________________
55 AliTOFChannelOnlineStatus &AliTOFChannelOnlineStatus::operator =(const AliTOFChannelOnlineStatus& channel)
56 {
57 // assignment operator
58
59   if (this == &channel)
60     return *this;
61
62   TObject::operator=(channel);
63   fStatus= channel.GetStatus();
64   return *this;
65 }
66
67 //
68