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 : /* $Id: AliTRDCalDCSGTUTgu.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 "AliTRDCalDCSGTUTgu.h"
25 : #include <TObjArray.h>
26 : #include "AliTRDCalDCSGTUBoardInfo.h"
27 :
28 48 : ClassImp(AliTRDCalDCSGTUTgu)
29 :
30 : //_____________________________________________________________________________
31 : AliTRDCalDCSGTUTgu::AliTRDCalDCSGTUTgu()
32 18 : :TNamed()
33 18 : ,fFromRunNum(0)
34 18 : ,fFromSORFlag(0)
35 18 : ,fFromChild(0)
36 18 : ,fSegmentMask("")
37 18 : ,fBusyMask("")
38 18 : ,fContribMask("")
39 54 : ,fBoardInfo(new AliTRDCalDCSGTUBoardInfo())
40 54 : ,fCtpOpcArr(new TObjArray())
41 90 : {
42 : //
43 : // AliTRDCalDCSGTU default constructor
44 : //
45 18 : fCtpOpcArr->SetOwner();
46 36 : }
47 :
48 : //_____________________________________________________________________________
49 : AliTRDCalDCSGTUTgu::AliTRDCalDCSGTUTgu(const char *name, const char *title)
50 0 : :TNamed(name,title)
51 0 : ,fFromRunNum(0)
52 0 : ,fFromSORFlag(0)
53 0 : ,fFromChild(0)
54 0 : ,fSegmentMask("")
55 0 : ,fBusyMask("")
56 0 : ,fContribMask("")
57 0 : ,fBoardInfo(new AliTRDCalDCSGTUBoardInfo())
58 0 : ,fCtpOpcArr(new TObjArray())
59 0 : {
60 : //
61 : // AliTRDCalDCSGTU constructor
62 : //
63 0 : }
64 :
65 : //_____________________________________________________________________________
66 : AliTRDCalDCSGTUTgu::AliTRDCalDCSGTUTgu(const AliTRDCalDCSGTUTgu&)
67 0 : :TNamed("","")
68 0 : ,fFromRunNum(0)
69 0 : ,fFromSORFlag(0)
70 0 : ,fFromChild(0)
71 0 : ,fSegmentMask("")
72 0 : ,fBusyMask("")
73 0 : ,fContribMask("")
74 0 : ,fBoardInfo(0)
75 0 : ,fCtpOpcArr(0)
76 0 : {
77 : //
78 : // AliTRDCalDCSGTU constructor
79 : //
80 :
81 0 : }
82 :
83 : //_____________________________________________________________________________
84 : AliTRDCalDCSGTUTgu::~AliTRDCalDCSGTUTgu()
85 72 : {
86 : //
87 : // AliTRDCalDCSGTU destructor
88 : //
89 :
90 12 : if (fBoardInfo) {
91 24 : delete fBoardInfo;
92 12 : fBoardInfo = 0x0;
93 12 : }
94 :
95 12 : if (fCtpOpcArr) {
96 12 : fCtpOpcArr->Delete();
97 24 : delete fCtpOpcArr;
98 12 : fCtpOpcArr = 0x0;
99 12 : }
100 :
101 36 : }
102 :
103 : //_____________________________________________________________________________
104 : AliTRDCalDCSGTUTgu& AliTRDCalDCSGTUTgu::operator=(const AliTRDCalDCSGTUTgu& sh)
105 : {
106 : //
107 : // AliTRDCalDCSGTU constructor
108 : //
109 0 : if (&sh == this) return *this;
110 :
111 0 : new (this) AliTRDCalDCSGTUTgu(sh);
112 0 : return *this;
113 0 : }
114 :
115 :
116 :
|