#ifndef ELASTIC_SCATTERING_H #define ELASTIC_SCATTERING_H #include "simulation/interaction.h" class ScatteringAngleDistribution; namespace interaction { // class for handling elastic scattering interactions (A + B --> A + B) class ElasticScattering : public Interaction { public: // Constructor: takes a function for the cross section, a shared_ptr with the Specie of the target of the interaction // and a shared_ptr to a scatteringAngleDistribution object ElasticScattering(std::function cross_section, std::shared_ptr target, std::shared_ptr theta_distrib); // return the interaction outcome as an InteractionOutput object InteractionOutput performInteraction(particle::Particle& particle, RandomNumbers* generator); private: std::shared_ptr theta_distrib_; }; }; // namespace interaction #endif /* ELASTIC_SCATTERING_H */