Warning, file /include/Geant4/G4MuMinusCapturePrecompound.hh was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040
0041
0042
0043
0044
0045
0046
0047 #ifndef G4MuMinusCapturePrecompound_h
0048 #define G4MuMinusCapturePrecompound_h 1
0049
0050 #include "globals.hh"
0051 #include "G4Nucleus.hh"
0052 #include "G4Track.hh"
0053 #include "G4HadProjectile.hh"
0054 #include "G4HadSecondary.hh"
0055 #include "G4HadFinalState.hh"
0056 #include "G4HadronicInteraction.hh"
0057 #include "G4ParticleDefinition.hh"
0058 #include "G4DynamicParticle.hh"
0059 #include "G4ThreeVector.hh"
0060 #include "G4Fancy3DNucleus.hh"
0061
0062 class G4VPreCompoundModel;
0063
0064 class G4MuMinusCapturePrecompound : public G4HadronicInteraction
0065 {
0066 public:
0067
0068 G4MuMinusCapturePrecompound(G4VPreCompoundModel* ptr=0);
0069
0070 ~G4MuMinusCapturePrecompound();
0071
0072 G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack,
0073 G4Nucleus & targetNucleus );
0074
0075 void ModelDescription(std::ostream& outFile) const;
0076
0077 private:
0078
0079 inline void AddNewParticle(const G4ParticleDefinition* aParticle,
0080 G4ThreeVector& direction,
0081 G4double kinEnergy);
0082
0083
0084 G4MuMinusCapturePrecompound& operator=(const G4MuMinusCapturePrecompound &right);
0085 G4MuMinusCapturePrecompound(const G4MuMinusCapturePrecompound& );
0086
0087 G4HadFinalState result;
0088 G4Fancy3DNucleus fNucleus;
0089 const G4ParticleDefinition* fProton;
0090 const G4ParticleDefinition* fNeutron;
0091 G4VPreCompoundModel* fPreCompound;
0092 G4double fMuMass;
0093 G4double fThreshold;
0094 G4double fTime;
0095
0096 };
0097
0098
0099
0100 inline void G4MuMinusCapturePrecompound::AddNewParticle(
0101 const G4ParticleDefinition* aParticle,
0102 G4ThreeVector& direction,
0103 G4double kinEnergy)
0104 {
0105 G4DynamicParticle* dp = new G4DynamicParticle(aParticle,
0106 direction,
0107 kinEnergy);
0108 G4HadSecondary hs(dp);
0109 hs.SetTime(fTime);
0110 result.AddSecondary(hs);
0111 }
0112
0113 #endif
0114
0115