saveViews macro fixed. Some macros are now being compiled before using to fix issues...
[u/mrichter/AliRoot.git] / EVE / macros / mf_fix.C
1 // Fix magnetic field ... so that we can display
2 // old data from alien.
3
4 void mf_fix(Double_t f=-1.)
5 {
6   AliMagF* fld = new AliMagF("Map", "Map", f, 1.0, AliMagF::k5kG, AliMagF::kNoBeamField, -1.0);
7   TGeoGlobalMagField::Instance()->SetField(fld);
8   TGeoGlobalMagField::Instance()->Lock();
9 }