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>
106 template <
typename T>
107 std::vector<T>
make_vector(T
const& t1, T
const& t2);
109 template <
typename T>
110 std::pair<T, T>
vectorToPair(std::vector<T>& vec,
const std::string& name =
"");
124 template <
typename T>
133 template <
typename T>
137 if (vec.size() != 2) {
138 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.