IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 395f0988 authored by Alan Coleman's avatar Alan Coleman
Browse files

Merge branch 'fix_magnetic_field_in_example' into 'master'

Fix magnetic field vector in em_shower and vertical_EAS examples

See merge request !496
parents daeb2bf0 8eca493c
No related branches found
No related tags found
1 merge request!496Fix magnetic field vector in em_shower and vertical_EAS examples
Pipeline #10532 passed with warnings
......@@ -106,7 +106,7 @@ int main(int argc, char** argv) {
// build a Linsley US Standard atmosphere into `env`
create_5layer_atmosphere<EnvironmentInterface, MyExtraEnv>(
env, AtmosphereId::LinsleyUSStd, center, Medium::AirDry1Atm,
MagneticFieldVector{rootCS, 20.4_uT, 0_T, 43.23_uT});
MagneticFieldVector{rootCS, 20.4_uT, 0_T, -43.23_uT});
std::unordered_map<Code, HEPEnergyType> energy_resolution = {
{Code::Electron, 2_MeV},
......
......@@ -135,7 +135,7 @@ int main(int argc, char** argv) {
// build a Linsley US Standard atmosphere into `env`
create_5layer_atmosphere<EnvironmentInterface, MyExtraEnv>(
env, AtmosphereId::LinsleyUSStd, center, Medium::AirDry1Atm,
MagneticFieldVector{rootCS, 20.4_uT, 0_T, 43.23_uT});
MagneticFieldVector{rootCS, 20.4_uT, 0_T, -43.23_uT});
// Uncomment if you want to use PROPOSAL
// std::unordered_map<Code, HEPEnergyType> energy_resolution = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment