//
//gener->SetVertexSmear(perTrack);
// Magnetic field
- AliMagFMaps* field = new AliMagFMaps("Maps","Maps", 2, 1., 10., smag);
+ AliMagF* field = new AliMagF("Maps","Maps", 1., 1., smag);
field->SetL3ConstField(0); //Using const. field in the barrel
+ TGeoGlobalMagField::Instance()->SetField(field);
+
rl->CdGAFile();
- gAlice->SetField(field);
Int_t iABSO = 1;
Int_t iDIPO = 1;