12#include <framework/logging/Logger.h>
14#include <generators/modules/GeneratorBaseModule.h>
15#include <generators/babayaganlo/BabayagaNLO.h>
16#include <generators/utilities/InitialParticleGeneration.h>
18#include <mdst/dataobjects/MCParticleGraph.h>
103 template <
typename T>
104 std::vector<T>
make_vector(T
const& t1, T
const& t2);
106 template <
typename T>
107 std::pair<T, T>
vectorToPair(std::vector<T>& vec,
const std::string& name =
"");
121 template <
typename T>
130 template <
typename T>
134 if (vec.size() != 2) {
135 B2ERROR(
"The parameter " + name +
" has to have exactly 2 elements !");
C++ Interface for the Fortran Bhabha and exclusive two photon generator BABAYAGA.NLO.
Class for accessing objects in the database.
The base module for generator modules, which sets the generator information as EventExtraInfo.
double getMass() const
Get the invariant mass of the collision (= energy in CMS)
Class to build, validate and sort a particle decay chain.
std::pair< T, T > vectorToPair(std::vector< T > &vec, const std::string &name="")
std::vector< T > make_vector(T const &t1, T const &t2)
make_vector.
MCInitialParticles & generate()
Generate a new event.
Abstract base class for different kinds of events.