]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
default 2012/13 geo
authorloizides <loizides@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 9 Oct 2013 12:41:58 +0000 (12:41 +0000)
committerloizides <loizides@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 9 Oct 2013 12:41:58 +0000 (12:41 +0000)
PWG/EMCAL/AliEmcalSetupTask.cxx

index 47017eaa78bdf6ed74a8889027f43dce54551368..492782b5a04261c9ec3bc3c754cb8669c4506ca4 100644 (file)
@@ -65,15 +65,15 @@ void AliEmcalSetupTask::UserExec(Option_t *)
   am->LoadBranch("AliESDHeader.");
 
   Int_t runno = InputEvent()->GetRunNumber();
-  TString geoname("EMCAL_FIRSTYEARV1");
-  Int_t year = 2010;
-  if (runno>139517) {
+  TString geoname("EMCAL_COMPLETE12SMV1");
+  Int_t year = 2012;
+  if (runno<=139517) {
+    year = 2010;
+    geoname = "EMCAL_FIRSTYEARV1";
+  }
+  else if (runno>139517) {
     year = 2011;
     geoname = "EMCAL_COMPLETEV1";
-  } 
-  if (runno>170593) {
-    year = 2012;
-    geoname = "EMCAL_COMPLETE12SMV1";
   }
 
   AliEMCALGeometry *geom = AliEMCALGeometry::GetInstance(geoname);