Geant4-11
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
G4VEvaporation Class Reference

#include <G4VEvaporation.hh>

Inheritance diagram for G4VEvaporation:
G4Evaporation G4InuclEvaporation G4WilsonAblationModel

Public Member Functions

virtual void BreakFragment (G4FragmentVector *, G4Fragment *theNucleus)
 
 G4VEvaporation ()
 
G4VFermiBreakUpGetFermiBreakUp () const
 
G4VEvaporationChannelGetFissionChannel ()
 
size_t GetNumberOfChannels () const
 
G4VEvaporationChannelGetPhotonEvaporation ()
 
virtual void InitialiseChannels ()
 
void SetFermiBreakUp (G4VFermiBreakUp *ptr)
 
void SetOPTxs (G4int opt)
 
virtual void SetPhotonEvaporation (G4VEvaporationChannel *ptr)
 
void UseSICB (G4bool use)
 
virtual ~G4VEvaporation ()
 

Protected Member Functions

void CleanChannels ()
 

Protected Attributes

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

Private Member Functions

 G4VEvaporation (const G4VEvaporation &right)=delete
 
G4bool operator!= (const G4VEvaporation &right) const =delete
 
const G4VEvaporationoperator= (const G4VEvaporation &right)=delete
 
G4bool operator== (const G4VEvaporation &right) const =delete
 

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}

References CleanChannels(), theChannelFactory, and thePhotonEvaporation.

◆ G4VEvaporation() [2/2]

G4VEvaporation::G4VEvaporation ( const G4VEvaporation right)
privatedelete

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}

References theChannels.

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

◆ GetFermiBreakUp()

G4VFermiBreakUp * G4VEvaporation::GetFermiBreakUp ( ) const
inline

Definition at line 108 of file G4VEvaporation.hh.

109{
110 return theFBU;
111}

References theFBU.

◆ GetFissionChannel()

G4VEvaporationChannel * G4VEvaporation::GetFissionChannel ( )
inline

Definition at line 118 of file G4VEvaporation.hh.

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

References theChannels.

Referenced by G4INCLXXInterface::G4INCLXXInterface().

◆ GetNumberOfChannels()

size_t G4VEvaporation::GetNumberOfChannels ( ) const
inline

Definition at line 133 of file G4VEvaporation.hh.

134{
135 return theChannels ? theChannels->size() : 0;
136}

References theChannels.

Referenced by G4ExcitationHandler::SetDeexChannelsType().

◆ GetPhotonEvaporation()

G4VEvaporationChannel * G4VEvaporation::GetPhotonEvaporation ( )
inline

Definition at line 113 of file G4VEvaporation.hh.

114{
116}

References thePhotonEvaporation.

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
privatedelete

◆ operator=()

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

◆ operator==()

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

◆ SetFermiBreakUp()

void G4VEvaporation::SetFermiBreakUp ( G4VFermiBreakUp ptr)
inline

Definition at line 103 of file G4VEvaporation.hh.

104{
105 theFBU = ptr;
106}

References theFBU.

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

◆ SetOPTxs()

void G4VEvaporation::SetOPTxs ( G4int  opt)
inline

Definition at line 123 of file G4VEvaporation.hh.

124{
125 OPTxs = opt;
126}

References OPTxs.

◆ 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}

References theChannels, and thePhotonEvaporation.

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

◆ UseSICB()

void G4VEvaporation::UseSICB ( G4bool  use)
inline

Definition at line 128 of file G4VEvaporation.hh.

129{
130 useSICB = use;
131}

References useSICB.

Field Documentation

◆ OPTxs

G4int G4VEvaporation::OPTxs
protected

◆ theChannelFactory

G4VEvaporationFactory* G4VEvaporation::theChannelFactory
protected

◆ theChannels

std::vector<G4VEvaporationChannel*>* G4VEvaporation::theChannels
protected

◆ theFBU

G4VFermiBreakUp* G4VEvaporation::theFBU
protected

◆ thePhotonEvaporation

G4VEvaporationChannel* G4VEvaporation::thePhotonEvaporation
protected

◆ useSICB

G4bool G4VEvaporation::useSICB
protected

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