Project

General

Profile

Bug #1813

BTFieldConstructor fails to reset properly

Added by Rogers, Chris over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Fields
Target version:
Start date:
26 January 2016
Due date:
% Done:

100%

Estimated time:
Workflow:
New Issue

Description

Say I have an Electromagnetic field. I try to reinitialise a magnetic-only field using Globals::SetMonteCarloMiceModules(). MAUS does not update the field maps correctly.

Geant4 likes to have a magnetic field map for doing magnetic field stepping integrators, and an electromagnetic field map for doing electromagnetic field stepping integrators. When MAUS updates from an electromagnetic field map to a magnetic field map, only the magnetic field map is reinitialised. This is because the electromagnetic field map never gets reopened because no new fields are added.

Also available in: Atom PDF