Line data Source code
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 26 : ClassImp(AliTOFChannelOnlineStatus)
29 :
30 : //________________________________________________________________
31 943488 : AliTOFChannelOnlineStatus::AliTOFChannelOnlineStatus():
32 943488 : fStatus(kTOFOnlineUnknown)
33 4717440 : {
34 : //default constructor
35 1886976 : }
36 :
37 : //________________________________________________________________
38 0 : AliTOFChannelOnlineStatus::AliTOFChannelOnlineStatus(UChar_t status):
39 0 : fStatus(status)
40 0 : {
41 : // constructor with status
42 0 : }
43 :
44 : //________________________________________________________________
45 : AliTOFChannelOnlineStatus::AliTOFChannelOnlineStatus(const AliTOFChannelOnlineStatus& channel) :
46 0 : TObject(channel),
47 0 : fStatus(kTOFOnlineUnknown)
48 0 : {
49 : // copy constructor
50 :
51 0 : }
52 :
53 :
54 : //________________________________________________________________
55 : AliTOFChannelOnlineStatus &AliTOFChannelOnlineStatus::operator =(const AliTOFChannelOnlineStatus& channel)
56 : {
57 : // assignment operator
58 :
59 0 : if (this == &channel)
60 0 : return *this;
61 :
62 0 : TObject::operator=(channel);
63 0 : fStatus= channel.GetStatus();
64 0 : return *this;
65 0 : }
66 :
67 : //
68 :
|