|
Celeritas 0.7.0-dev.356+develop.6a0c715
|
#include <G4FieldManager.hh>#include <G4TransportationManager.hh>#include "celeritas/field/CylMapField.hh"#include "celeritas/field/CylMapFieldParams.hh"#include "celeritas/g4/MagneticField.hh"Typedefs | |
| using | celeritas::CylMapMagneticField = celeritas::MagneticField< CylMapFieldParams, CylMapField > |
| Geant4 magnetic field adapter for cylindrical field. | |
Functions | |
| CylMapFieldParams::Input | celeritas::MakeCylMapFieldInput (G4Field const &field, std::vector< G4double > const &r_grid, std::vector< G4double > const &phi_values, std::vector< G4double > const &z_grid) |
| Generates input for CylMapField params with configurable nonuniform grid dimensions in native Geant4 units, and \(\phi\) should be in the range [0; \(2\times\pi\)] using an explicit field. | |
| CylMapFieldParams::Input | celeritas::MakeCylMapFieldInput (std::vector< G4double > const &r_grid, std::vector< G4double > const &phi_values, std::vector< G4double > const &z_grid) |
| Generates input for CylMapField params with configurable nonuniform grid dimensions in native Geant4 units, and \(\phi\) should be in the range [0; \(2\times\pi\)]. | |
| CylMapFieldInput celeritas::MakeCylMapFieldInput | ( | std::vector< G4double > const & | r_grid, |
| std::vector< G4double > const & | phi_values, | ||
| std::vector< G4double > const & | z_grid | ||
| ) |
Generates input for CylMapField params with configurable nonuniform grid dimensions in native Geant4 units, and \(\phi\) should be in the range [0; \(2\times\pi\)].
This must be called after G4RunManager::Initialize as it will retrieve the G4FieldManager's field to sample it.