]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TOF/AliTOFChSim.cxx
- Adapted comments for Doxygen
[u/mrichter/AliRoot.git] / TOF / AliTOFChSim.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 Revision 1.1  2006/02/13 16:10:48  arcelli
19 Add classes for TOF Calibration (C.Zampolli)
20
21 author: Chiara Zampolli, zampolli@bo.infn.it
22 */  
23
24 ///////////////////////////////////////////////////////////////////////////////
25 //                                                                           //
26 // class for TOF calibration                                                 //
27 //                                                                           //
28 ///////////////////////////////////////////////////////////////////////////////
29
30 #include "AliTOFChSim.h"
31
32 ClassImp(AliTOFChSim)
33
34 //________________________________________________________________
35 AliTOFChSim::AliTOFChSim():
36 fSlewedStatus(kFALSE),
37 fSpectrum(-1)
38 {}
39 //________________________________________________________________
40 AliTOFChSim::AliTOFChSim(const AliTOFChSim& channel) :
41   TObject(channel)
42 {
43 // copy constructor
44   fSlewedStatus = channel.fSlewedStatus;
45   fSpectrum= channel.fSpectrum;
46 }
47
48
49 //________________________________________________________________
50 AliTOFChSim &AliTOFChSim::operator =(const AliTOFChSim& channel)
51 {
52 // assignment operator
53   fSlewedStatus = channel.IsSlewed();
54   fSpectrum= channel.GetSpectrum();
55   return *this;
56 }
57