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