message: fix the last SM number of EMCal in Run1 data for histograms definition
diff: @@ -444,18 +444,22 @@ AliCalorimeterUtils* ConfigureCaloUtils(TString calorimeter, TString trigger,
  if(calorimeter=="PHOS")
  {
  - cu->SetNumberOfSuperModulesUsed(3);
  + if(year < 2014) cu->SetNumberOfSuperModulesUsed(3);
  + else cu->SetNumberOfSuperModulesUsed(4);
  }
  else
  {
  - if (year == 2010) cu->SetNumberOfSuperModulesUsed(4); // EMCAL first year
  - else if (year < 2014) cu->SetNumberOfSuperModulesUsed(10);
  - else cu->SetNumberOfSuperModulesUsed(20);
  + Int_t nSM = 20;
  + Int_t lastEMC = 11;
  + if (year == 2010) { nSM = 4; lastEMC = 3; }// EMCAL first year
  + else if (year < 2014) { nSM = 10; lastEMC = 9; }// EMCAL active 2011-2013
  +
  + cu->SetNumberOfSuperModulesUsed(nSM);
  if (trigger.Contains("EMCAL"))
  {
  cu->SetFirstSuperModuleUsed( 0);
  - cu->SetLastSuperModuleUsed (11);
  + cu->SetLastSuperModuleUsed (lastEMC);
  }
  else if (trigger.Contains("DCAL"))
  {
  @@ -467,6 +471,9 @@ AliCalorimeterUtils* ConfigureCaloUtils(TString calorimeter, TString trigger,
  cu->SetFirstSuperModuleUsed(0);
  cu->SetLastSuperModuleUsed (cu->GetNumberOfSuperModulesUsed()-1);
  }
  +
  + printf("AddTaskPi0IMGammaCorrQA - CalorimeterUtils: nSM %d, first %d, last %d\n",
  + cu->GetNumberOfSuperModulesUsed(),cu->GetFirstSuperModuleUsed(), cu->GetLastSuperModuleUsed());
  }
  // PHOS
  