Analysis Software
Documentation for sPHENIX simulation software
|
#include "ActsExamples/Framework/Sequencer.hpp"
#include "ActsExamples/Io/Root/RootBFieldWriter.hpp"
#include "ActsExamples/MagneticField/MagneticField.hpp"
#include "ActsExamples/Options/CommonOptions.hpp"
#include "ActsExamples/Options/MagneticFieldOptions.hpp"
#include "ActsExamples/Utilities/Options.hpp"
#include <string>
#include <boost/program_options.hpp>
Go to the source code of this file.
Functions | |
int | main (int argc, char *argv[]) |
int main | ( | int | argc, |
char * | argv[] | ||
) |
The main executable
Creates an InterpolatedBFieldMap from a txt or csv file and writes out the grid points and values of the map into root format. The Field can then be displayed using the root script printBField.cpp
Definition at line 27 of file BFieldExample.cpp.
View newest version in sPHENIX GitHub at line 27 of file BFieldExample.cpp
References ActsExamples::Options::addMagneticFieldOptions(), ActsExamples::RootBFieldWriter::Config::bField, Acts::IntegrationTest::bField, boost::dynamic_pointer_cast(), ActsExamples::RootBFieldWriter::Config::fileName, ActsExamples::RootBFieldWriter::Config::gridType, ActsExamples::Options::makeDefaultOptions(), Acts::UnitConstants::mm, ActsExamples::Options::parse(), ActsExamples::RootBFieldWriter::Config::phiBins, ActsExamples::RootBFieldWriter::Config::rBins, rBounds, ActsExamples::RootBFieldWriter::Config::rBounds, ActsExamples::Options::readMagneticField(), ActsExamples::RootBFieldWriter::run(), ActsExamples::RootBFieldWriter::Config::treeName, physmon_ckf_tracking::u, value, ActsExamples::RootBFieldWriter::Config::zBins, and ActsExamples::RootBFieldWriter::Config::zBounds.