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 **************************************************************************/
18 ///////////////////////////////////////////////////////////////////////////////
20 // TRD calibration class for parameters which saved per detector //
22 ///////////////////////////////////////////////////////////////////////////////
24 #include "AliTRDCalDet.h"
26 ClassImp(AliTRDCalDet)
28 //_____________________________________________________________________________
29 AliTRDCalDet::AliTRDCalDet():TNamed()
32 // AliTRDCalDet default constructor
35 for (Int_t idet = 0; idet < kNdet; idet++) {
41 //_____________________________________________________________________________
42 AliTRDCalDet::AliTRDCalDet(const Text_t *name, const Text_t *title)
46 // AliTRDCalDet constructor
49 for (Int_t idet = 0; idet < kNdet; idet++) {
56 //_____________________________________________________________________________
57 AliTRDCalDet::AliTRDCalDet(const AliTRDCalDet &c):TNamed(c)
60 // AliTRDCalDet copy constructor
63 ((AliTRDCalDet &) c).Copy(*this);
67 ///_____________________________________________________________________________
68 AliTRDCalDet::~AliTRDCalDet()
71 // AliTRDCalDet destructor
76 //_____________________________________________________________________________
77 AliTRDCalDet &AliTRDCalDet::operator=(const AliTRDCalDet &c)
80 // Assignment operator
83 if (this != &c) ((AliTRDCalDet &) c).Copy(*this);
88 //_____________________________________________________________________________
89 void AliTRDCalDet::Copy(TObject &c) const
95 for (Int_t idet = 0; idet < kNdet; idet++) {
96 ((AliTRDCalDet &) c).fData[idet] = fData[idet];