2021-08-24 11:55:32 -04:00
|
|
|
#ifndef ONESTEPSYSTEM_H
|
|
|
|
#define ONESTEPSYSTEM_H
|
|
|
|
|
|
|
|
#include "ReactionSystem.h"
|
|
|
|
|
|
|
|
namespace Mask {
|
|
|
|
|
2021-09-03 17:03:41 -04:00
|
|
|
class OneStepSystem: public ReactionSystem {
|
|
|
|
public:
|
|
|
|
OneStepSystem();
|
|
|
|
OneStepSystem(std::vector<int>& z, std::vector<int>& a);
|
|
|
|
~OneStepSystem();
|
|
|
|
|
|
|
|
bool SetNuclei(std::vector<int>& z, std::vector<int>& a) override;
|
|
|
|
void RunSystem() override;
|
|
|
|
|
|
|
|
inline void SetReactionThetaType(int type) { step1.SetEjectileThetaType(type); };
|
|
|
|
inline const Nucleus& GetTarget() const { return step1.GetTarget(); };
|
|
|
|
inline const Nucleus& GetProjectile() const { return step1.GetProjectile(); };
|
|
|
|
inline const Nucleus& GetEjectile() const { return step1.GetEjectile(); };
|
|
|
|
inline const Nucleus& GetResidual() const { return step1.GetResidual(); };
|
|
|
|
|
|
|
|
private:
|
|
|
|
void LinkTarget() override;
|
|
|
|
void SetSystemEquation() override;
|
|
|
|
|
|
|
|
Reaction step1;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
2021-08-24 11:55:32 -04:00
|
|
|
|
|
|
|
#endif
|