57 theTotalCount = aCount;
60 void Init(std::istream& aDataFile)
override
62 aDataFile >> theTotalMass >> theTotalCount;
79 if (theTotalCount == 3)
81 if (theTotalCount == 4)
85 if (theTotalCount == 5)
96 result = availableEnergy * (theTotalMass - mass) / theTotalMass;
100 G4double MeanEnergyOfThisInteraction()
override {
return -1; }
G4double GetPDGMass() const
G4ParticleHPNBodyPhaseSpace()
void Init(std::istream &aDataFile) override
void Init(G4double aMass, G4int aCount)
~G4ParticleHPNBodyPhaseSpace() override=default
G4ReactionProduct * Sample(G4double anEnergy, G4double massCode, G4double mass) override
G4ReactionProduct * GetTarget() const
G4double GetQValue() const
G4ReactionProduct * GetProjectileRP() const