]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - LHC/AliLhcIRegion.cxx
Warning messages corrected.
[u/mrichter/AliRoot.git] / LHC / AliLhcIRegion.cxx
index 7743547b5118ad6ae93e90ab88da1b33c6cb674d..fbde1796e956003ee19538b738b291d2193f2fec 100644 (file)
@@ -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");
 
 }