 |
Belle II Software
release-05-02-19
|
12 #ifndef GEOMETRY_MODULES_CREATEFIELDMAPMODULE_H
13 #define GEOMETRY_MODULES_CREATEFIELDMAPMODULE_H
15 #include <framework/core/Module.h>
std::string m_type
type of the fieldmap (zx, zy, zr)
virtual void beginRun() override
Create the fieldmap.
@ c_ZY
scan along ZY plane
int m_nU
number of steps along the first coordinate
bool m_createTree
if true create a TTree with all sampled points
double m_minU
start value for the first coordinate
double m_maxU
end value for the first coordinate
double m_maxV
end value for the first coordinate
int m_nV
number of steps along the second coordinate
Create Field maps of the Belle II magnetic field used in the simulation.
std::string m_filename
output filename for the fieldmap
double m_minV
start value for the first coordinate
Abstract base class for different kinds of events.
@ c_ZX
scan along ZX plane
double m_phi
phi rotation when sampling magnetic field (value of pi will convert ZX to ZY scan)
CreateFieldMapModule()
Constructor: Sets the description, the properties and the parameters of the module.
@ c_XY
scan along XY plane
EFieldTypes
Types of Fieldmap to be created.
int m_nPhi
number of steps in phi
virtual void initialize() override
Check input parameters.
double m_wOffset
offset on the third coordinate
@ c_ZR
scan along Z and R, averaging over phi