2020-11-16 13:38:39 -05:00
|
|
|
#include "ReactionSystem.h"
|
|
|
|
#include "KinematicsExceptions.h"
|
2021-06-08 09:58:24 -04:00
|
|
|
#include "LegendrePoly.h"
|
2020-12-11 16:56:27 -05:00
|
|
|
|
|
|
|
namespace Mask {
|
2020-11-16 13:38:39 -05:00
|
|
|
|
2021-09-03 17:03:41 -04:00
|
|
|
ReactionSystem::ReactionSystem() :
|
2021-09-06 17:06:02 -04:00
|
|
|
m_beamDist(nullptr), m_theta1Range(nullptr), m_phi1Range(nullptr), m_exDist(nullptr), target_set_flag(false),
|
|
|
|
rxnLayer(0), m_sys_equation("")
|
2021-09-03 17:03:41 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
ReactionSystem::~ReactionSystem() {
|
|
|
|
delete m_beamDist;
|
|
|
|
delete m_theta1Range;
|
|
|
|
delete m_phi1Range;
|
|
|
|
delete m_exDist;
|
|
|
|
}
|
|
|
|
|
|
|
|
void ReactionSystem::AddTargetLayer(std::vector<int>& zt, std::vector<int>& at, std::vector<int>& stoich, double thickness) {
|
|
|
|
target.AddLayer(zt, at, stoich, thickness);
|
|
|
|
}
|
2020-11-16 13:38:39 -05:00
|
|
|
|
2021-09-03 17:03:41 -04:00
|
|
|
}
|