#ifndef INTERACTION_GENERATOR_H #define INTERACTION_GENERATOR_H #include #include #include #include #include "simulation/jansson_additionals.h" #include "simulation/parameter.h" #include "simulation/scattering_angle_distribution.h" #include "simulation/species.h" namespace generator { void addInteractions( std::shared_ptr specie, std::map>& tracked_species, std::map>& background_species, Parameter& parameter, json_path& path_to_interactions); std::function buildTotalCrossSection(json_t* object); std::function build2DCrossSection(json_t* object); std::shared_ptr buildScatteringAngleDistribution( json_t* object); double buildExcitationEnergy(std::string excitation_state); std::function buildExcitationCrossSection( std::string excitation_state); std::shared_ptr findTarget( std::string& target_name, std::map>& tracked_species, std::map>& background_species); std::shared_ptr findTracked( std::string& target_name, std::map>& tracked_species); }; // namespace generator #endif /* INTERACTION_GENERATOR_H */