- Timestamp:
- Nov 25, 2009, 5:13:58 PM (16 years ago)
- Location:
- trunk/source/processes/hadronic/models/binary_cascade/include
- Files:
-
- 3 edited
-
G4BinaryCascade.hh (modified) (4 diffs)
-
G4BinaryLightIonReaction.hh (modified) (1 diff)
-
G4GeneratorPrecompoundInterface.hh (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/binary_cascade/include/G4BinaryCascade.hh
r962 r1196 1 // 1 2 2 // ******************************************************************** 3 3 // * License and Disclaimer * … … 85 85 G4int GetTotalCharge(std::vector<G4KineticTrack *> & aV) 86 86 { 87 G4cout<<"GetTotalCharge(std::vector<G4KineticTrack *> & aV)"<<G4endl; // Uzhi 87 88 G4int result = 0; 88 89 std::vector<G4KineticTrack *>::iterator i; … … 90 91 { 91 92 result += G4lrint((*i)->GetDefinition()->GetPDGCharge()); 93 G4cout<<(*i)->GetDefinition()->GetParticleName()<<" "<<(*i)->GetDefinition()->GetPDGCharge()<<G4endl; // Uzhi 92 94 } 93 95 return result; … … 129 131 void DebugApplyCollision(G4CollisionInitialState * collision, 130 132 G4KineticTrackVector *products); 133 void DebugEpConservation(const G4HadProjectile & aTrack, G4ReactionProductVector* products); 134 131 135 private: 132 136 G4KineticTrackVector theProjectileList; -
trunk/source/processes/hadronic/models/binary_cascade/include/G4BinaryLightIonReaction.hh
r819 r1196 39 39 G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack, 40 40 G4Nucleus& theNucleus); 41 41 void SetPrecompound(G4VPreCompoundModel* const value); 42 void SetDeExcitation(G4ExcitationHandler* const value); 43 42 44 private: 43 45 G4BinaryCascade theModel; 44 G4ExcitationHandler theHandler;45 G4 PreCompoundModeltheProjectileFragmentation;46 G4ExcitationHandler* theHandler; 47 G4VPreCompoundModel* theProjectileFragmentation; 46 48 G4HadFinalState theResult; 47 49 G4bool EnergyAndMomentumCorrector(G4ReactionProductVector* products, 48 50 G4LorentzVector& TotalCollisionMom); 49 51 }; 52 inline void G4BinaryLightIonReaction::SetPrecompound(G4VPreCompoundModel* const value) 53 { 54 if (theProjectileFragmentation) delete theProjectileFragmentation; 55 theProjectileFragmentation = value; 56 } 57 inline void G4BinaryLightIonReaction::SetDeExcitation(G4ExcitationHandler* const value) 58 { 59 if (theHandler) delete theHandler; 60 theHandler = value; 61 } 50 62 51 63 #endif -
trunk/source/processes/hadronic/models/binary_cascade/include/G4GeneratorPrecompoundInterface.hh
r819 r1196 46 46 { 47 47 public: 48 G4GeneratorPrecompoundInterface() {}48 G4GeneratorPrecompoundInterface(); 49 49 ~G4GeneratorPrecompoundInterface(){} 50 50 … … 56 56 G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus ); 57 57 G4ReactionProductVector* Propagate(G4KineticTrackVector* theSecondaries, G4V3DNucleus* theNucleus); 58 G4double SetCaptureThreshold(G4double); 58 59 59 60 private:60 private: 61 G4double CaptureThreshold; 61 62 }; 62 63
Note:
See TracChangeset
for help on using the changeset viewer.
