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