X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;ds=sidebyside;f=STEER%2FSTEERBase%2FAliMagF.cxx;h=54fcb2dc1a67be195e6ee3812718bc39b83c11b1;hb=6e10208a4e5ae49399d4538e65f11eca5e9edabf;hp=363841a47caac510b43c83de7e258c4a2b4ec7de;hpb=339fbe234cc18fb2789f70c6db88cc110e0848ce;p=u%2Fmrichter%2FAliRoot.git diff --git a/STEER/STEERBase/AliMagF.cxx b/STEER/STEERBase/AliMagF.cxx index 363841a47ca..54fcb2dc1a6 100644 --- a/STEER/STEERBase/AliMagF.cxx +++ b/STEER/STEERBase/AliMagF.cxx @@ -263,7 +263,9 @@ void AliMagF::InitMachineField(BeamType_t btype, Double_t benergy) // double rigScale = benergy/7000.; // scale according to ratio of E/Enominal // for ions assume PbPb (with energy provided per nucleon) and account for A/Z - if (btype==kBeamTypeAA || btype==kBeamTypepA || btype==kBeamTypeAp) rigScale *= 208./82.; + if (btype==kBeamTypeAA/* || btype==kBeamTypepA || btype==kBeamTypeAp */) rigScale *= 208./82.; + // Attention: in p-Pb the energy recorded in the GRP is the PROTON energy, no rigidity + // rescaling is needed // fQuadGradient = 22.0002*rigScale; fDipoleField = 37.8781*rigScale;