rave is hosted by Hepforge, IPPP Durham
close Warning: Can't synchronize with repository "(default)" (/hepforge/svn/rave does not appear to be a Subversion repository.). Look in the Trac log for more information.

Version 1 (modified by anonymous, 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 );