]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
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 cc56130afe22baa655bc9de8f3b3e2c9e0647b09..229b6357492703559a0a7f56c74e8d3a7253b6ef 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();