10 #ifndef BABAYAGANLOINPUTMODULE_H
11 #define BABAYAGANLOINPUTMODULE_H
13 #include <framework/core/Module.h>
14 #include <framework/logging/Logger.h>
16 #include <generators/babayaganlo/BabayagaNLO.h>
17 #include <generators/utilities/InitialParticleGeneration.h>
19 #include <mdst/dataobjects/MCParticleGraph.h>
56 virtual void event()
override;
107 template <
typename T>
108 std::vector<T>
make_vector(T
const& t1, T
const& t2);
110 template <
typename T>
111 std::pair<T, T>
vectorToPair(std::vector<T>& vec,
const std::string& name =
"");
125 template <
typename T>
134 template <
typename T>
138 if (vec.size() != 2) {
139 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.
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.