]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ZDC/AliZDCMBCalib.cxx
Removing unuseful prints
[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) :
70 TNamed(calibda)
71{
72 // Copy constructor
73 SetName(calibda.GetName());
74 SetTitle(calibda.GetName());
75 Reset();
76 fhZDCvsZEM = calibda.GethZDCvsZEM();
77 fhZDCCvsZEM = calibda.GethZDCCvsZEM();
78 fhZDCAvsZEM = calibda.GethZDCAvsZEM();
79
80
81}
82
83//________________________________________________________________
84AliZDCMBCalib &AliZDCMBCalib::operator =(const AliZDCMBCalib& calibda)
85{
86// assignment operator
87 SetName(calibda.GetName());
88 SetTitle(calibda.GetName());
89 Reset();
90 fhZDCvsZEM = calibda.GethZDCvsZEM();
91 fhZDCCvsZEM = calibda.GethZDCCvsZEM();
92 fhZDCAvsZEM = calibda.GethZDCAvsZEM();
93
94 return *this;
95}
96
97//________________________________________________________________
98AliZDCMBCalib::~AliZDCMBCalib()
99{
100}
101
102//________________________________________________________________
103void AliZDCMBCalib::Reset()
104{
105 // Reset
106
107}
108