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 : // *
18 : // *
19 : // * this class defines the T0Fill online calibration object to be stored
20 : // * in OCDB in order to obtain a corrected T0Fill from online algorithm
21 : // *
22 : // *
23 : // *
24 :
25 : #include "AliTOFT0FillOnlineCalib.h"
26 :
27 26 : ClassImp(AliTOFT0FillOnlineCalib)
28 :
29 : //_________________________________________________________
30 :
31 : AliTOFT0FillOnlineCalib::AliTOFT0FillOnlineCalib() :
32 2 : TObject(),
33 2 : fOffset(0.),
34 2 : fCoefficient(0.)
35 10 : {
36 : /*
37 : * default constructor
38 : */
39 4 : }
40 :
41 : //_________________________________________________________
42 :
43 : AliTOFT0FillOnlineCalib::~AliTOFT0FillOnlineCalib()
44 0 : {
45 : /*
46 : * default destructor
47 : */
48 0 : }
49 :
50 : //_________________________________________________________
51 :
52 : AliTOFT0FillOnlineCalib::AliTOFT0FillOnlineCalib(const AliTOFT0FillOnlineCalib &source) :
53 0 : TObject(source),
54 0 : fOffset(source.fOffset),
55 0 : fCoefficient(source.fCoefficient)
56 0 : {
57 : /*
58 : * copy constructor
59 : */
60 0 : }
61 :
62 : //_________________________________________________________
63 :
64 : AliTOFT0FillOnlineCalib &
65 : AliTOFT0FillOnlineCalib::operator=(const AliTOFT0FillOnlineCalib &source)
66 : {
67 : /*
68 : * operator=
69 : */
70 :
71 0 : if (this == &source) return *this;
72 0 : TObject::operator=(source);
73 0 : fOffset = source.fOffset;
74 0 : fCoefficient = source.fCoefficient;
75 0 : return *this;
76 0 : }
77 :
|