10 #ifndef PHOKHARAINPUTMODULE_H
11 #define PHOKHARAINPUTMODULE_H
13 #include <framework/core/Module.h>
14 #include <framework/logging/Logger.h>
16 #include <generators/phokhara/Phokhara.h>
17 #include <generators/utilities/InitialParticleGeneration.h>
19 #include <mdst/dataobjects/MCParticleGraph.h>
53 virtual void event()
override;
100 std::vector<T>
make_vector(T
const& t1, T
const& t2);
102 template <
typename T>
103 std::pair<T, T>
vectorToPair(std::vector<T>& vec,
const std::string& name =
"");
116 template <
typename T>
125 template <
typename T>
129 if (vec.size() != 2) {
130 B2ERROR(
"The parameter " + name +
" has to have exactly 2 elements !");
Class for accessing objects in the database.
Class to build, validate and sort a particle decay chain.
C++ Interface for the Fortran generator PHOKHARA.
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.
Abstract base class for different kinds of events.