Framework Unit of Magnetic Field: Discrepancy btw. Code & Manual
@dabacher found that while the default unit for the magnetic field strength is stated as T
in the manual, it actually is implemented as kT
in the code. Relevant commits:
@pschutze could you confirm that the values as used now should be used in kT
in the framework? Relevant places using the magnetic field in the framework are:
- Interface to Geant4: https://gitlab.cern.ch/allpix-squared/allpix-squared/-/blob/master/src/modules/DepositionGeant4/DepositionGeant4Module.cpp#L370-371
- Carrier velocity / Lorentz drift: https://gitlab.cern.ch/allpix-squared/allpix-squared/-/blob/master/src/modules/GenericPropagation/GenericPropagationModule.cpp#L458-480 (both GenericPropagation & TransientPropagation)