1
0
Fork 0
mirror of https://github.com/gwm17/Mask.git synced 2024-11-23 02:38:51 -05:00
Mask/include/TwoStepSystem.h

29 lines
567 B
C
Raw Normal View History

2020-11-16 13:38:39 -05:00
#ifndef TWOSTEPSYSTEM_H
#define TWOSTEPSYSTEM_H
#include "ReactionSystem.h"
namespace Mask {
2020-11-16 13:38:39 -05:00
class TwoStepSystem : public ReactionSystem {
public:
TwoStepSystem();
TwoStepSystem(std::vector<int>& z, std::vector<int>& a);
~TwoStepSystem();
bool SetNuclei(std::vector<int>& z, std::vector<int>& a);
void RunSystem();
inline const Nucleus& GetBreakup1() const { return step2.GetEjectile(); };
inline const Nucleus& GetBreakup2() const { return step2.GetResidual(); };
private:
void LinkTarget();
void SetSystemEquation();
Reaction step2;
};
};
2020-11-16 13:38:39 -05:00
#endif