Restore the changes from rev. 34587
authorshahoian <shahoian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 8 Sep 2009 22:40:04 +0000 (22:40 +0000)
committershahoian <shahoian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 8 Sep 2009 22:40:04 +0000 (22:40 +0000)
STEER/AliGRPManager.cxx

index cc56130..229b635 100644 (file)
@@ -151,8 +151,9 @@ Bool_t AliGRPManager::SetMagField()
       beamEnergy = 0;
       //ok = kFALSE;  // temprorary suppressed to make read cosmics data
     }
-    beamEnergy /= 120E3;       // energy is provided in MeV*120
-
+    // LHC: "multiply by 120 to get the energy in MeV"
+    beamEnergy *= 0.120;
+  
     // read special bits for the polarity convention and map type
     Int_t  polConvention = fGRPData->IsPolarityConventionLHC() ? AliMagF::kConvLHC : AliMagF::kConvDCS2008;
     Bool_t uniformB = fGRPData->IsUniformBMap();