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;
67 const std::vector < genfit::Track* > & GFTracks,
79 std::cerr << e.
what();
87 const std::vector < genfit::Track* > & GFTracks,
88 std::vector < genfit::MeasuredStateOnPlane* > & GFStates,
100 std::cerr << e.
what();
115 size_t found = method.find(
"smoothing:1");
116 if (found==std::string::npos){
117 std::cerr <<
"GFRaveVertexFactory::setMethod(" << method <<
") ==> smoothing not turned on! GFRaveTrackParameters will be unsmoothed!" << std::endl;
120 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
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)
std::vector< rave::Track > GFTracksToTracks(const std::vector< genfit::Track * > &GFTracks, std::vector< genfit::MeasuredStateOnPlane * > *GFStates, std::map< int, genfit::trackAndState > &IdGFTrackStateMap, int startID=0)
rave::Covariance3D TMatrixDSymToCovariance3D(const TMatrixDSym &)
void RaveToGFVertices(std::vector< GFRaveVertex * > *, const std::vector< rave::Vertex > &, const std::map< int, genfit::trackAndState > &IdGFTrackStateMap)
rave::Point3D TVector3ToPoint3D(const TVector3 &)