]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ZDC/AliZDCMBCalib.cxx
Typo corrected
[u/mrichter/AliRoot.git] / ZDC / AliZDCMBCalib.cxx
CommitLineData
0d579f58 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///////////////////////////////////////////////////////////////////////////////
17// //
18// class for ZDC ENERGY calibration //
19// -> values for energy calibration //
20// //
21///////////////////////////////////////////////////////////////////////////////
22
23#include "AliZDCMBCalib.h"
24
25ClassImp(AliZDCMBCalib)
26
27//________________________________________________________________
28AliZDCMBCalib::AliZDCMBCalib():
29 TNamed(),
30 fhZDCvsZEM(0x0),
31 fhZDCCvsZEM(0x0),
32 fhZDCAvsZEM(0x0)
33{
34 Reset();
35}
36
37//________________________________________________________________
38AliZDCMBCalib::AliZDCMBCalib(const char* name):
39 TNamed(),
40 fhZDCvsZEM(0x0),
41 fhZDCCvsZEM(0x0),
42 fhZDCAvsZEM(0x0)
43{
44 // Constructor
45 TString namst = "Calib_";
46 namst += name;
47 SetName(namst.Data());
48 SetTitle(namst.Data());
49 Reset();
50}
51
52//________________________________________________________________
53AliZDCMBCalib::AliZDCMBCalib(const char* name,
54 TH2F *hzdcvszem, TH2F *hzdccvszem, TH2F *hzdcavszem):
55 TNamed(),
56 fhZDCvsZEM(hzdcvszem),
57 fhZDCCvsZEM(hzdccvszem),
58 fhZDCAvsZEM(hzdcavszem)
59{
60 // Constructor
61 TString namst = "Calib_";
62 namst += name;
63 SetName(namst.Data());
64 SetTitle(namst.Data());
65 Reset();
66}
67
68//________________________________________________________________
69AliZDCMBCalib::AliZDCMBCalib(const AliZDCMBCalib& calibda) :
90936733 70 TNamed(calibda),
71 fhZDCvsZEM(0),
72 fhZDCCvsZEM(0),
73 fhZDCAvsZEM(0)
0d579f58 74{
75 // Copy constructor
76 SetName(calibda.GetName());
77 SetTitle(calibda.GetName());
78 Reset();
79 fhZDCvsZEM = calibda.GethZDCvsZEM();
80 fhZDCCvsZEM = calibda.GethZDCCvsZEM();
81 fhZDCAvsZEM = calibda.GethZDCAvsZEM();
82
83
84}
85
86//________________________________________________________________
87AliZDCMBCalib &AliZDCMBCalib::operator =(const AliZDCMBCalib& calibda)
88{
89// assignment operator
90 SetName(calibda.GetName());
91 SetTitle(calibda.GetName());
92 Reset();
93 fhZDCvsZEM = calibda.GethZDCvsZEM();
94 fhZDCCvsZEM = calibda.GethZDCCvsZEM();
95 fhZDCAvsZEM = calibda.GethZDCAvsZEM();
96
97 return *this;
98}
99
100//________________________________________________________________
101AliZDCMBCalib::~AliZDCMBCalib()
102{
103}
104
105//________________________________________________________________
106void AliZDCMBCalib::Reset()
107{
108 // Reset
109
110}
111