Analysis Software
Documentation for sPHENIX simulation software
|
#include <TTreeReader.h>
#include <TTreeReaderValue.h>
#include "TFile.h"
#include "TH1F.h"
#include "TH2F.h"
#include "TProfile.h"
#include "TROOT.h"
#include "TTree.h"
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 please 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, i, physmon_track_finding_ttbar::r, summary::reader, Acts::Test::red, tree, ambiguity_solver_full_chain::x, y, and physmon_track_finding_ttbar::z.