]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/Cal/AliTRDCalDCSGTU.cxx
Modifications by Thomas
[u/mrichter/AliRoot.git] / TRD / Cal / AliTRDCalDCSGTU.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 /* $Id: AliTRDCalDCSGTU.cxx 18952 2007-06-08 11:36:12Z cblume $ */
17
18 ///////////////////////////////////////////////////////////////////////////////
19 //                                                                           //
20 //  TRD calibration class for TRD DCS GTU parameters                         //
21 //                                                                           //
22 ///////////////////////////////////////////////////////////////////////////////
23
24 #include "AliTRDCalDCSGTU.h"
25
26 ClassImp(AliTRDCalDCSGTU)
27
28 //_____________________________________________________________________________
29 AliTRDCalDCSGTU::AliTRDCalDCSGTU()
30   :TNamed()
31     ,fRunNumber(0)
32     ,fSORFlag(0)
33     ,fSerial(0)
34     ,fDNR(-1)
35     ,fSegmentsArr(new TObjArray())
36     ,fTgu(new AliTRDCalDCSGTUTgu())
37 {
38   //
39   // AliTRDCalDCSGTU default constructor
40   //
41   fSegmentsArr->SetOwner();
42 }
43
44 //_____________________________________________________________________________
45 AliTRDCalDCSGTU::AliTRDCalDCSGTU(const char *name, const char *title)
46   :TNamed(name,title)
47     ,fRunNumber(0)
48     ,fSORFlag(0)
49     ,fSerial(0)
50     ,fDNR(-1)
51     ,fSegmentsArr(new TObjArray())
52     ,fTgu(new AliTRDCalDCSGTUTgu())
53 {
54   //
55   // AliTRDCalDCSGTU constructor
56   //
57 }
58
59 //_____________________________________________________________________________
60 AliTRDCalDCSGTU::AliTRDCalDCSGTU(const AliTRDCalDCSGTU&)
61   :TNamed("","")
62     ,fRunNumber(0)
63     ,fSORFlag(0)
64     ,fSerial(0)
65     ,fDNR(-1)
66     ,fSegmentsArr(new TObjArray())
67     ,fTgu(new AliTRDCalDCSGTUTgu())
68 {
69   //
70   // AliTRDCalDCSGTU constructor
71   //
72 }
73
74 //_____________________________________________________________________________
75 AliTRDCalDCSGTU& AliTRDCalDCSGTU::operator=(const AliTRDCalDCSGTU& sh)
76 {
77   //
78   // AliTRDCalDCSGTU constructor
79   //
80   if (&sh == this) return *this;
81   
82   new (this) AliTRDCalDCSGTU(sh);
83   return *this;
84 }
85
86
87