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/de_excitation/handler/include/G4ExcitationHandler.hh

    r1228 r1315  
    2424// ********************************************************************
    2525//
    26 //
    27 // $Id: G4ExcitationHandler.hh,v 1.10 2009/11/24 11:18:48 vnivanch Exp $
    28 // GEANT4 tag $Name: geant4-09-03 $
     26// $Id: G4ExcitationHandler.hh,v 1.12 2010/04/27 14:00:23 vnivanch Exp $
     27// GEANT4 tag $Name: geant4-09-04-beta-cand-01 $
    2928//
    3029// Hadronic Process: Nuclear De-excitations
     
    5554#include "G4VEvaporation.hh"
    5655#include "G4VPhotonEvaporation.hh"
     56#include "G4VEvaporationChannel.hh"
    5757#include "G4Fragment.hh"
    5858#include "G4DynamicParticle.hh"
     
    6868#include "G4IonConstructor.hh"
    6969
    70 //#define debug
    71 
    7270class G4ExcitationHandler
    7371{
     
    7573  G4ExcitationHandler();
    7674  ~G4ExcitationHandler();
     75
    7776private:
     77
    7878  G4ExcitationHandler(const G4ExcitationHandler &right);
    79 
    8079  const G4ExcitationHandler & operator=(const G4ExcitationHandler &right);
    8180  G4bool operator==(const G4ExcitationHandler &right) const;
    8281  G4bool operator!=(const G4ExcitationHandler &right) const;
    8382 
    84 
    8583public:
     84
    8685  G4ReactionProductVector * BreakItUp(const G4Fragment &theInitialState) const;
    8786
     
    9291  void SetFermiModel(G4VFermiBreakUp *const  value);
    9392
    94   void SetPhotonEvaporation(G4VPhotonEvaporation * const value);
     93  void SetPhotonEvaporation(G4VEvaporationChannel * const value);
    9594
    9695  void SetMaxZForFermiBreakUp(G4int aZ);
     
    9998  void SetMinEForMultiFrag(G4double anE);
    10099
    101 // for inverse cross section choice
    102   inline void SetOPTxs(G4int opt) { OPTxs = opt;}
    103 // for superimposed Coulomb Barrir for inverse cross sections
    104   inline void UseSICB(){useSICB=true;}
     100  // for inverse cross section choice
     101  inline void SetOPTxs(G4int opt);
     102  // for superimposed Coulomb Barrir for inverse cross sections
     103  inline void UseSICB();
    105104
    106105private:
    107106
     107  void SetParameters();
     108
    108109  G4ReactionProductVector * Transform(G4FragmentVector * theFragmentVector) const;
    109110
     
    114115  const G4VFermiBreakUp * GetFermiModel() const;
    115116
    116   const G4VPhotonEvaporation * GetPhotonEvaporation() const;
     117  const G4VEvaporationChannel * GetPhotonEvaporation() const;
    117118
    118119  G4int GetMaxZ() const;
     
    124125                         G4FragmentVector * Result) const;
    125126#endif
     127
    126128private:
    127129 
     
    132134  G4VFermiBreakUp *theFermiModel;
    133135 
    134   G4VPhotonEvaporation * thePhotonEvaporation;
     136  G4VEvaporationChannel * thePhotonEvaporation;
    135137
    136138  G4int maxZForFermiBreakUp;
    137139  G4int maxAForFermiBreakUp;
    138140  G4double minEForMultiFrag;
     141  G4double minExcitation;
    139142
    140143  G4ParticleTable *theTableOfParticles;
     
    147150  G4int OPTxs;
    148151  G4bool useSICB;
    149 
     152 
    150153  struct DeleteFragment
    151154  {
     
    156159    }
    157160  };
    158 
    159 
     161 
    160162};
    161163
    162 
     164inline void G4ExcitationHandler::SetOPTxs(G4int opt)
     165{
     166  OPTxs = opt;
     167  SetParameters();
     168}
     169
     170inline void G4ExcitationHandler::UseSICB()
     171{
     172  useSICB = true;
     173  SetParameters();
     174}
    163175
    164176inline const G4VEvaporation * G4ExcitationHandler::GetEvaporation() const
     
    172184  MyOwnEvaporationClass = false;
    173185  theEvaporation = value;
     186  SetParameters();
    174187}
    175188
     
    199212
    200213
    201 inline const G4VPhotonEvaporation * G4ExcitationHandler::GetPhotonEvaporation() const
     214inline const G4VEvaporationChannel * G4ExcitationHandler::GetPhotonEvaporation() const
    202215{
    203216  return thePhotonEvaporation;
    204217}
    205218
    206 inline void G4ExcitationHandler::SetPhotonEvaporation(G4VPhotonEvaporation *const  value)
     219inline void G4ExcitationHandler::SetPhotonEvaporation(G4VEvaporationChannel *const  value)
    207220{
    208221  if (thePhotonEvaporation != 0 && MyOwnPhotonEvaporationClass) delete thePhotonEvaporation;
Note: See TracChangeset for help on using the changeset viewer.