Geant4 11.2.2
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 () const
 
G4VEvaporationChannelGetFissionChannel () const
 
G4VEvaporationChannelGetChannel (std::size_t idx) const
 
void SetOPTxs (G4int opt)
 
void UseSICB (G4bool use)
 
std::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 {nullptr}
 
G4VFermiBreakUptheFBU {nullptr}
 
G4int OPTxs {3}
 
G4bool useSICB {true}
 
std::vector< G4VEvaporationChannel * > * theChannels {nullptr}
 
G4VEvaporationFactorytheChannelFactory {nullptr}
 

Detailed Description

Definition at line 52 of file G4VEvaporation.hh.

Constructor & Destructor Documentation

◆ G4VEvaporation() [1/2]

G4VEvaporation::G4VEvaporation ( )

Definition at line 37 of file G4VEvaporation.cc.

38{}

◆ ~G4VEvaporation()

G4VEvaporation::~G4VEvaporation ( )
virtual

Definition at line 40 of file G4VEvaporation.cc.

41{
44 delete theChannelFactory;
45}
G4VEvaporationChannel * thePhotonEvaporation
G4VEvaporationFactory * theChannelFactory

◆ 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 47 of file G4VEvaporation.cc.

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

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

◆ GetChannel()

G4VEvaporationChannel * G4VEvaporation::GetChannel ( std::size_t idx) const
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}
G4VFermiBreakUp * theFBU

◆ GetFissionChannel()

G4VEvaporationChannel * G4VEvaporation::GetFissionChannel ( ) const
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(), and G4NeutronFissionVI::InitialiseModel().

◆ GetNumberOfChannels()

std::size_t G4VEvaporation::GetNumberOfChannels ( ) const
inline

Definition at line 139 of file G4VEvaporation.hh.

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

Referenced by G4ExcitationHandler::SetDeexChannelsType().

◆ GetPhotonEvaporation()

G4VEvaporationChannel * G4VEvaporation::GetPhotonEvaporation ( ) const
inline

Definition at line 112 of file G4VEvaporation.hh.

113{
115}

◆ InitialiseChannels()

void G4VEvaporation::InitialiseChannels ( )
virtual

Reimplemented in G4Evaporation.

Definition at line 59 of file G4VEvaporation.cc.

60{}

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 62 of file G4VEvaporation.cc.

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

Referenced by G4Evaporation::G4Evaporation(), G4ExcitationHandler::SetEvaporation(), 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 {3}
protected

Definition at line 95 of file G4VEvaporation.hh.

95{3};

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

◆ theChannelFactory

◆ theChannels

std::vector<G4VEvaporationChannel*>* G4VEvaporation::theChannels {nullptr}
protected

◆ theFBU

G4VFermiBreakUp* G4VEvaporation::theFBU {nullptr}
protected

Definition at line 93 of file G4VEvaporation.hh.

93{nullptr};

Referenced by G4Evaporation::BreakFragment(), GetFermiBreakUp(), and SetFermiBreakUp().

◆ thePhotonEvaporation

◆ useSICB

G4bool G4VEvaporation::useSICB {true}
protected

Definition at line 96 of file G4VEvaporation.hh.

96{true};

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


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