![]() |
EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <TTreeReader.h>#include <TTreeReaderValue.h>#include "TFile.h"#include "TH1F.h"#include "TH2F.h"#include "TProfile.h"#include "TROOT.h"#include "TTree.h"
Include dependency graph for printBField.C:Go to the source code of this file.
Functions | |
| void | printBField (std::string inFile, std::string treeName, std::string outFile, float rmin, float rmax, float zmin, float zmax, int nBins) |
| void printBField | ( | std::string | inFile, |
| std::string | treeName, | ||
| std::string | outFile, | ||
| float | rmin, | ||
| float | rmax, | ||
| float | zmin, | ||
| float | zmax, | ||
| int | nBins | ||
| ) |
to print out the FCC field map please use
ro print out the ATLAS BField map pleas use
| inFile | The root input file containing the magnetic field values and positions either in cylinder (Branch names: 'r','z','Br','Bz') or cartesian coordinates (Branch names: 'x','y','z','Bx','By','Bz') |
| the | name of the tree containing the branches |
| rMin | The minimum value of the position in either r (for cylinder coordinates) or x/y (for cartesian coordinates) to be printed in [m] |
| rMin | The minimum value of the position in either r (for cylinder coordinates) or x/y (for cartesian coordinates) to be printed in [m] |
| rMin | The maximum value of the position in either r (for cylinder coordinates) or x/y (for cartesian coordinates) to be printed in [m] |
| rMin | The minimum value of the position in z in [m] |
| rMin | The maximum value of the position in z in [m] |
| nBins | Number of bins which should be used for the histogram (on all axes) |
Definition at line 48 of file printBField.C.
View newest version in sPHENIX GitHub at line 48 of file printBField.C
References Acts::Test::blue, Acts::IntegrationTest::Bz, Acts::Test::green, reader(), Acts::Test::red, x, y, and z.
Here is the call graph for this function: