MIDSX 0.1
A x-ray transport code system for dosimetry
Loading...
Searching...
No Matches
particle_interaction_behavior.h
1#ifndef MCXRAYTRANSPORT_PARTICLE_INTERACTION_BEHAVIOR_H
2#define MCXRAYTRANSPORT_PARTICLE_INTERACTION_BEHAVIOR_H
3
4#include "particle.h"
5#include "probability_dist.h"
6
11public:
12 virtual ~ParticleInteractionBehavior() = default;
13 virtual double interact(Particle& particle, Material& material) = 0;
14protected:
15 ProbabilityDist::Uniform uniform_dist_{0.0, 1.0};
16};
17
18#endif //MCXRAYTRANSPORT_PARTICLE_INTERACTION_BEHAVIOR_H
Class which represents a material.
Definition material.h:19
Class which represents a particle.
Definition particle.h:36
Virtual class which represents the behavior of a particle when it interacts with a material.
Class which represents a uniform distribution.