]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TRD/AliTRDCalDet.cxx
Now the full chain includes raw data.
[u/mrichter/AliRoot.git] / TRD / AliTRDCalDet.cxx
CommitLineData
3551db50 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$ */
17
18///////////////////////////////////////////////////////////////////////////////
19// //
20// TRD calibration class for parameters which saved per detector //
21// //
22///////////////////////////////////////////////////////////////////////////////
23
24#include "AliTRDCalDet.h"
25
26ClassImp(AliTRDCalDet)
27
28//_____________________________________________________________________________
29AliTRDCalDet::AliTRDCalDet():TNamed()
30{
31 //
32 // AliTRDCalDet default constructor
33 //
34
35 for (Int_t idet = 0; idet < kNdet; idet++) {
36 fData[idet] = 0;
37 }
38
39}
40
41//_____________________________________________________________________________
42AliTRDCalDet::AliTRDCalDet(const Text_t *name, const Text_t *title)
43 :TNamed(name,title)
44{
45 //
46 // AliTRDCalDet constructor
47 //
48
49 for (Int_t idet = 0; idet < kNdet; idet++) {
50 fData[idet] = 0;
51 }
52
53}
54
55
56//_____________________________________________________________________________
57AliTRDCalDet::AliTRDCalDet(const AliTRDCalDet &c):TNamed(c)
58{
59 //
60 // AliTRDCalDet copy constructor
61 //
62
63 ((AliTRDCalDet &) c).Copy(*this);
64
65}
66
67///_____________________________________________________________________________
68AliTRDCalDet::~AliTRDCalDet()
69{
70 //
71 // AliTRDCalDet destructor
72 //
73
74}
75
76//_____________________________________________________________________________
77AliTRDCalDet &AliTRDCalDet::operator=(const AliTRDCalDet &c)
78{
79 //
80 // Assignment operator
81 //
82
83 if (this != &c) ((AliTRDCalDet &) c).Copy(*this);
84 return *this;
85
86}
87
88//_____________________________________________________________________________
89void AliTRDCalDet::Copy(TObject &c) const
90{
91 //
92 // Copy function
93 //
94
95 for (Int_t idet = 0; idet < kNdet; idet++) {
96 ((AliTRDCalDet &) c).fData[idet] = fData[idet];
97 }
98
99 TObject::Copy(c);
100
101}
102