]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/MUONStatusMap.C
Include EAs from offline c3 fits
[u/mrichter/AliRoot.git] / MUON / MUONStatusMap.C
index 0b19c04560b52a3a61db6439f9023281d513b479..75605e423569534663a845a65dc8fb7fb716e0dc 100644 (file)
@@ -288,7 +288,8 @@ void DrawPeriod(double run1, double run2, double ymin, double ymax, const char*
   b->SetFillColor(5);
   b->Draw();
   TText* text = new TText((run1+run2)/2.0,ymax*0.6,label);
-  text->SetTextSize(0.05);
+  text->SetTextAlign(22);
+  text->SetTextSize(0.02);
   text->Draw();
 }
 
@@ -356,10 +357,32 @@ void DrawEvolution(const char* file, bool normalized=true)
 
   DrawPeriod(167703,170593,0,ymax,"11h");
 
-  DrawPeriod(176661,177295,0,ymax,"12a");
+  // 2012
+    
+    DrawPeriod(176661,177295,0,ymax,"12a");
+
+    DrawPeriod(177384,178053,0,ymax,"12b");
 
-  DrawPeriod(177384,178053,0,ymax,"12b");
+    DrawPeriod(179603,180569,0,ymax,"12c");
 
+    DrawPeriod(183913,186320,0,ymax,"12d");
+    
+    DrawPeriod(186365,186602,0,ymax,"12e");
+    
+    DrawPeriod(186668,188123,0,ymax,"12f");
+    
+    DrawPeriod(188362,188503,0,ymax,"12g");
+    
+    DrawPeriod(189122,190110,0,ymax,"12h");
+  
+  // 2013
+  
+  DrawPeriod(195344,195483,0,ymax,"LHC13b");
+  DrawPeriod(195529,195677,0,ymax,"LHC13c");
+  DrawPeriod(195681,195873,0,ymax,"LHC13d");
+  DrawPeriod(195949,196311,0,ymax,"LHC13e");
+  DrawPeriod(196433,197388,0,ymax,"LHC13f");
+  
   Draw(f,"nbad",l,normalized);
   Draw(f,"nbadped",l,normalized);
   Draw(f,"nbadocc",l,normalized);
@@ -400,14 +423,18 @@ void MUONStatusMapEvolution(const char* runlist, const char* outfile)
     return;    
   }
   
-  int year(2012);
+  int year(2013);
   
   if ( runs[0] <= 139699 ) year=2010;
   
   if ( runs[0] <= 176000 ) year=2011;
+  
+  if ( runs[0] <= 195344 ) year = 2012;
       
   AliCDBManager::Instance()->SetDefaultStorage(Form("alien://folder=/alice/data/%d/OCDB?cacheFold=/local/cdb",year));
-  
+
+//  AliCDBManager::Instance()->SetDefaultStorage("local:///Users/laurent/Alice/OCDBcopy2013");
+//
   TList glist;
   
   glist.SetOwner(kTRUE);