]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - LHC/AliLhcIRegion.cxx
Removing obsolete files (C.Holm)
[u/mrichter/AliRoot.git] / LHC / AliLhcIRegion.cxx
index 4d521dd37b34820c14984460fa4c8ca722d91fc0..fbde1796e956003ee19538b738b291d2193f2fec 100644 (file)
@@ -13,9 +13,7 @@
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
-/*
-$Log$
-*/
+/* $Id$ */
 
 #include "AliLhcIRegion.h"
 #include "AliLhcBeam.h"
@@ -41,6 +39,7 @@ AliLhcIRegion::AliLhcIRegion(AliLHC* lhc, const char* name, const char* title)
 }
 
 AliLhcIRegion::AliLhcIRegion(const AliLhcIRegion& region)
+    : TNamed(region), AliLhcMonitor(region) 
 {
 // copy constructor
 }
@@ -55,7 +54,7 @@ AliLhcIRegion::~AliLhcIRegion()
 }
 
 
-AliLhcIRegion& AliLhcIRegion::operator=(const  AliLhcIRegion & rhs)
+AliLhcIRegion& AliLhcIRegion::operator=(const  AliLhcIRegion & /*rhs*/)
 {
 // Assignment operator
     return *this;
@@ -209,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");
 
 }