Belle II Software development
|
The RaveSetup class is part of the RaveInterface together with RaveVertexFitter It holds all global options for the RaveVertexFitter and also takes care that stuff like the magnetic field is correctly set up in way Rave can access it. More...
#include <RaveSetup.h>
Public Member Functions | |
void | setBeamSpot (const B2Vector3D &beamSpot, const TMatrixDSym &beamSpotCov) |
The beam spot position and covariance is known you can set it here so that and a vertex in the beam spot should be fitted you can set it here. | |
void | unsetBeamSpot () |
unset beam spot constraint | |
void | reset () |
frees memory allocated by initialize(). | |
Static Public Member Functions | |
static RaveSetup * | getInstance () |
get the pointer to the instance to get/set any of options stored in RaveSetup | |
static void | initialize (int verbosity=1, double MagneticField=1.5) |
Set everything up so everything needed for vertex fitting is there. | |
static void | Print () |
Print() writes all RaveSetup member variables to the terminal | |
Protected Member Functions | |
RaveSetup () | |
default constructor | |
~RaveSetup () | |
default destructor | |
Static Protected Member Functions | |
static RaveSetup * | getRawInstance () |
Same as getInstance(), but no check if the instance is initialised. | |
Protected Attributes | |
bool | m_useBeamSpot |
flag determines if beam spot information should be used for vertex fit. | |
B2Vector3D | m_beamSpot |
beam spot position. | |
TMatrixDSym | m_beamSpotCov |
beam spot position covariance matrix. | |
rave::VertexFactory * | m_raveVertexFactory |
The RAVE vertex factory is the principal interface offered by the RAVE vertex fitting library. | |
rave::KinematicTreeFactory * | m_raveKinematicTreeFactory |
< The RAVE Kinematic Tree factory is the principal interface offered by the RAVE for kinematic vertex fitting. | |
bool | m_initialized |
Has initialize() been called? unusable otherwise. | |
Friends | |
class | RaveVertexFitter |
class | RaveKinematicVertexFitter |
The RaveSetup class is part of the RaveInterface together with RaveVertexFitter It holds all global options for the RaveVertexFitter and also takes care that stuff like the magnetic field is correctly set up in way Rave can access it.
Definition at line 37 of file RaveSetup.h.
|
protected |
default constructor
Definition at line 48 of file RaveSetup.cc.
|
protected |
default destructor
Definition at line 53 of file RaveSetup.cc.
|
inlinestatic |
get the pointer to the instance to get/set any of options stored in RaveSetup
Definition at line 43 of file RaveSetup.h.
|
staticprotected |
Same as getInstance(), but no check if the instance is initialised.
Definition at line 27 of file RaveSetup.cc.
|
static |
Set everything up so everything needed for vertex fitting is there.
Must be called before RaveVertexFitter can be used
Definition at line 33 of file RaveSetup.cc.
|
static |
Print() writes all RaveSetup member variables to the terminal
Definition at line 87 of file RaveSetup.cc.
void reset | ( | ) |
frees memory allocated by initialize().
Beam spot is not modified.
Definition at line 58 of file RaveSetup.cc.
void setBeamSpot | ( | const B2Vector3D & | beamSpot, |
const TMatrixDSym & | beamSpotCov | ||
) |
The beam spot position and covariance is known you can set it here so that and a vertex in the beam spot should be fitted you can set it here.
Definition at line 72 of file RaveSetup.cc.
void unsetBeamSpot | ( | ) |
unset beam spot constraint
Definition at line 80 of file RaveSetup.cc.
|
friend |
Definition at line 41 of file RaveSetup.h.
|
friend |
Definition at line 40 of file RaveSetup.h.
|
protected |
beam spot position.
Can be used as additional information by RaveVertexFitter
Definition at line 73 of file RaveSetup.h.
|
protected |
beam spot position covariance matrix.
Can be used as additional information by RaveVertexFitter
Definition at line 74 of file RaveSetup.h.
|
protected |
Has initialize() been called? unusable otherwise.
Definition at line 83 of file RaveSetup.h.
|
protected |
< The RAVE Kinematic Tree factory is the principal interface offered by the RAVE for kinematic vertex fitting.
Definition at line 81 of file RaveSetup.h.
|
protected |
The RAVE vertex factory is the principal interface offered by the RAVE vertex fitting library.
Definition at line 77 of file RaveSetup.h.
|
protected |
flag determines if beam spot information should be used for vertex fit.
Can be overruled by individual fits in RaveVertexFitter
Definition at line 72 of file RaveSetup.h.