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