]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliGRPObject.cxx
Techical fix for report #60453: Request to port into release corrections related...
[u/mrichter/AliRoot.git] / STEER / AliGRPObject.cxx
index 4e383793962b04cd279b07db98d39a77a2b80570..32781f536738bcd3299616e8e651e947e9ee76d6 100644 (file)
@@ -333,7 +333,9 @@ void AliGRPObject::ReadValuesFromMap(const TMap* mapGRP){
        }\r
 \r
        if(mapGRP->GetValue("fAliceBeamEnergy")){\r
-               SetBeamEnergy((((TObjString*)(mapGRP->GetValue("fAliceBeamEnergy")))->GetString()).Atof());\r
+         double be = (((TObjString*)(mapGRP->GetValue("fAliceBeamEnergy")))->GetString()).Atof();\r
+         if (IsBeamEnergyIsSqrtSHalfGeV()) be/=2;   // old format was storig sqrt(s)\r
+         SetBeamEnergy(be);\r
        }\r
        else { \r
                AliError(Form("No fAliceBeamEnergy value found in GRP map!"));\r