31#include "rave/Propagator.h"
32#include "rave/MagneticField.h"
33#include "rave/VertexFactory.h"
34#include "rave/Vertex.h"
35#include "rave/Ellipsoid3D.h"
42 if (useVacuumPropagator) {
52 if (verbosity > 0) ++verbosity;
68 const std::vector < genfit::Track* > & GFTracks,
81 std::cerr << e.
what();
90 const std::vector < genfit::Track* > & GFTracks,
91 std::vector < genfit::MeasuredStateOnPlane* > & GFStates,
104 std::cerr << e.
what();
120 size_t found = method.find(
"smoothing:1");
121 if (found==std::string::npos){
122 std::cerr <<
"GFRaveVertexFactory::setMethod(" << method <<
") ==> smoothing not turned on! GFRaveTrackParameters will be unsmoothed!" << std::endl;
125 std::cout <<
"GFRaveVertexFactory::setMethod ==> set method to " <<
factory_->method() << std::endl;
Exception class for error handling in GENFIT (provides storage for diagnostic information)
virtual const char * what() const noexcept
Standard error message handling for exceptions. use like "std::cerr << e.what();".
GFRaveMagneticField class Uses the FieldManager to provide a magnetic field to rave.
rave::MagneticField * magneticField_
GFRaveVertexFactory(int verbosity=0, bool useVacuumPropagator=false)
void findVertices(std::vector< genfit::GFRaveVertex * > *, const std::vector< genfit::Track * > &, bool use_beamspot=false)
rave::VertexFactory * factory_
void setMethod(const std::string &method)
std::map< int, genfit::trackAndState > IdGFTrackStateMap_
rave::Propagator * propagator_
void setBeamspot(const TVector3 &pos, const TMatrixDSym &cov)
Defines for I/O streams used for error and debug printing.
std::vector< rave::Track > GFTracksToTracks(const std::vector< genfit::Track * > &GFTracks, std::vector< genfit::MeasuredStateOnPlane * > *GFStates, std::map< int, genfit::trackAndState > &IdGFTrackStateMap, int startID)
rave::Covariance3D TMatrixDSymToCovariance3D(const TMatrixDSym &matrix)
void RaveToGFVertices(std::vector< GFRaveVertex * > *GFVertices, const std::vector< rave::Vertex > &raveVertices, const std::map< int, genfit::trackAndState > &IdGFTrackStateMap)
rave::Point3D TVector3ToPoint3D(const TVector3 &vec)