EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
BFieldExample.cpp File Reference
#include "Acts/Utilities/Helpers.hpp"
#include "ActsExamples/Framework/Sequencer.hpp"
#include "ActsExamples/Options/CommonOptions.hpp"
#include "ActsExamples/Plugins/BField/BFieldOptions.hpp"
#include <string>
#include <boost/program_options.hpp>
#include "BFieldWritingBase.hpp"
+ Include dependency graph for BFieldExample.cpp:

Go to the source code of this file.

Classes

struct  always_false< T >
 

Functions

int main (int argc, char *argv[])
 

Function Documentation

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 31 of file BFieldExample.cpp.

View newest version in sPHENIX GitHub at line 31 of file BFieldExample.cpp

References ActsExamples::Options::addBFieldOptions(), Acts::IntegrationTest::bField, ActsExamples::Options::makeDefaultOptions(), ActsExamples::Options::parse(), ActsExamples::Options::readBField(), and value.

+ Here is the call graph for this function: