Changeset 962 for trunk/source/processes/hadronic/models/qmd/include
- Timestamp:
- Apr 6, 2009, 12:30:29 PM (17 years ago)
- Location:
- trunk/source/processes/hadronic/models/qmd/include
- Files:
-
- 5 edited
-
G4QMDCollision.hh (modified) (3 diffs)
-
G4QMDMeanField.hh (modified) (2 diffs)
-
G4QMDParticipant.hh (modified) (3 diffs)
-
G4QMDReaction.hh (modified) (5 diffs)
-
G4QMDSystem.hh (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/qmd/include/G4QMDCollision.hh
r819 r962 34 34 // Creation date: 9 April 2007 35 35 // ----------------------------------------------------------------------------- 36 // 37 // 081120 Add deltaT in signature of CalKinematicsOfBinaryCollisions 36 38 37 39 #ifndef G4QMDCollision_hh … … 49 51 ~G4QMDCollision(); 50 52 51 void CalKinematicsOfBinaryCollisions( );53 void CalKinematicsOfBinaryCollisions( G4double ); 52 54 G4bool CalFinalStateOfTheBinaryCollision( G4int , G4int ); 53 55 G4bool CalFinalStateOfTheBinaryCollisionJQMD( G4double , G4double , G4ThreeVector , G4double , G4double , G4ThreeVector , G4double , G4int , G4int ); … … 55 57 56 58 void SetMeanField ( G4QMDMeanField* meanfield ){ theMeanField = meanfield; theSystem = meanfield->GetSystem(); } 57 58 59 59 60 private: -
trunk/source/processes/hadronic/models/qmd/include/G4QMDMeanField.hh
r819 r962 34 34 // Creation date: 29 March 2007 35 35 // ----------------------------------------------------------------------------- 36 // 081120 Add Update 36 37 37 38 #ifndef G4QMDMeanField_hh … … 74 75 std::vector< G4double > GetDepthOfPotential(); 75 76 77 void Update(); 78 76 79 private: 77 80 G4double calPauliBlockingFactor( G4int ); -
trunk/source/processes/hadronic/models/qmd/include/G4QMDParticipant.hh
r819 r962 34 34 // Creation date: 29 March 2007 35 35 // ----------------------------------------------------------------------------- 36 // 37 // 081120 Add hit flag and related methods 36 38 37 39 #ifndef G4QMDParticipant_hh … … 70 72 71 73 void UnsetInitialMark() { projectile = false; target = false; } 74 void UnsetHitMark() { hit = false; } 75 G4bool IsThisHit() { return hit; } 76 void SetHitMark() { hit = true; } 77 72 78 void SetProjectile() { projectile = true; } 73 79 void SetTarget() { target = true; } … … 82 88 G4bool projectile; 83 89 G4bool target; 90 G4bool hit; 84 91 }; 85 92 -
trunk/source/processes/hadronic/models/qmd/include/G4QMDReaction.hh
r819 r962 34 34 // Creation date: 02 April 2007 35 35 // ----------------------------------------------------------------------------- 36 // 37 // 081107 Add UnUseGEM (then use the default channel of G4Evaporation) 38 // UseFrag (chage criterion of a inelastic reaction) 39 // 36 40 37 41 #ifndef G4QMDReaction_hh … … 63 67 G4HadFinalState *ApplyYourself( const G4HadProjectile &aTrack, G4Nucleus & targetNucleus ); 64 68 69 void UnUseGEM(){ gem = false; setEvaporationCh(); }; 70 void UseFRAG(){ frag = true; }; 71 65 72 private: 66 void setInitialCondition( G4QMDSystem* , G4QMDSystem* ); 73 74 void setEvaporationCh(); 67 75 68 76 G4QMDMeanField* meanField; … … 70 78 G4QMDCollision* collision; 71 79 72 void doPropagation();73 80 void doCollision(); 74 81 std::vector< G4QMDSystem* > doClusterJudgment(); … … 80 87 G4Evaporation* evaporation; 81 88 G4ExcitationHandler* excitationHandler; 89 82 90 // G4VPreCompoundModel* preco; 83 91 … … 102 110 G4IonsShenCrossSection genspaXS; 103 111 112 G4bool gem; 113 G4bool frag; 114 104 115 }; 105 116 -
trunk/source/processes/hadronic/models/qmd/include/G4QMDSystem.hh
r819 r962 34 34 // Creation date: 29 March 2007 35 35 // ----------------------------------------------------------------------------- 36 // 37 // 080602 Fix memory leaks by T. Koi 38 // 081120 Add EraseParticipant and InsertParticipant Methods by T. Koi 36 39 37 40 #ifndef G4QMDSystem_hh … … 51 54 void SubtractSystem ( G4QMDSystem* ); 52 55 53 void DeleteParticipant( G4int i ) { participants.erase( std::find ( participants.begin() , participants.end() , participants[ i ] ) ); }; 56 G4QMDParticipant* EraseParticipant( G4int i ) { G4QMDParticipant* particle = participants[ i ]; participants.erase( std::find ( participants.begin() , participants.end() , participants[ i ] ) ) ; return particle; }; 57 void DeleteParticipant( G4int i ) { delete participants[ i ] ; participants.erase( std::find ( participants.begin() , participants.end() , participants[ i ] ) ); }; 58 void InsertParticipant( G4QMDParticipant* particle , G4int j ); 54 59 55 60 G4int GetTotalNumberOfParticipant() { return participants.size(); };
Note:
See TracChangeset
for help on using the changeset viewer.
