14 #include <framework/logging/Logger.h>
18 #include <TMatrixDSym.h>
21 class KinematicTreeFactory;
47 B2FATAL(
"RaveSetup::initialize was not called. It has to be called before RaveSetup or RaveVertexFitter are used");
54 void setBeamSpot(
const TVector3& beamSpot,
const TMatrixDSym& beamSpotCov);
The RaveKinematicVertexFitter class is part of the RaveInterface together with RaveSetup.
The RaveSetup class is part of the RaveInterface together with RaveVertexFitter It holds all global o...
TMatrixDSym m_beamSpotCov
beam spot position covariance matrix.
RaveSetup()
default constructor
void unsetBeamSpot()
unset beam spot constraint
rave::KinematicTreeFactory * m_raveKinematicTreeFactory
< The RAVE Kinematic Tree factory is the principal interface offered by the RAVE for kinematic vertex...
bool m_useBeamSpot
flag determines if beam spot information should be used for vertex fit.
static void initialize(int verbosity=1, double MagneticField=1.5)
Set everything up so everything needed for vertex fitting is there.
static RaveSetup * getRawInstance()
Same as getInstance(), but no check if the instance is initialised.
bool m_initialized
Has initialize() been called? unusable otherwise.
void setBeamSpot(const TVector3 &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 s...
static RaveSetup * getInstance()
get the pointer to the instance to get/set any of options stored in RaveSetup
rave::VertexFactory * m_raveVertexFactory
The RAVE vertex factory is the principal interface offered by the RAVE vertex fitting library.
static void Print()
Print() writes all RaveSetup member variables to the terminal
~RaveSetup()
default destructor
void reset()
frees memory allocated by initialize().
TVector3 m_beamSpot
beam spot position.
The RaveVertexFitter class is part of the RaveInterface together with RaveSetup.
Abstract base class for different kinds of events.