Changeset 962 for trunk/source/processes/hadronic/models/management/include/G4InelasticInteraction.hh
- Timestamp:
- Apr 6, 2009, 12:30:29 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/management/include/G4InelasticInteraction.hh
r819 r962 25 25 // 26 26 // 27 // $Id: G4InelasticInteraction.hh,v 1. 5 2007/01/11 05:30:12 dennisExp $28 // GEANT4 tag $Name: $27 // $Id: G4InelasticInteraction.hh,v 1.6 2009/01/24 11:56:27 vnivanch Exp $ 28 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 29 29 // 30 // Hadronic Process: Inelastic Interaction 31 // This class is an abstract base class, since the pure virtual 32 // function ApplyYourself has not been defined yet. 33 // original by H.P. Wellisch 34 // Modified by J.L. Chuma, TRIUMF, 22-Nov-1996 35 // Modified by J.L. Chuma 27-Mar-1997 36 // Modified by J.L. Chuma 30-Apr-1997 37 // Modified by J.L. Chuma 05-Aug-1997 to pass the original incident particle to 38 // CalculateMomenta 39 // Modified by J.L. Chuma 05-Jun-1998 to include quasiElastic flag to allow for 40 // TwoBody to be called directly, bypassing 41 // TwoCluster, and allowing TwoCluster to be 42 // called with no secondaries 30 // Hadronic Process: Inelastic Interaction 31 // This class is an abstract base class, since the pure virtual 32 // function ApplyYourself has not been defined yet. 33 // original by H.P. Wellisch 34 // Modified by J.L. Chuma, TRIUMF, 22-Nov-1996 35 // Modified by J.L. Chuma 27-Mar-1997 36 // Modified by J.L. Chuma 30-Apr-1997 37 // Modified by J.L. Chuma 05-Aug-1997 to pass the original incident particle to 38 // CalculateMomenta 39 // Modified by J.L. Chuma 05-Jun-1998 to include quasiElastic flag to allow for 40 // TwoBody to be called directly, bypassing 41 // TwoCluster, and allowing TwoCluster to be 42 // called with no secondaries 43 // 23-Jan-2009 V.Ivanchenko move constructor and destructor to the body 43 44 44 45 #ifndef G4InelasticInteraction_h … … 53 54 #include "G4ReactionDynamics.hh" 54 55 55 56 57 56 class G4InelasticInteraction : public G4HadronicInteraction 57 { 58 public: 58 59 59 G4InelasticInteraction(const G4String& modelName = "LEInelastic") 60 : G4HadronicInteraction(modelName) 61 { cache = 0.0;} 60 G4InelasticInteraction(const G4String& modelName = "LEInelastic"); 62 61 63 virtual ~G4InelasticInteraction() 64 { } 62 virtual ~G4InelasticInteraction(); 65 63 66 64 protected: 67 65 68 66 G4double Pmltpc( G4int np, G4int nm, G4int nz, G4int n, … … 100 98 G4ReactionProduct &targetParticle, 101 99 G4bool &incidentHasChanged ); 102 100 private: 103 101 104 102 G4double cache; 105 103 G4ThreeVector what; 106 104 107 105 }; 108 106 109 107 #endif
Note: See TracChangeset
for help on using the changeset viewer.