111 G4double muEnergy = fMuMass + muBindingEnergy;
112 G4double muMom = std::sqrt(muBindingEnergy*(muBindingEnergy + 2.0*fMuMass));
113 G4double availableEnergy = massA + fMuMass - muBindingEnergy;
121 if((1 == Z && 1 == A) || (2 == Z && 3 == A)) {
124 if(1 == Z) { pd = fNeutron; }
131 residualMass*residualMass/availableEnergy);
136 AddNewParticle(pd, nudir, availableEnergy - e - residualMass);
160 const std::vector<G4Nucleon>& nucleons= fNucleus.
GetNucleons();
164 G4int reentryCount = 0;
171 pDef = nucleons[index].GetDefinition();
172 }
while(pDef != fProton);
180 G4double Enu = 0.5*(Ecms - neutron_mass_c2*neutron_mass_c2/Ecms);
189 momResidual = momInitial - momNu;
190 eEx = momResidual.
mag() - residualMass;
195 G4double eth = residualMass - massA + fThreshold + 2*neutron_mass_c2;
196 if(Ecms - Enu > eth) {
200 AddNewParticle(fNeutron, dir, ekin);
210 if(Enu <= 0.0 && eEx <= 0.0 && reentryCount > 100) {
213 ed <<
"Target Z= " << Z
215 ed <<
" ApplyYourself does not completed after 100 attempts" <<
G4endl;
216 G4Exception(
"G4MuMinusCapturePrecompound::AtRestDoIt",
"had006",
230 size_t n = rpv->size();
231 for(
size_t i=0; i<n; ++i) {
235 fTime = time0 + rp->
GetTOF();
243 G4cout <<
"G4MuMinusCapturePrecompound::ApplyYourself: Nsec= "
245 <<
" E0(MeV)= " <<availableEnergy/MeV
246 <<
" Mres(GeV)= " <<residualMass/GeV
256 outFile <<
"Sampling of mu- capture by atomic nucleus from K-shell"
257 <<
" mesoatom orbit.\n"
258 <<
"Primary reaction mu- + p -> n + neutrino, neutron providing\n"
259 <<
" initial excitation of the target nucleus and PreCompound"
260 <<
" model samples final state\n";
G4ThreeVector G4RandomDirection()
std::vector< G4ReactionProduct * > G4ReactionProductVector
G4DLLIMPORT std::ostream G4cout
Hep3Vector boostVector() const
HepLorentzVector & boost(double, double, double)
void set(double x, double y, double z, double t)
G4LorentzVector Get4Momentum() const
const std::vector< G4Nucleon > & GetNucleons()
void Init(G4int theA, G4int theZ)
void SetNumberOfHoles(G4int valueTot, G4int valueP=0)
void SetNumberOfExcitedParticle(G4int valueTot, G4int valueP)
void SetStatusChange(G4HadFinalStateStatus aS)
G4int GetNumberOfSecondaries() const
G4HadSecondary * GetSecondary(size_t i)
G4double GetBoundEnergy() const
G4double GetGlobalTime() const
G4DynamicParticle * GetParticle()
G4HadronicInteraction * FindModel(const G4String &name)
static G4HadronicInteractionRegistry * Instance()
const G4String & GetModelName() const
G4MuMinusCapturePrecompound(G4VPreCompoundModel *ptr=0)
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus)
void ModelDescription(std::ostream &outFile) const
~G4MuMinusCapturePrecompound()
static G4MuonMinus * MuonMinus()
static G4NeutrinoMu * NeutrinoMu()
static G4Neutron * Neutron()
static G4double GetNuclearMass(const G4double A, const G4double Z)
G4double GetPDGMass() const
static G4Proton * Proton()
G4double GetKineticEnergy() const
G4ThreeVector GetMomentum() const
G4ParticleDefinition * GetDefinition() const
static G4Triton * Triton()
virtual G4ReactionProductVector * DeExcite(G4Fragment &aFragment)=0
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
std::ostringstream G4ExceptionDescription