1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
16 /* $Id: AliTRDCalDCSGTU.cxx 18952 2007-06-08 11:36:12Z cblume $ */
18 ///////////////////////////////////////////////////////////////////////////////
20 // TRD calibration class for TRD DCS GTU parameters //
22 ///////////////////////////////////////////////////////////////////////////////
24 #include "AliTRDCalDCSGTU.h"
25 #include "AliTRDCalDCSGTUTgu.h"
26 #include <TObjArray.h>
28 ClassImp(AliTRDCalDCSGTU)
30 //_____________________________________________________________________________
31 AliTRDCalDCSGTU::AliTRDCalDCSGTU()
37 ,fSegmentsArr(new TObjArray())
38 ,fTgu(new AliTRDCalDCSGTUTgu())
41 // AliTRDCalDCSGTU default constructor
43 fSegmentsArr->SetOwner();
46 //_____________________________________________________________________________
47 AliTRDCalDCSGTU::AliTRDCalDCSGTU(const char *name, const char *title)
53 ,fSegmentsArr(new TObjArray())
54 ,fTgu(new AliTRDCalDCSGTUTgu())
57 // AliTRDCalDCSGTU constructor
61 //_____________________________________________________________________________
62 AliTRDCalDCSGTU::AliTRDCalDCSGTU(const AliTRDCalDCSGTU&)
68 ,fSegmentsArr(new TObjArray())
69 ,fTgu(new AliTRDCalDCSGTUTgu())
72 // AliTRDCalDCSGTU constructor
76 //_____________________________________________________________________________
77 AliTRDCalDCSGTU::~AliTRDCalDCSGTU()
80 // AliTRDCalDCSGTU destructor
84 fSegmentsArr->Delete();
96 //_____________________________________________________________________________
97 AliTRDCalDCSGTU& AliTRDCalDCSGTU::operator=(const AliTRDCalDCSGTU& sh)
100 // AliTRDCalDCSGTU constructor
102 if (&sh == this) return *this;
104 new (this) AliTRDCalDCSGTU(sh);