Warning, file /include/Geant4/G4GeneratorPrecompoundInterface.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 #ifndef G4GeneratorPrecompoundInterface_h
0047 #define G4GeneratorPrecompoundInterface_h 1
0048
0049 #include "G4VIntraNuclearTransportModel.hh"
0050 #include "G4ReactionProductVector.hh"
0051 #include "G4HadProjectile.hh"
0052 #include "G4Nucleus.hh"
0053 #include "globals.hh"
0054
0055 class G4KineticTrackVector;
0056 class G4V3DNucleus;
0057 class G4ParticleDefinition;
0058
0059 class G4GeneratorPrecompoundInterface : public G4VIntraNuclearTransportModel
0060 {
0061 public:
0062
0063 G4GeneratorPrecompoundInterface(G4VPreCompoundModel* p = 0);
0064 virtual ~G4GeneratorPrecompoundInterface();
0065
0066 virtual G4HadFinalState*
0067 ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus );
0068
0069 virtual G4ReactionProductVector*
0070 Propagate(G4KineticTrackVector* theSecondaries, G4V3DNucleus* theNucleus);
0071
0072 virtual G4ReactionProductVector*
0073 PropagateNuclNucl(G4KineticTrackVector* theSecondaries, G4V3DNucleus* theNucleus,
0074 G4V3DNucleus* theProjectileNucleus);
0075
0076 inline void SetCaptureThreshold(G4double);
0077
0078 inline void SetDeltaM(G4double);
0079 inline void SetDeltaR(G4double);
0080
0081 void MakeCoalescence(G4KineticTrackVector* theSecondaries);
0082
0083 virtual void PropagateModelDescription(std::ostream&) const;
0084
0085 private:
0086
0087 G4GeneratorPrecompoundInterface(const G4GeneratorPrecompoundInterface& right);
0088 const G4GeneratorPrecompoundInterface& operator=(const G4GeneratorPrecompoundInterface &right);
0089 G4bool operator==(G4GeneratorPrecompoundInterface& right) {return (this == &right);}
0090 G4bool operator!=(G4GeneratorPrecompoundInterface& right) {return (this != &right);}
0091
0092 G4double CaptureThreshold;
0093 G4double DeltaM;
0094 G4double DeltaR;
0095
0096 const G4ParticleDefinition* proton;
0097 const G4ParticleDefinition* neutron;
0098 const G4ParticleDefinition* lambda;
0099
0100 const G4ParticleDefinition* deuteron;
0101 const G4ParticleDefinition* triton;
0102 const G4ParticleDefinition* He3;
0103 const G4ParticleDefinition* He4;
0104
0105 const G4ParticleDefinition* ANTIproton;
0106 const G4ParticleDefinition* ANTIneutron;
0107
0108 const G4ParticleDefinition* ANTIdeuteron;
0109 const G4ParticleDefinition* ANTItriton;
0110 const G4ParticleDefinition* ANTIHe3;
0111 const G4ParticleDefinition* ANTIHe4;
0112
0113 G4int secID;
0114 };
0115
0116 inline
0117 void G4GeneratorPrecompoundInterface::SetCaptureThreshold(G4double value)
0118 {
0119 CaptureThreshold = value;
0120 }
0121
0122 inline
0123 void G4GeneratorPrecompoundInterface::SetDeltaM(G4double value)
0124 {
0125 DeltaM = value;
0126 }
0127
0128 inline
0129 void G4GeneratorPrecompoundInterface::SetDeltaR(G4double value)
0130 {
0131 DeltaR = value;
0132 }
0133
0134 #endif
0135