File indexing completed on 2025-01-18 09:58:29
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 #define INCLXX_IN_GEANT4_MODE 1
0035
0036 #include "globals.hh"
0037
0038 #ifndef G4INCLXXInterface_hh
0039 #define G4INCLXXInterface_hh 1
0040
0041 #include "G4Nucleon.hh"
0042 #include "G4Nucleus.hh"
0043 #include "G4HadronicInteraction.hh"
0044 #include "G4VIntraNuclearTransportModel.hh"
0045 #include "G4KineticTrackVector.hh"
0046 #include "G4FragmentVector.hh"
0047 #include "G4ParticleChange.hh"
0048 #include "G4ReactionProductVector.hh"
0049 #include "G4ReactionProduct.hh"
0050 #include "globals.hh"
0051
0052
0053 #include "G4INCLCascade.hh"
0054
0055
0056 #include "G4ExcitationHandler.hh"
0057
0058
0059 #include "G4BinaryCascade.hh"
0060 #include "G4BinaryLightIonReaction.hh"
0061
0062
0063 #include "G4VPreCompoundModel.hh"
0064 #include "G4PreCompoundModel.hh"
0065
0066
0067 #include "G4IonTable.hh"
0068
0069
0070 #include "G4VLevelDensityParameter.hh"
0071 #include "G4FissionProbability.hh"
0072
0073 #include <fstream>
0074 #include <iostream>
0075
0076 class G4INCLXXInterfaceStore;
0077 class G4INCLXXVInterfaceTally;
0078
0079
0080
0081
0082
0083
0084
0085
0086
0087
0088
0089
0090
0091
0092
0093
0094
0095
0096
0097
0098
0099
0100
0101
0102
0103 class G4INCLXXInterface : public G4VIntraNuclearTransportModel {
0104 public:
0105 G4INCLXXInterface(G4VPreCompoundModel * const aPreCompound = 0);
0106 ~G4INCLXXInterface();
0107
0108 G4bool operator==(G4INCLXXInterface& right) {
0109 return (this == &right);
0110 }
0111
0112 G4bool operator!=(G4INCLXXInterface& right) {
0113 return (this != &right);
0114 }
0115
0116 G4ReactionProductVector* Propagate(G4KineticTrackVector* theSecondaries, G4V3DNucleus* theNucleus);
0117
0118
0119
0120
0121
0122
0123
0124 G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack, G4Nucleus& theNucleus);
0125
0126 using G4VIntraNuclearTransportModel::SetDeExcitation;
0127
0128 void DeleteModel() {
0129 delete theINCLModel;
0130 theINCLModel = NULL;
0131 }
0132
0133 virtual void ModelDescription(std::ostream& outFile) const;
0134
0135 G4String const &GetDeExcitationModelName() const;
0136
0137 private:
0138 G4bool AccurateProjectile(const G4HadProjectile &aTrack, const G4Nucleus &theTargetNucleus) const;
0139
0140
0141 G4INCLXXInterface(const G4INCLXXInterface &rhs);
0142
0143
0144 G4INCLXXInterface &operator=(G4INCLXXInterface const &rhs);
0145
0146
0147 G4INCL::ParticleType toINCLParticleType(G4ParticleDefinition const * const) const;
0148
0149
0150 G4INCL::ParticleSpecies toINCLParticleSpecies(G4HadProjectile const &) const;
0151
0152
0153 G4double toINCLKineticEnergy(G4HadProjectile const &) const;
0154
0155
0156 G4DynamicParticle *toG4Particle(G4int A, G4int Z, G4int S, G4int PDGCode , G4double kinE, G4double px, G4double py, G4double pz) const;
0157
0158
0159 G4ParticleDefinition *toG4ParticleDefinition (G4int A, G4int Z, G4int S, G4int PDGCode) const;
0160
0161
0162 G4double remnant4MomentumScaling(G4double mass,
0163 G4double kineticE,
0164 G4double px, G4double py, G4double pz) const;
0165
0166 G4INCL::INCL *theINCLModel;
0167
0168 G4VPreCompoundModel *thePreCompoundModel;
0169
0170 G4HadFinalState theResult;
0171
0172 G4HadronicInteraction *theBackupModel;
0173 G4HadronicInteraction *theBackupModelNucleon;
0174 G4HadronicInteraction *theBackupModelAntiIonExceptAntiProton;
0175
0176 G4INCLXXInterfaceStore * const theInterfaceStore;
0177 G4INCLXXVInterfaceTally * theTally;
0178
0179 G4bool complainedAboutBackupModel;
0180 G4bool complainedAboutPreCompound;
0181
0182 G4IonTable * const theIonTable;
0183
0184 G4bool dumpRemnantInfo;
0185
0186 G4VLevelDensityParameter *theINCLXXLevelDensity;
0187 G4FissionProbability *theINCLXXFissionProbability;
0188
0189 G4int secID;
0190 };
0191
0192 #endif