message: move printf to AliFatal and update the message printed
diff: @@ -1502,19 +1502,19 @@ const TGeoHMatrix * AliEMCALGeometry::GetMatrixForSuperModule(Int_t smod) const
  if ( smod < 0 || smod > fEMCGeometry->GetNumberOfSuperModules() )
  AliFatal(Form("Wrong supermodule index -> %d",smod));
  - if (!fkSModuleMatrix[smod]) {
  - if (gGeoManager) {
  + if ( !fkSModuleMatrix[smod] )
  + {
  + if ( gGeoManager )
  SetMisalMatrix( GetMatrixForSuperModuleFromGeoManager(smod), smod );
  + else
  + AliFatal("Cannot find EMCAL misalignment matrices! Recover them either: \n"
  + "\t - importing TGeoManager from file geometry.root or \n"
  + "\t - from OADB in file OADB/EMCAL/EMCALlocal2master.root or \n"
  + "\t - from OCDB in directory OCDB/EMCAL/Align/Data/ or \n"
  + "\t - from AliESDs (not in AliAOD) via AliESDRun::GetEMCALMatrix(Int_t superModIndex). \n"
  + "Store them via AliEMCALGeometry::SetMisalMatrix(Int_t superModIndex)") ;
  }
  - else {
  - AliInfo("Stop:");
  - printf("\t Can not find EMCAL misalignment matrixes\n") ;
  - printf("\t Either import TGeoManager from geometry.root or \n");
  - printf("\t read stored matrixes from AliESD Header: \n") ;
  - printf("\t AliEMCALGeometry::GetMatrixForSuperModule(Int_t smod) \n") ;
  - AliFatal("");
  - }
  - }
  +
  return fkSModuleMatrix[smod];
  }
  