Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VEvaporation Class Reference

#include <G4VEvaporation.hh>

+ Inheritance diagram for G4VEvaporation:

Public Member Functions

 G4VEvaporation ()
 
virtual ~G4VEvaporation ()
 
virtual void BreakFragment (G4FragmentVector *, G4Fragment *theNucleus)
 
virtual void InitialiseChannels ()
 
virtual void SetPhotonEvaporation (G4VEvaporationChannel *ptr)
 
void SetFermiBreakUp (G4VFermiBreakUp *ptr)
 
G4VFermiBreakUpGetFermiBreakUp () const
 
G4VEvaporationChannelGetPhotonEvaporation ()
 
G4VEvaporationChannelGetFissionChannel ()
 
G4VEvaporationChannelGetChannel (size_t idx)
 
void SetOPTxs (G4int opt)
 
void UseSICB (G4bool use)
 
size_t GetNumberOfChannels () const
 
 G4VEvaporation (const G4VEvaporation &right)=delete
 
const G4VEvaporationoperator= (const G4VEvaporation &right)=delete
 
G4bool operator== (const G4VEvaporation &right) const =delete
 
G4bool operator!= (const G4VEvaporation &right) const =delete
 

Protected Member Functions

void CleanChannels ()
 

Protected Attributes

G4VEvaporationChannelthePhotonEvaporation
 
G4VFermiBreakUptheFBU
 
G4int OPTxs
 
G4bool useSICB
 
std::vector< G4VEvaporationChannel * > * theChannels
 
G4VEvaporationFactorytheChannelFactory
 

Detailed Description

Definition at line 52 of file G4VEvaporation.hh.

Constructor & Destructor Documentation

◆ G4VEvaporation() [1/2]

G4VEvaporation::G4VEvaporation ( )
explicit

Definition at line 37 of file G4VEvaporation.cc.

38 :thePhotonEvaporation(nullptr),theFBU(nullptr),OPTxs(3),useSICB(true)
39 ,theChannels(nullptr),theChannelFactory(nullptr)
40{}
G4VFermiBreakUp * theFBU
G4VEvaporationChannel * thePhotonEvaporation
G4VEvaporationFactory * theChannelFactory
std::vector< G4VEvaporationChannel * > * theChannels

◆ ~G4VEvaporation()

G4VEvaporation::~G4VEvaporation ( )
virtual

Definition at line 42 of file G4VEvaporation.cc.

43{
46 delete theChannelFactory;
47}

◆ G4VEvaporation() [2/2]

G4VEvaporation::G4VEvaporation ( const G4VEvaporation right)
delete

Member Function Documentation

◆ BreakFragment()

void G4VEvaporation::BreakFragment ( G4FragmentVector ,
G4Fragment theNucleus 
)
virtual

Reimplemented in G4Evaporation.

Definition at line 75 of file G4VEvaporation.cc.

76{}

Referenced by G4ExcitationHandler::BreakItUp().

◆ CleanChannels()

void G4VEvaporation::CleanChannels ( )
protected

Definition at line 49 of file G4VEvaporation.cc.

50{
51 // clean all except photon evaporation
52 if(theChannels) {
53 for (size_t i=1; i<theChannels->size(); ++i) {
54 delete (*theChannels)[i];
55 }
56 delete theChannels;
57 theChannels = nullptr;
58 }
59}

Referenced by G4Evaporation::SetCombinedChannel(), G4Evaporation::SetDefaultChannel(), G4Evaporation::SetGEMChannel(), G4Evaporation::SetGEMVIChannel(), and ~G4VEvaporation().

◆ GetChannel()

G4VEvaporationChannel * G4VEvaporation::GetChannel ( size_t  idx)
inline

Definition at line 123 of file G4VEvaporation.hh.

124{
125 return (nullptr != theChannels && theChannels->size() > idx) ?
126 (*theChannels)[idx] : nullptr;
127}

◆ GetFermiBreakUp()

G4VFermiBreakUp * G4VEvaporation::GetFermiBreakUp ( ) const
inline

Definition at line 107 of file G4VEvaporation.hh.

108{
109 return theFBU;
110}

◆ GetFissionChannel()

G4VEvaporationChannel * G4VEvaporation::GetFissionChannel ( )
inline

Definition at line 117 of file G4VEvaporation.hh.

118{
119 return (nullptr != theChannels && theChannels->size() > 1) ?
120 (*theChannels)[1] : nullptr;
121}

Referenced by G4INCLXXInterface::G4INCLXXInterface().

◆ GetNumberOfChannels()

size_t G4VEvaporation::GetNumberOfChannels ( ) const
inline

Definition at line 139 of file G4VEvaporation.hh.

140{
141 return theChannels ? theChannels->size() : 0;
142}

Referenced by G4ExcitationHandler::SetDeexChannelsType().

◆ GetPhotonEvaporation()

G4VEvaporationChannel * G4VEvaporation::GetPhotonEvaporation ( )
inline

Definition at line 112 of file G4VEvaporation.hh.

113{
115}

Referenced by G4ExcitationHandler::SetEvaporation().

◆ InitialiseChannels()

void G4VEvaporation::InitialiseChannels ( )
virtual

Reimplemented in G4Evaporation.

Definition at line 61 of file G4VEvaporation.cc.

62{}

Referenced by G4ExcitationHandler::Initialise().

◆ operator!=()

G4bool G4VEvaporation::operator!= ( const G4VEvaporation right) const
delete

◆ operator=()

const G4VEvaporation & G4VEvaporation::operator= ( const G4VEvaporation right)
delete

◆ operator==()

G4bool G4VEvaporation::operator== ( const G4VEvaporation right) const
delete

◆ SetFermiBreakUp()

void G4VEvaporation::SetFermiBreakUp ( G4VFermiBreakUp ptr)
inline

Definition at line 102 of file G4VEvaporation.hh.

103{
104 theFBU = ptr;
105}

Referenced by G4ExcitationHandler::SetEvaporation(), and G4ExcitationHandler::SetFermiModel().

◆ SetOPTxs()

void G4VEvaporation::SetOPTxs ( G4int  opt)
inline

Definition at line 129 of file G4VEvaporation.hh.

130{
131 OPTxs = opt;
132}

◆ SetPhotonEvaporation()

void G4VEvaporation::SetPhotonEvaporation ( G4VEvaporationChannel ptr)
virtual

Definition at line 64 of file G4VEvaporation.cc.

65{
66 // photon evaporation channel is the first
67 // G4VEvaporation is responsible for its deletion
68 if(thePhotonEvaporation != ptr) {
71 if(theChannels && 0 < theChannels->size()) { (*theChannels)[0] = ptr; }
72 }
73}

Referenced by G4Evaporation::G4Evaporation(), and G4ExcitationHandler::SetPhotonEvaporation().

◆ UseSICB()

void G4VEvaporation::UseSICB ( G4bool  use)
inline

Definition at line 134 of file G4VEvaporation.hh.

135{
136 useSICB = use;
137}

Member Data Documentation

◆ OPTxs

G4int G4VEvaporation::OPTxs
protected

Definition at line 95 of file G4VEvaporation.hh.

Referenced by G4WilsonAblationModel::G4WilsonAblationModel(), and SetOPTxs().

◆ theChannelFactory

◆ theChannels

◆ theFBU

G4VFermiBreakUp* G4VEvaporation::theFBU
protected

◆ thePhotonEvaporation

◆ useSICB

G4bool G4VEvaporation::useSICB
protected

Definition at line 96 of file G4VEvaporation.hh.

Referenced by G4WilsonAblationModel::G4WilsonAblationModel(), and UseSICB().


The documentation for this class was generated from the following files: