Belle II Software
release-08-01-10
|
Modules | |
geometry data objects | |
geometry modules | |
Classes | |
class | BFieldComponent3d |
The BFieldComponent3d class. More... | |
class | BFieldComponentAbs |
The BFieldComponentAbs class. More... | |
class | BFieldComponentBeamline |
The BFieldComponentBeamline class. More... | |
class | BFieldComponentConstant |
The BFieldComponentConstant class. More... | |
class | BFieldComponentKlm1 |
The Bfieldcomponentklm1 class. More... | |
class | BFieldComponentQuad |
The BFieldComponentQuad class. More... | |
class | BFieldComponentRadial |
The BFieldComponentRadial class. More... | |
class | BFieldFrameworkInterface |
Simple BFieldComponent to just wrap the existing BFieldMap with the new BFieldManager. More... | |
class | BFieldMap |
This class represents the magnetic field of the Belle II detector. More... | |
class | GeoMagneticField |
The GeoMagneticField class. More... | |
struct | triangle_t |
Triangle structure. More... | |
struct | xy_t |
A simple 2d vector stucture. More... | |
class | TriangularInterpolation |
The TriangularInterpolation class. More... | |
class | BeamlineFieldMapInterpolation |
The BeamlineFieldMapInterpolation class. More... | |
class | GeoComponent |
Describe one component of the Geometry. More... | |
class | GeoConfiguration |
configuration of the geometry More... | |
class | GeoMaterial |
Class to represent a material informaion in the Database. More... | |
class | GeoMaterialComponent |
Component of a material. More... | |
class | GeoMaterialProperty |
Property of a material. More... | |
class | GeoOpticalSurface |
Represent an optical finish of a surface. More... | |
class | MagneticFieldComponent3D |
Describe one component of the Geometry. More... | |
class | MyDBPayloadClass |
Class containing all the parameters needed to create the geometry and suitable to save into a ROOT file to be used from the Database. More... | |
class | MyDBCreator |
Very simple Creator class which actually does not do anything but shows how creators should implement loading the geometry from database. More... | |
Functions | |
BFieldComponentBeamline ** | GetInstancePtr () |
Static function holding the instance. | |
BFieldComponentRadial::BFieldPoint | operator* (const BFieldComponentRadial::BFieldPoint &v, double a) |
multiply a radial bfield point by a real number | |
BFieldComponentRadial::BFieldPoint | operator+ (const BFieldComponentRadial::BFieldPoint &u, const BFieldComponentRadial::BFieldPoint &v) |
Add two radial bfield points together. | |
template<class BFIELDCOMP > | |
BFIELDCOMP & | addBFieldComponent () |
Adds a new BField component to the Belle II magnetic field. More... | |
ROOT::Math::XYZVector | getBField (const ROOT::Math::XYZVector &point) const |
Returns the magnetic field of the Belle II detector at the specified space point. More... | |
virtual void | initialize () override |
Initializes the magnetic field component. More... | |
virtual | ~BFieldComponentBeamline () |
The BFieldComponentBeamline destructor. | |
bool | isInRange (const ROOT::Math::XYZVector &point) const |
Check presence of beamline field at the specific space point in the detector coordinate frame. More... | |
virtual ROOT::Math::XYZVector | calculate (const ROOT::Math::XYZVector &point) const override |
Calculates the magnetic field vector at the specified space point. More... | |
virtual void | terminate () override |
Terminates the magnetic field component. More... | |
static BFieldComponentBeamline & | Instance () |
BFieldComponentBeamline instance. More... | |
BFieldComponentBeamline () | |
The BFieldComponentBeamline constructor. | |
ROOT::Math::XYZVector | getField (const ROOT::Math::XYZVector &pos) const override |
return the field assuming we are inside the active region as returned by inside() More... | |
ROOT::Math::XYZVector | interpolate (unsigned int ir, unsigned int iphi, unsigned int iz, double wr, double wphi, double wz) const |
Linear interpolate the magnetic field inside a bin. More... | |
BFIELDCOMP & addBFieldComponent |
Adds a new BField component to the Belle II magnetic field.
The class of the magnetic field component has to inherit from BFieldComponentAbs.
Definition at line 98 of file BFieldMap.h.
|
overridevirtual |
Calculates the magnetic field vector at the specified space point.
point | The space point in Cartesian coordinates (x,y,z) in [cm] at which the magnetic field vector should be calculated. |
Implements BFieldComponentAbs.
Definition at line 661 of file BFieldComponentBeamline.cc.
|
inlineprivate |
Returns the magnetic field of the Belle II detector at the specified space point.
The space point is given in Cartesian coordinates (x,y,z) in [cm].
point | The space point in Cartesian coordinates. |
Definition at line 106 of file BFieldMap.h.
|
overridevirtual |
return the field assuming we are inside the active region as returned by inside()
small helper function to calculate the bin index and fraction inside the index given a relative coordinate and the coordinate index (0=R, 1=Phi, 2=Z).
Example: If the z grid starts at 5 and goes to 15 with 6 points (pitch size of 2), then calling getIndexWeight(10.5, 2) will return tuple(2, 0.75) since the 10.5 lies in bin "2" and is already 75% to the next bin
It will also cap the index to be inside the valid grid range
Returns a tuple with the bin index as first element and the weight fraction inside the bin as second element
Implements MagneticFieldComponent.
Definition at line 89 of file MagneticFieldComponent3D.cc.
|
overridevirtual |
Initializes the magnetic field component.
This method opens the magnetic field map file.
Reimplemented from BFieldComponentAbs.
Definition at line 636 of file BFieldComponentBeamline.cc.
|
static |
BFieldComponentBeamline instance.
static function
Definition at line 697 of file BFieldComponentBeamline.cc.
|
private |
Linear interpolate the magnetic field inside a bin.
ir | number of the bin in r |
iphi | number of the bin in phi |
iz | number of the bin in z |
wr | r weight: fraction we are away from the lower r corner relative to the pitch size |
wphi | phi weight: fraction we are away from the lower phi corner relative to the pitch size |
wz | phi weight: fraction we are away from the lower z corner relative to the pitch size |
Definition at line 143 of file MagneticFieldComponent3D.cc.
bool isInRange | ( | const ROOT::Math::XYZVector & | point | ) | const |
Check presence of beamline field at the specific space point in the detector coordinate frame.
point | The space point in Cartesian coordinates (x,y,z) in [cm] at which the magnetic field presence is checked |
Definition at line 650 of file BFieldComponentBeamline.cc.
|
overridevirtual |
Terminates the magnetic field component.
This method closes the magnetic field map file.
Reimplemented from BFieldComponentAbs.
Definition at line 685 of file BFieldComponentBeamline.cc.