Temp.protection against undefined beam type in Bfield init
authorshahoian <shahoian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 9 Sep 2009 03:18:18 +0000 (03:18 +0000)
committershahoian <shahoian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 9 Sep 2009 03:18:18 +0000 (03:18 +0000)
STEER/AliGRPManager.cxx

index 229b635..386e388 100644 (file)
@@ -142,7 +142,7 @@ Bool_t AliGRPManager::SetMagField()
     if (beamType==AliGRPObject::GetInvalidString()) {
       AliError("GRP/GRP/Data entry:  missing value for the beam type ! Using UNKNOWN");
       beamType = "UNKNOWN";
-      ok = kFALSE;
+      //ok = kFALSE;  // temprorary suppressed to make read cosmics data
     }
 
     Float_t beamEnergy = fGRPData->GetBeamEnergy();