// Set the trigger configuration
if ((embedrun == kBackground) || (embedrun == kMerged)) {
- gAlice->SetTriggerDescriptor("Pb-Pb");
+ AliSimulation::Instance()->SetTriggerConfig("Pb-Pb");
cout<<"Trigger configuration is set to Pb-Pb"<<endl;
}
else {
// Set the trigger configuration: proton-proton
- gAlice->SetTriggerDescriptor("p-p");
+ AliSimulation::Instance()->SetTriggerConfig("p-p");
}
//
// AliMagF* field = 0x0;
if (mag == kNoField) {
comment = comment.Append(" | L3 field 0.0 T");
- // field = new AliMagF("Maps","Maps", 2, 0., 0., 10., AliMagF::k2kG);
- TGeoGlobalMagField::Instance()->SetField(new AliMagF("Maps","Maps", 2, 1., 1., 10., AliMagF::k5kG));
+ TGeoGlobalMagField::Instance()->SetField(new AliMagF("Maps","Maps", 0., 0., AliMagF::k5kGUniform));
} else if (mag == k5kG) {
comment = comment.Append(" | L3 field 0.5 T");
- TGeoGlobalMagField::Instance()->SetField(new AliMagF("Maps","Maps", 2, 1., 1., 10., AliMagF::kNoField));
-// field = new AliMagFCheb("Maps","Maps", 2, 1., 1., 10., AliMagF::k5kG);
+ TGeoGlobalMagField::Instance()->SetField(new AliMagF("Maps","Maps", -1., -1., AliMagF::k5kG));
}
printf("\n \n Comment: %s \n \n", comment.Data());
// TGeoGlobalMagField::Instance()->SetField(field);