Ignore:
Timestamp:
Jun 18, 2010, 11:42:07 AM (14 years ago)
Author:
garnier
Message:

update geant4-09-04-beta-cand-01 interfaces-V09-03-09 vis-V09-03-08

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/hadronic/models/cascade/cascade/include/G4EquilibriumEvaporator.hh

    r962 r1315  
    2323// * acceptance of all terms of the Geant4 Software license.          *
    2424// ********************************************************************
     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 $
    2527//
     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
    2633#ifndef G4EQUILIBRIUM_EVAPORATOR_HH
    2734#define G4EQUILIBRIUM_EVAPORATOR_HH
    2835
    29 #include "G4Collider.hh"
    30 #include "G4Fissioner.hh"
    31 #include "G4BigBanger.hh"
    32 #include "G4InuclSpecialFunctions.hh"
     36#include "G4VCascadeCollider.hh"
    3337
    34 using namespace G4InuclSpecialFunctions;
     38class G4CollisionOutput;
     39class G4Fissioner;
     40class G4BigBanger;
     41class G4InuclParticle;
    3542
    36 class G4EquilibriumEvaporator {
     43class G4EquilibriumEvaporator : public G4VCascadeCollider {
     44public:
     45  G4EquilibriumEvaporator();
     46  virtual ~G4EquilibriumEvaporator();
    3747
    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);
    5250
    5351private:
    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
    5561  G4double getE0(G4double A) const;
    5662
    5763  G4double getPARLEVDEN(G4double A,
    5864                        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;
    6665
    6766  G4double getQF(G4double x,
     
    7877  G4Fissioner* theFissioner;
    7978  G4BigBanger* theBigBanger;
    80 
    8179};       
    8280
    83 #endif // G4EQUILIBRIUM_EVAPORATOR_HH
     81#endif /* G4EQUILIBRIUM_EVAPORATOR_HH */
    8482
    8583
Note: See TracChangeset for help on using the changeset viewer.