Changeset 1315 for trunk/source/processes/hadronic/models/cascade/cascade/include/G4EquilibriumEvaporator.hh
- Timestamp:
- Jun 18, 2010, 11:42:07 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/cascade/cascade/include/G4EquilibriumEvaporator.hh
r962 r1315 23 23 // * acceptance of all terms of the Geant4 Software license. * 24 24 // ******************************************************************** 25 // $Id: G4EquilibriumEvaporator.hh,v 1.11 2010/05/21 17:56:34 mkelsey Exp $ 26 // Geant4 tag: $Name: geant4-09-04-beta-cand-01 $ 25 27 // 28 // 20100413 M. Kelsey -- Pass G4CollisionOutput by ref to ::collide() 29 // 20100517 M. Kelsey -- Inherit from common base class, make other colliders 30 // simple data members. Rename timeToBigBang() to override 31 // base explosion(). 32 26 33 #ifndef G4EQUILIBRIUM_EVAPORATOR_HH 27 34 #define G4EQUILIBRIUM_EVAPORATOR_HH 28 35 29 #include "G4Collider.hh" 30 #include "G4Fissioner.hh" 31 #include "G4BigBanger.hh" 32 #include "G4InuclSpecialFunctions.hh" 36 #include "G4VCascadeCollider.hh" 33 37 34 using namespace G4InuclSpecialFunctions; 38 class G4CollisionOutput; 39 class G4Fissioner; 40 class G4BigBanger; 41 class G4InuclParticle; 35 42 36 class G4EquilibriumEvaporator { 43 class G4EquilibriumEvaporator : public G4VCascadeCollider { 44 public: 45 G4EquilibriumEvaporator(); 46 virtual ~G4EquilibriumEvaporator(); 37 47 38 public: 39 40 G4EquilibriumEvaporator(); 41 42 void setFissioner(G4Fissioner* fissioner) { 43 theFissioner = fissioner; 44 }; 45 46 void setBigBanger(G4BigBanger* banger) { 47 theBigBanger = banger; 48 }; 49 50 G4CollisionOutput collide(G4InuclParticle* bullet, 51 G4InuclParticle* target); 48 void collide(G4InuclParticle* bullet, G4InuclParticle* target, 49 G4CollisionOutput& output); 52 50 53 51 private: 54 G4int verboseLevel; 52 // Replace base class verision 53 virtual G4bool explosion(G4InuclNuclei*) const { return false; } 54 virtual G4bool explosion(G4double a, 55 G4double z, 56 G4double e) const; 57 58 G4bool goodRemnant(G4double a, 59 G4double z) const; 60 55 61 G4double getE0(G4double A) const; 56 62 57 63 G4double getPARLEVDEN(G4double A, 58 64 G4double Z) const; 59 60 G4bool timeToBigBang(G4double a,61 G4double z,62 G4double e) const;63 64 G4bool goodRemnant(G4double a,65 G4double z) const;66 65 67 66 G4double getQF(G4double x, … … 78 77 G4Fissioner* theFissioner; 79 78 G4BigBanger* theBigBanger; 80 81 79 }; 82 80 83 #endif / / G4EQUILIBRIUM_EVAPORATOR_HH81 #endif /* G4EQUILIBRIUM_EVAPORATOR_HH */ 84 82 85 83
Note: See TracChangeset
for help on using the changeset viewer.