Version 1 (modified by 18 years ago) (diff) | ,
---|
Using Rave
Compiling against rave:
pkg-config rave --libs --cflags
Using rave:
/* create factory with your own implementation of MagneticField, * and Propagator. Default reconstruction method is "method", * verbosity level is "verbosity". */ rave::VertexFactory factory ( MyMagneticField(), MyPropagator(), method, verbosity ); /* from "tracks" ( std::vector < rave::Track > ) create "vertices", * using the method defined in the constructor of the factory. */ std::vector < rave::Vertex > vertices = factory.create( tracks );