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 CTPLatency object to be stored
20 : // * in OCDB in order to apply CTPLatency correction during
21 : // * reconstruction.
22 : // *
23 : // *
24 : // *
25 :
26 : #include "AliTOFCTPLatency.h"
27 :
28 26 : ClassImp(AliTOFCTPLatency)
29 :
30 : //_________________________________________________________
31 :
32 : AliTOFCTPLatency::AliTOFCTPLatency() :
33 3 : TObject(),
34 3 : fCTPLatency(0.)
35 15 : {
36 : /*
37 : * default constructor
38 : */
39 6 : }
40 :
41 : //_________________________________________________________
42 :
43 : AliTOFCTPLatency::~AliTOFCTPLatency()
44 0 : {
45 : /*
46 : * default destructor
47 : */
48 0 : }
49 :
50 : //_________________________________________________________
51 :
52 : AliTOFCTPLatency::AliTOFCTPLatency(const AliTOFCTPLatency &source) :
53 0 : TObject(source),
54 0 : fCTPLatency(source.fCTPLatency)
55 0 : {
56 : /*
57 : * copy constructor
58 : */
59 0 : }
60 :
61 : //_________________________________________________________
62 :
63 : AliTOFCTPLatency &
64 : AliTOFCTPLatency::operator=(const AliTOFCTPLatency &source)
65 : {
66 : /*
67 : * operator=
68 : */
69 :
70 0 : if (this == &source) return *this;
71 0 : TObject::operator=(source);
72 0 : fCTPLatency = source.fCTPLatency;
73 0 : return *this;
74 0 : }
75 :
|