myfitter is hosted by Hepforge, IPPP Durham

Next: , Previous: Getting Started, Up: Top


2 Implementing Models

All models in myFitter are represented by classes derived from the base class myfitter::Model defined in myfitter/model.hpp. Note that all classes of the myFitter library live in the namespace myfitter. To implement your own model, you have to write your own derived class. An example can be found in doc/examples/linearmodel.hpp in the source distribution.