56const G4int G4UnstableFragmentBreakUp::Zfr[] = {0, 1, 1, 1, 2, 2};
57const G4int G4UnstableFragmentBreakUp::Afr[] = {1, 1, 2, 3, 3, 4};
62 for(
G4int i=0; i<6; ++i) {
89 G4cout <<
"#Unstable decay " <<
" Z= " <<
Z <<
" A= " <<
A
92 const G4double tolerance = 10*CLHEP::eV;
93 const G4double dmlimit = 0.005*CLHEP::MeV;
98 for(
G4int i=0; i<6; ++i) {
101 if(Zres >= 0 && Ares >= Zres && Ares >= Afr[i]) {
103 for(
G4int j=0; j<6; ++j) {
104 if(Zres == Zfr[j] && Ares == Afr[j]) {
105 G4double delm = mass - masses[i] - masses[j];
123 if(isChannel) {
break; }
126 G4double e = mass - mres - masses[i];
135 mass1 = (Ares > 4 && e > 0.0) ? mres + e*
G4UniformRand() : mres;
148 G4cout <<
"isChannel:" << isChannel <<
" idx=" << idx <<
" Zfr=" << Zfr[idx]
149 <<
" Arf=" << Afr[idx] <<
" delm=" << mass - massmin <<
G4endl;
151 if(!isChannel || mass < massmin) {
152 if(mass + dmlimit < massmin) {
return false; }
154 G4cout <<
"#Unstable decay correction: Z= " <<
Z <<
" A= " <<
A
156 <<
" deltaM(MeV)= " << mass - massmin
160 G4double e = std::max(lv.
e(), mass + tolerance);
161 G4double mom = std::sqrt((e - mass)*(e + mass));
167 G4double e2 = 0.5*((mass - mass1)*(mass + mass1) + mass2*mass2)/mass;
168 e2 = std::max(e2, mass2);
169 G4double mom = std::sqrt((e2 - mass2)*(e2 + mass2));
176 frag =
new G4Fragment(Afr[idx], Zfr[idx], mom2);
179 results->push_back(frag);
std::vector< G4Fragment * > G4FragmentVector
CLHEP::HepLorentzVector G4LorentzVector
G4ThreeVector G4RandomDirection()
G4GLOB_DLL std::ostream G4cout
Hep3Vector boostVector() const
HepLorentzVector & boost(double, double, double)
void set(double x, double y, double z, double t)
void SetZandA_asInt(G4int Znew, G4int Anew, G4int Lnew=0)
G4double GetExcitationEnergy() const
const G4LorentzVector & GetMomentum() const
void SetCreatorModelID(G4int value)
G4double GetCreationTime() const
void SetCreationTime(G4double time)
void SetMomentum(const G4LorentzVector &value)
static G4NuclearLevelData * GetInstance()
static G4double GetNuclearMass(const G4double A, const G4double Z)
static G4int GetModelID(const G4int modelIndex)
G4UnstableFragmentBreakUp()
virtual G4bool BreakUpChain(G4FragmentVector *, G4Fragment *) final
virtual G4double GetEmissionProbability(G4Fragment *fragment) final
virtual ~G4UnstableFragmentBreakUp()