EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <acts/blob/sPHENIX/Examples/Io/Root/include/ActsExamples/Io/Root/RootBFieldWriter.hpp>
Classes | |
struct | Config |
Public Types | |
enum | GridType |
Describes the axes definition of the grid of the magnetic field map. More... | |
Static Public Member Functions | |
static void | run (const Config &cfg, std::unique_ptr< const Acts::Logger > p_logger=Acts::getDefaultLogger("RootBFieldWriter", Acts::Logging::INFO)) |
Write down an interpolated magnetic field map. | |
Writes out the Acts::InterpolatedbFieldMap. Currently implemented for 'rz' and 'xyz' field maps.
Definition at line 37 of file RootBFieldWriter.hpp.
View newest version in sPHENIX GitHub at line 37 of file RootBFieldWriter.hpp
enum ActsExamples::RootBFieldWriter::GridType |
Describes the axes definition of the grid of the magnetic field map.
Definition at line 40 of file RootBFieldWriter.hpp.
View newest version in sPHENIX GitHub at line 40 of file RootBFieldWriter.hpp
|
inlinestatic |
Write down an interpolated magnetic field map.
Definition at line 77 of file RootBFieldWriter.hpp.
View newest version in sPHENIX GitHub at line 77 of file RootBFieldWriter.hpp
References ACTS_INFO, ACTS_LOCAL_LOGGER, ActsExamples::RootBFieldWriter< bfield_t >::Config::bField, Acts::IntegrationTest::bField, Acts::IntegrationTest::Bz, cos(), ActsExamples::RootBFieldWriter< bfield_t >::Config::fileMode, ActsExamples::RootBFieldWriter< bfield_t >::Config::fileName, ActsExamples::RootBFieldWriter< bfield_t >::Config::gridType, k, M_PI, Acts::Test::minPhi, Acts::UnitConstants::mm, Acts::IntegrationTest::nBinsR, Acts::IntegrationTest::nBinsZ, Acts::VectorHelpers::perp(), phi, ActsExamples::RootBFieldWriter< bfield_t >::Config::phiBins, Acts::VectorHelpers::position(), ActsExamples::RootBFieldWriter< bfield_t >::Config::rBins, ActsExamples::RootBFieldWriter< bfield_t >::Config::rBounds, Acts::UnitConstants::T, ActsExamples::RootBFieldWriter< bfield_t >::Config::treeName, x, y, z, ActsExamples::RootBFieldWriter< bfield_t >::Config::zBins, and ActsExamples::RootBFieldWriter< bfield_t >::Config::zBounds.
Referenced by ActsExamples::BField::writeField().