ROOT logo
/**************************************************************************
 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
 *                                                                        *
 * Author: The ALICE Off-line Project.                                    *
 * Contributors are mentioned in the code where appropriate.              *
 *                                                                        *
 * Permission to use, copy, modify and distribute this software and its   *
 * documentation strictly for non-commercial purposes is hereby granted   *
 * without fee, provided that the above copyright notice appears in all   *
 * copies and that both the copyright notice and this permission notice   *
 * appear in the supporting documentation. The authors make no claims     *
 * about the suitability of this software for any purpose. It is          *
 * provided "as is" without express or implied warranty.                  *
 **************************************************************************/

/* $Id: AliTRDCalDCSGTU.cxx 18952 2007-06-08 11:36:12Z cblume $ */

///////////////////////////////////////////////////////////////////////////////
//                                                                           //
//  TRD calibration class for TRD DCS GTU parameters                         //
//                                                                           //
///////////////////////////////////////////////////////////////////////////////

#include "AliTRDCalDCSGTU.h"
#include "AliTRDCalDCSGTUTgu.h"
#include <TObjArray.h>

ClassImp(AliTRDCalDCSGTU)

//_____________________________________________________________________________
AliTRDCalDCSGTU::AliTRDCalDCSGTU()
  :TNamed()
    ,fRunNumber(0)
    ,fSORFlag(0)
    ,fSerial(0)
    ,fDNR(-1)
    ,fSegmentsArr(new TObjArray())
    ,fTgu(new AliTRDCalDCSGTUTgu())
{
  //
  // AliTRDCalDCSGTU default constructor
  //
  fSegmentsArr->SetOwner();
}

//_____________________________________________________________________________
AliTRDCalDCSGTU::AliTRDCalDCSGTU(const char *name, const char *title)
  :TNamed(name,title)
    ,fRunNumber(0)
    ,fSORFlag(0)
    ,fSerial(0)
    ,fDNR(-1)
    ,fSegmentsArr(new TObjArray())
    ,fTgu(new AliTRDCalDCSGTUTgu())
{
  //
  // AliTRDCalDCSGTU constructor
  //
}

//_____________________________________________________________________________
AliTRDCalDCSGTU::AliTRDCalDCSGTU(const AliTRDCalDCSGTU&)
  :TNamed("","")
    ,fRunNumber(0)
    ,fSORFlag(0)
    ,fSerial(0)
    ,fDNR(-1)
    ,fSegmentsArr(new TObjArray())
    ,fTgu(new AliTRDCalDCSGTUTgu())
{
  //
  // AliTRDCalDCSGTU constructor
  //
}

//_____________________________________________________________________________
AliTRDCalDCSGTU::~AliTRDCalDCSGTU()
{
  //
  // AliTRDCalDCSGTU destructor
  //

  if (fSegmentsArr) {
    fSegmentsArr->Delete();
    delete fSegmentsArr;
    fSegmentsArr = 0x0;
  }

  if (fTgu) {
    delete fTgu;
    fTgu = 0x0;
  }

}

//_____________________________________________________________________________
AliTRDCalDCSGTU& AliTRDCalDCSGTU::operator=(const AliTRDCalDCSGTU& sh)
{
  //
  // AliTRDCalDCSGTU constructor
  //
  if (&sh == this) return *this;
  
  new (this) AliTRDCalDCSGTU(sh);
  return *this;
}



 AliTRDCalDCSGTU.cxx:1
 AliTRDCalDCSGTU.cxx:2
 AliTRDCalDCSGTU.cxx:3
 AliTRDCalDCSGTU.cxx:4
 AliTRDCalDCSGTU.cxx:5
 AliTRDCalDCSGTU.cxx:6
 AliTRDCalDCSGTU.cxx:7
 AliTRDCalDCSGTU.cxx:8
 AliTRDCalDCSGTU.cxx:9
 AliTRDCalDCSGTU.cxx:10
 AliTRDCalDCSGTU.cxx:11
 AliTRDCalDCSGTU.cxx:12
 AliTRDCalDCSGTU.cxx:13
 AliTRDCalDCSGTU.cxx:14
 AliTRDCalDCSGTU.cxx:15
 AliTRDCalDCSGTU.cxx:16
 AliTRDCalDCSGTU.cxx:17
 AliTRDCalDCSGTU.cxx:18
 AliTRDCalDCSGTU.cxx:19
 AliTRDCalDCSGTU.cxx:20
 AliTRDCalDCSGTU.cxx:21
 AliTRDCalDCSGTU.cxx:22
 AliTRDCalDCSGTU.cxx:23
 AliTRDCalDCSGTU.cxx:24
 AliTRDCalDCSGTU.cxx:25
 AliTRDCalDCSGTU.cxx:26
 AliTRDCalDCSGTU.cxx:27
 AliTRDCalDCSGTU.cxx:28
 AliTRDCalDCSGTU.cxx:29
 AliTRDCalDCSGTU.cxx:30
 AliTRDCalDCSGTU.cxx:31
 AliTRDCalDCSGTU.cxx:32
 AliTRDCalDCSGTU.cxx:33
 AliTRDCalDCSGTU.cxx:34
 AliTRDCalDCSGTU.cxx:35
 AliTRDCalDCSGTU.cxx:36
 AliTRDCalDCSGTU.cxx:37
 AliTRDCalDCSGTU.cxx:38
 AliTRDCalDCSGTU.cxx:39
 AliTRDCalDCSGTU.cxx:40
 AliTRDCalDCSGTU.cxx:41
 AliTRDCalDCSGTU.cxx:42
 AliTRDCalDCSGTU.cxx:43
 AliTRDCalDCSGTU.cxx:44
 AliTRDCalDCSGTU.cxx:45
 AliTRDCalDCSGTU.cxx:46
 AliTRDCalDCSGTU.cxx:47
 AliTRDCalDCSGTU.cxx:48
 AliTRDCalDCSGTU.cxx:49
 AliTRDCalDCSGTU.cxx:50
 AliTRDCalDCSGTU.cxx:51
 AliTRDCalDCSGTU.cxx:52
 AliTRDCalDCSGTU.cxx:53
 AliTRDCalDCSGTU.cxx:54
 AliTRDCalDCSGTU.cxx:55
 AliTRDCalDCSGTU.cxx:56
 AliTRDCalDCSGTU.cxx:57
 AliTRDCalDCSGTU.cxx:58
 AliTRDCalDCSGTU.cxx:59
 AliTRDCalDCSGTU.cxx:60
 AliTRDCalDCSGTU.cxx:61
 AliTRDCalDCSGTU.cxx:62
 AliTRDCalDCSGTU.cxx:63
 AliTRDCalDCSGTU.cxx:64
 AliTRDCalDCSGTU.cxx:65
 AliTRDCalDCSGTU.cxx:66
 AliTRDCalDCSGTU.cxx:67
 AliTRDCalDCSGTU.cxx:68
 AliTRDCalDCSGTU.cxx:69
 AliTRDCalDCSGTU.cxx:70
 AliTRDCalDCSGTU.cxx:71
 AliTRDCalDCSGTU.cxx:72
 AliTRDCalDCSGTU.cxx:73
 AliTRDCalDCSGTU.cxx:74
 AliTRDCalDCSGTU.cxx:75
 AliTRDCalDCSGTU.cxx:76
 AliTRDCalDCSGTU.cxx:77
 AliTRDCalDCSGTU.cxx:78
 AliTRDCalDCSGTU.cxx:79
 AliTRDCalDCSGTU.cxx:80
 AliTRDCalDCSGTU.cxx:81
 AliTRDCalDCSGTU.cxx:82
 AliTRDCalDCSGTU.cxx:83
 AliTRDCalDCSGTU.cxx:84
 AliTRDCalDCSGTU.cxx:85
 AliTRDCalDCSGTU.cxx:86
 AliTRDCalDCSGTU.cxx:87
 AliTRDCalDCSGTU.cxx:88
 AliTRDCalDCSGTU.cxx:89
 AliTRDCalDCSGTU.cxx:90
 AliTRDCalDCSGTU.cxx:91
 AliTRDCalDCSGTU.cxx:92
 AliTRDCalDCSGTU.cxx:93
 AliTRDCalDCSGTU.cxx:94
 AliTRDCalDCSGTU.cxx:95
 AliTRDCalDCSGTU.cxx:96
 AliTRDCalDCSGTU.cxx:97
 AliTRDCalDCSGTU.cxx:98
 AliTRDCalDCSGTU.cxx:99
 AliTRDCalDCSGTU.cxx:100
 AliTRDCalDCSGTU.cxx:101
 AliTRDCalDCSGTU.cxx:102
 AliTRDCalDCSGTU.cxx:103
 AliTRDCalDCSGTU.cxx:104
 AliTRDCalDCSGTU.cxx:105
 AliTRDCalDCSGTU.cxx:106
 AliTRDCalDCSGTU.cxx:107
 AliTRDCalDCSGTU.cxx:108
 AliTRDCalDCSGTU.cxx:109