GENFIT
Rev:NoNumberAvailable
|
Go to the documentation of this file.
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;
void RaveToGFVertices(std::vector< GFRaveVertex * > *GFVertices, const std::vector< rave::Vertex > &raveVertices, const std::map< int, genfit::trackAndState > &IdGFTrackStateMap)
rave::VertexFactory * factory_
Exception class for error handling in GENFIT (provides storage for diagnostic information)
Defines for I/O streams used for error and debug printing.
rave::Point3D TVector3ToPoint3D(const TVector3 &vec)
std::vector< rave::Track > GFTracksToTracks(const std::vector< genfit::Track * > &GFTracks, std::vector< genfit::MeasuredStateOnPlane * > *GFStates, std::map< int, genfit::trackAndState > &IdGFTrackStateMap, int startID)
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::Covariance3D TMatrixDSymToCovariance3D(const TMatrixDSym &matrix)
void setBeamspot(const TVector3 &pos, const TMatrixDSym &cov)
std::map< int, genfit::trackAndState > IdGFTrackStateMap_
void findVertices(std::vector< genfit::GFRaveVertex * > *, const std::vector< genfit::Track * > &, bool use_beamspot=false)
void setMethod(const std::string &method)
rave::MagneticField * magneticField_
GFRaveVertexFactory(int verbosity=0, bool useVacuumPropagator=false)
rave::Propagator * propagator_