Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4VEvaporation Class Reference

#include <G4VEvaporation.hh>

Inheritance diagram for G4VEvaporation:
Collaboration 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 ()
 
void SetOPTxs (G4int opt)
 
void UseSICB (G4bool use)
 
size_t GetNumberOfChannels () const
 

Protected Member Functions

void CleanChannels ()
 

Protected Attributes

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

Detailed Description

Definition at line 53 of file G4VEvaporation.hh.

Constructor & Destructor Documentation

G4VEvaporation::G4VEvaporation ( )
explicit

Definition at line 38 of file G4VEvaporation.cc.

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

Definition at line 43 of file G4VEvaporation.cc.

44 {
45  CleanChannels();
46  delete thePhotonEvaporation;
47  delete theChannelFactory;
48 }
G4VEvaporationChannel * thePhotonEvaporation
G4VEvaporationFactory * theChannelFactory

Here is the call graph for this function:

Member Function Documentation

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

Reimplemented in G4Evaporation.

Definition at line 76 of file G4VEvaporation.cc.

77 {}

Here is the caller graph for this function:

void G4VEvaporation::CleanChannels ( )
protected

Definition at line 50 of file G4VEvaporation.cc.

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

Here is the caller graph for this function:

G4VFermiBreakUp * G4VEvaporation::GetFermiBreakUp ( ) const
inline

Definition at line 109 of file G4VEvaporation.hh.

110 {
111  return theFBU;
112 }
G4VFermiBreakUp * theFBU
G4VEvaporationChannel * G4VEvaporation::GetFissionChannel ( )
inline

Definition at line 119 of file G4VEvaporation.hh.

120 {
121  return (theChannels && theChannels->size() > 1) ? (*theChannels)[1] : nullptr;
122 }
std::vector< G4VEvaporationChannel * > * theChannels

Here is the caller graph for this function:

size_t G4VEvaporation::GetNumberOfChannels ( ) const
inline

Definition at line 134 of file G4VEvaporation.hh.

135 {
136  return theChannels ? theChannels->size() : 0;
137 }
std::vector< G4VEvaporationChannel * > * theChannels

Here is the caller graph for this function:

G4VEvaporationChannel * G4VEvaporation::GetPhotonEvaporation ( )
inline

Definition at line 114 of file G4VEvaporation.hh.

115 {
116  return thePhotonEvaporation;
117 }
G4VEvaporationChannel * thePhotonEvaporation

Here is the caller graph for this function:

void G4VEvaporation::InitialiseChannels ( )
virtual

Reimplemented in G4Evaporation.

Definition at line 62 of file G4VEvaporation.cc.

63 {}

Here is the caller graph for this function:

void G4VEvaporation::SetFermiBreakUp ( G4VFermiBreakUp ptr)
inline

Definition at line 104 of file G4VEvaporation.hh.

105 {
106  theFBU = ptr;
107 }
G4VFermiBreakUp * theFBU

Here is the caller graph for this function:

void G4VEvaporation::SetOPTxs ( G4int  opt)
inline

Definition at line 124 of file G4VEvaporation.hh.

125 {
126  OPTxs = opt;
127 }
void G4VEvaporation::SetPhotonEvaporation ( G4VEvaporationChannel ptr)
virtual

Definition at line 65 of file G4VEvaporation.cc.

66 {
67  // photon evaporation channel is the first
68  // G4VEvaporation is responsible for its deletion
69  if(thePhotonEvaporation != ptr) {
70  delete thePhotonEvaporation;
72  if(theChannels && 0 < theChannels->size()) { (*theChannels)[0] = ptr; }
73  }
74 }
G4VEvaporationChannel * thePhotonEvaporation
std::vector< G4VEvaporationChannel * > * theChannels

Here is the caller graph for this function:

void G4VEvaporation::UseSICB ( G4bool  use)
inline

Definition at line 129 of file G4VEvaporation.hh.

130 {
131  useSICB = use;
132 }

Member Data Documentation

G4int G4VEvaporation::OPTxs
protected

Definition at line 90 of file G4VEvaporation.hh.

G4VEvaporationFactory* G4VEvaporation::theChannelFactory
protected

Definition at line 94 of file G4VEvaporation.hh.

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

Definition at line 93 of file G4VEvaporation.hh.

G4VFermiBreakUp* G4VEvaporation::theFBU
protected

Definition at line 88 of file G4VEvaporation.hh.

G4VEvaporationChannel* G4VEvaporation::thePhotonEvaporation
protected

Definition at line 87 of file G4VEvaporation.hh.

G4bool G4VEvaporation::useSICB
protected

Definition at line 91 of file G4VEvaporation.hh.


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