X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=LHC%2FAliLhcIRegion.cxx;h=fbde1796e956003ee19538b738b291d2193f2fec;hb=e76f229f6fd743bf870bdecc2cf2c8e5b2a9af25;hp=7743547b5118ad6ae93e90ab88da1b33c6cb674d;hpb=1bb2a43ceef1dca3c1d67438db3b1c7dbbdda216;p=u%2Fmrichter%2FAliRoot.git diff --git a/LHC/AliLhcIRegion.cxx b/LHC/AliLhcIRegion.cxx index 7743547b511..fbde1796e95 100644 --- a/LHC/AliLhcIRegion.cxx +++ b/LHC/AliLhcIRegion.cxx @@ -39,6 +39,7 @@ AliLhcIRegion::AliLhcIRegion(AliLHC* lhc, const char* name, const char* title) } AliLhcIRegion::AliLhcIRegion(const AliLhcIRegion& region) + : TNamed(region), AliLhcMonitor(region) { // copy constructor } @@ -53,7 +54,7 @@ AliLhcIRegion::~AliLhcIRegion() } -AliLhcIRegion& AliLhcIRegion::operator=(const AliLhcIRegion & rhs) +AliLhcIRegion& AliLhcIRegion::operator=(const AliLhcIRegion & /*rhs*/) { // Assignment operator return *this; @@ -207,7 +208,7 @@ void AliLhcIRegion::DrawPlots() mg->Draw("AC"); TCanvas *c2 = new TCanvas(name2,title, 200, 10, 700, 500); - c1->SetGrid(); + c2->SetGrid(); grLumiB->Draw("AC"); }