A toy event generator for events. More...
#include <string>
#include <iosfwd>
#include "CLHEP/Random/Random.h"
Go to the source code of this file.
Classes | |
class | hitfit::Gentop_Args |
Hold on to parameters for the toy event generator. More... | |
Namespaces | |
hitfit | |
Functions | |
Lepjets_Event | hitfit::gentop (const Gentop_Args &args, CLHEP::HepRandomEngine &engine) |
Generate a event. More... | |
Lepjets_Event | hitfit::gentth (const Gentop_Args &args, CLHEP::HepRandomEngine &engine) |
Generate a event. More... | |
A toy event generator for events.
This is a very simple event generator for events, to allow some basic tests of the kinematic fitting code. The code generates random events with kinematics pulled out of a hat (a random number generator), and then decay them into events. No physics behind the generation except for four-momentum conservation and energy-mass-momentum relation. No luxuries such as radiation etc, and, as mentioned, any kinematic distribution will certainly not corresponding to physical reality. But the generated events should satisfy the mass constraints, and therefore would be usable for testing.
Definition in file gentop.h.