 |
Belle II Software
release-05-02-19
|
12 #ifndef BABAYAGANLOINPUTMODULE_H
13 #define BABAYAGANLOINPUTMODULE_H
15 #include <framework/core/Module.h>
16 #include <framework/logging/Logger.h>
18 #include <generators/babayaganlo/BabayagaNLO.h>
19 #include <generators/utilities/InitialParticleGeneration.h>
21 #include <mdst/dataobjects/MCParticleGraph.h>
41 class BabayagaNLOInputModule :
public Module {
58 virtual void event()
override;
109 template <
typename T>
110 std::vector<T>
make_vector(T
const& t1, T
const& t2);
112 template <
typename T>
113 std::pair<T, T>
vectorToPair(std::vector<T>& vec,
const std::string& name =
"");
127 template <
typename T>
136 template <
typename T>
140 if (vec.size() != 2) {
141 B2ERROR(
"The parameter " + name +
" has to have exactly 2 elements !");
Class to build, validate and sort a particle decay chain.
Class for accessing objects in the database.
C++ Interface for the Fortran Bhabha and exclusive two photon generator BABAYAGA.NLO.
double getMass() const
Get the invariant mass of the collision (= energy in CMS)
Abstract base class for different kinds of events.
std::vector< T > make_vector(T const &t1, T const &t2)
make_vector.
std::pair< T, T > vectorToPair(std::vector< T > &vec, const std::string &name="")
MCInitialParticles & generate()
Generate a new event.