Geant4-11
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
G4ParticleHPManager Class Reference

#include <G4ParticleHPManager.hh>

Public Member Functions

void CloseReactionWhiteBoard ()
 
void DumpDataSource ()
 
void DumpSetting ()
 
G4PhysicsTableGetCaptureCrossSections ()
 
std::vector< G4ParticleHPChannel * > * GetCaptureFinalStates ()
 
void GetDataStream (G4String, std::istringstream &iss)
 
void GetDataStream2 (G4String, std::istringstream &iss)
 
G4bool GetDoNotAdjustFinalState ()
 
G4PhysicsTableGetElasticCrossSections ()
 
std::vector< G4ParticleHPChannel * > * GetElasticFinalStates ()
 
G4PhysicsTableGetFissionCrossSections ()
 
std::vector< G4ParticleHPChannel * > * GetFissionFinalStates ()
 
G4PhysicsTableGetInelasticCrossSections (const G4ParticleDefinition *)
 
std::vector< G4ParticleHPChannelList * > * GetInelasticFinalStates (const G4ParticleDefinition *)
 
G4bool GetNeglectDoppler ()
 
G4bool GetProduceFissionFragments ()
 
G4ParticleHPReactionWhiteBoardGetReactionWhiteBoard ()
 
G4bool GetSkipMissingIsotopes ()
 
std::map< G4int, std::map< G4double, G4ParticleHPVector * > * > * GetThermalScatteringCoherentCrossSections ()
 
std::map< G4int, std::map< G4double, std::vector< std::pair< G4double, G4double > * > * > * > * GetThermalScatteringCoherentFinalStates ()
 
std::map< G4int, std::map< G4double, G4ParticleHPVector * > * > * GetThermalScatteringIncoherentCrossSections ()
 
std::map< G4int, std::map< G4double, std::vector< E_isoAng * > * > * > * GetThermalScatteringIncoherentFinalStates ()
 
std::map< G4int, std::map< G4double, G4ParticleHPVector * > * > * GetThermalScatteringInelasticCrossSections ()
 
std::map< G4int, std::map< G4double, std::vector< E_P_E_isoAng * > * > * > * GetThermalScatteringInelasticFinalStates ()
 
G4bool GetUseNRESP71Model ()
 
G4bool GetUseOnlyPhotoEvaporation ()
 
G4bool GetUseWendtFissionModel ()
 
G4int GetVerboseLevel ()
 
void OpenReactionWhiteBoard ()
 
void RegisterCaptureCrossSections (G4PhysicsTable *val)
 
void RegisterCaptureFinalStates (std::vector< G4ParticleHPChannel * > *val)
 
void RegisterElasticCrossSections (G4PhysicsTable *val)
 
void RegisterElasticFinalStates (std::vector< G4ParticleHPChannel * > *val)
 
void RegisterFissionCrossSections (G4PhysicsTable *val)
 
void RegisterFissionFinalStates (std::vector< G4ParticleHPChannel * > *val)
 
void RegisterInelasticCrossSections (const G4ParticleDefinition *, G4PhysicsTable *)
 
void RegisterInelasticFinalStates (const G4ParticleDefinition *, std::vector< G4ParticleHPChannelList * > *)
 
void RegisterThermalScatteringCoherentCrossSections (std::map< G4int, std::map< G4double, G4ParticleHPVector * > * > *val)
 
void RegisterThermalScatteringCoherentFinalStates (std::map< G4int, std::map< G4double, std::vector< std::pair< G4double, G4double > * > * > * > *val)
 
void RegisterThermalScatteringIncoherentCrossSections (std::map< G4int, std::map< G4double, G4ParticleHPVector * > * > *val)
 
void RegisterThermalScatteringIncoherentFinalStates (std::map< G4int, std::map< G4double, std::vector< E_isoAng * > * > * > *val)
 
void RegisterThermalScatteringInelasticCrossSections (std::map< G4int, std::map< G4double, G4ParticleHPVector * > * > *val)
 
void RegisterThermalScatteringInelasticFinalStates (std::map< G4int, std::map< G4double, std::vector< E_P_E_isoAng * > * > * > *val)
 
void SetDoNotAdjustFinalState (G4bool val)
 
void SetNeglectDoppler (G4bool val)
 
void SetProduceFissionFragments (G4bool val)
 
void SetSkipMissingIsotopes (G4bool val)
 
void SetUseNRESP71Model (G4bool val)
 
void SetUseOnlyPhotoEvaporation (G4bool val)
 
void SetUseWendtFissionModel (G4bool val)
 
void SetVerboseLevel (G4int i)
 

Static Public Member Functions

static G4ParticleHPManagerGetInstance ()
 

Private Member Functions

 G4ParticleHPManager ()
 
 G4ParticleHPManager (const G4ParticleHPManager &)
 
void register_data_file (G4String, G4String)
 
 ~G4ParticleHPManager ()
 

Private Attributes

G4bool DO_NOT_ADJUST_FINAL_STATE
 
std::map< G4String, G4StringmDataEvaluation
 
G4ParticleHPMessengermessenger
 
G4bool NEGLECT_DOPPLER
 
G4bool PRODUCE_FISSION_FRAGMENTS
 
G4bool SKIP_MISSING_ISOTOPES
 
G4PhysicsTabletheCaptureCrossSections
 
std::vector< G4ParticleHPChannel * > * theCaptureFSs
 
G4PhysicsTabletheElasticCrossSections
 
std::vector< G4ParticleHPChannel * > * theElasticFSs
 
G4PhysicsTabletheFissionCrossSections
 
std::vector< G4ParticleHPChannel * > * theFissionFSs
 
std::map< const G4ParticleDefinition *, G4PhysicsTable * > theInelasticCrossSections
 
std::map< const G4ParticleDefinition *, std::vector< G4ParticleHPChannelList * > * > theInelasticFSs
 
std::map< G4int, std::map< G4double, G4ParticleHPVector * > * > * theTSCoherentCrossSections
 
std::map< G4int, std::map< G4double, std::vector< std::pair< G4double, G4double > * > * > * > * theTSCoherentFinalStates
 
std::map< G4int, std::map< G4double, G4ParticleHPVector * > * > * theTSIncoherentCrossSections
 
std::map< G4int, std::map< G4double, std::vector< E_isoAng * > * > * > * theTSIncoherentFinalStates
 
std::map< G4int, std::map< G4double, G4ParticleHPVector * > * > * theTSInelasticCrossSections
 
std::map< G4int, std::map< G4double, std::vector< E_P_E_isoAng * > * > * > * theTSInelasticFinalStates
 
G4bool USE_NRESP71_MODEL
 
G4bool USE_ONLY_PHOTONEVAPORATION
 
G4bool USE_WENDT_FISSION_MODEL
 
G4int verboseLevel
 

Static Private Attributes

static G4ParticleHPManagerinstance = 0
 

Detailed Description

Definition at line 53 of file G4ParticleHPManager.hh.

Constructor & Destructor Documentation

◆ G4ParticleHPManager() [1/2]

G4ParticleHPManager::G4ParticleHPManager ( )
private

Definition at line 43 of file G4ParticleHPManager.cc.

44: verboseLevel(1)
47,NEGLECT_DOPPLER(false)
64{
65 messenger = new G4ParticleHPMessenger( this );
66}
std::map< G4int, std::map< G4double, std::vector< E_isoAng * > * > * > * theTSIncoherentFinalStates
G4ParticleHPMessenger * messenger
G4PhysicsTable * theElasticCrossSections
std::map< G4int, std::map< G4double, std::vector< std::pair< G4double, G4double > * > * > * > * theTSCoherentFinalStates
std::map< G4int, std::map< G4double, G4ParticleHPVector * > * > * theTSIncoherentCrossSections
std::map< G4int, std::map< G4double, std::vector< E_P_E_isoAng * > * > * > * theTSInelasticFinalStates
std::vector< G4ParticleHPChannel * > * theFissionFSs
std::vector< G4ParticleHPChannel * > * theElasticFSs
G4PhysicsTable * theCaptureCrossSections
std::map< G4int, std::map< G4double, G4ParticleHPVector * > * > * theTSInelasticCrossSections
std::map< G4int, std::map< G4double, G4ParticleHPVector * > * > * theTSCoherentCrossSections
G4PhysicsTable * theFissionCrossSections
std::vector< G4ParticleHPChannel * > * theCaptureFSs

References messenger.

◆ G4ParticleHPManager() [2/2]

G4ParticleHPManager::G4ParticleHPManager ( const G4ParticleHPManager )
inlineprivate

Definition at line 60 of file G4ParticleHPManager.hh.

60{};

◆ ~G4ParticleHPManager()

G4ParticleHPManager::~G4ParticleHPManager ( )
private

Definition at line 68 of file G4ParticleHPManager.cc.

69{
70 delete messenger;
71}

References messenger.

Member Function Documentation

◆ CloseReactionWhiteBoard()

void G4ParticleHPManager::CloseReactionWhiteBoard ( )

◆ DumpDataSource()

void G4ParticleHPManager::DumpDataSource ( )

Definition at line 217 of file G4ParticleHPManager.cc.

218{
219
220 G4cout << "Data source of this Partile HP calculation are " << G4endl;
221 for ( std::map< G4String , G4String >::iterator
222 it = mDataEvaluation.begin() ; it != mDataEvaluation.end() ; it++ )
223 {
224 G4cout << it->first << " " << it->second << G4endl;
225 }
226 G4cout << G4endl;
227}
#define G4endl
Definition: G4ios.hh:57
G4GLOB_DLL std::ostream G4cout
std::map< G4String, G4String > mDataEvaluation

References G4cout, G4endl, and mDataEvaluation.

◆ DumpSetting()

void G4ParticleHPManager::DumpSetting ( )

Definition at line 256 of file G4ParticleHPManager.cc.

256 {
257 G4cout << G4endl
258 << "=======================================================" << G4endl
259 << "====== ParticleHP Physics Parameters ========" << G4endl
260 << "=======================================================" << G4endl
261 << " UseOnlyPhotoEvaporation ? " << USE_ONLY_PHOTONEVAPORATION << G4endl
262 << " SkipMissingIsotopes ? " << SKIP_MISSING_ISOTOPES << G4endl
263 << " NeglectDoppler ? " << NEGLECT_DOPPLER << G4endl
264 << " DoNotAdjustFinalState ? " << DO_NOT_ADJUST_FINAL_STATE << G4endl
265 << " ProduceFissionFragments ? " << PRODUCE_FISSION_FRAGMENTS << G4endl
266 << " UseWendtFissionModel ? " << USE_WENDT_FISSION_MODEL << G4endl
267 << " UseNRESP71Model ? " << USE_NRESP71_MODEL << G4endl
268 << "=======================================================" << G4endl
269 << G4endl;
270}

References DO_NOT_ADJUST_FINAL_STATE, G4cout, G4endl, NEGLECT_DOPPLER, PRODUCE_FISSION_FRAGMENTS, SKIP_MISSING_ISOTOPES, USE_NRESP71_MODEL, USE_ONLY_PHOTONEVAPORATION, and USE_WENDT_FISSION_MODEL.

Referenced by G4ParticleHPInelastic::BuildPhysicsTable().

◆ GetCaptureCrossSections()

G4PhysicsTable * G4ParticleHPManager::GetCaptureCrossSections ( )
inline

Definition at line 102 of file G4ParticleHPManager.hh.

102{ return theCaptureCrossSections; };

References theCaptureCrossSections.

Referenced by G4ParticleHPCaptureData::BuildPhysicsTable().

◆ GetCaptureFinalStates()

std::vector< G4ParticleHPChannel * > * G4ParticleHPManager::GetCaptureFinalStates ( )
inline

Definition at line 112 of file G4ParticleHPManager.hh.

112{ return theCaptureFSs; };

References theCaptureFSs.

Referenced by G4ParticleHPCapture::BuildPhysicsTable().

◆ GetDataStream()

void G4ParticleHPManager::GetDataStream ( G4String  filename,
std::istringstream &  iss 
)

Definition at line 98 of file G4ParticleHPManager.cc.

99{
100 G4String* data=0;
101 G4String compfilename(filename);
102 compfilename += ".z";
103 std::ifstream* in = new std::ifstream ( compfilename , std::ios::binary | std::ios::ate );
104 if ( in->good() )
105 {
106 // Use the compressed file
107 G4int file_size = in->tellg();
108 in->seekg( 0 , std::ios::beg );
109 Bytef* compdata = new Bytef[ file_size ];
110
111 while ( *in )
112 { // Loop checking, 11.05.2015, T. Koi
113 in->read( (char*)compdata , file_size );
114 }
115
116 uLongf complen = (uLongf) ( file_size*4 );
117 Bytef* uncompdata = new Bytef[complen];
118
119 while ( Z_OK != uncompress ( uncompdata , &complen , compdata , file_size ) )
120 { // Loop checking, 11.05.2015, T. Koi
121 delete[] uncompdata;
122 complen *= 2;
123 uncompdata = new Bytef[complen];
124 }
125 delete [] compdata;
126 // Now "complen" has uncomplessed size
127 data = new G4String ( (char*)uncompdata , (G4long)complen );
128 delete [] uncompdata;
129 }
130 else
131 {
132 // Use regular text file
133 std::ifstream thefData( filename , std::ios::in | std::ios::ate );
134 if ( thefData.good() )
135 {
136 G4int file_size = thefData.tellg();
137 thefData.seekg( 0 , std::ios::beg );
138 char* filedata = new char[ file_size ];
139 while ( thefData )
140 { // Loop checking, 11.05.2015, T. Koi
141 thefData.read( filedata , file_size );
142 }
143 thefData.close();
144 data = new G4String ( filedata , file_size );
145 delete [] filedata;
146 }
147 else
148 {
149 // found no data file
150 // set error bit to the stream
151 iss.setstate( std::ios::badbit );
152 }
153 }
154 if ( data != 0 )
155 {
156 iss.str(*data);
157 G4String id;
158 iss >> id;
159 if ( id == "G4NDL" )
160 {
161 //Register information of file
163 iss >> source;
164 register_data_file(filename,source);
165 }
166 else
167 {
168 iss.seekg( 0 , std::ios::beg );
169 }
170 }
171 in->close(); delete in;
172 delete data;
173}
long G4long
Definition: G4Types.hh:87
int G4int
Definition: G4Types.hh:85
void register_data_file(G4String, G4String)
int ZEXPORT uncompress(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen)
Definition: uncompr.c:85
#define Z_OK
Definition: zlib.h:177

References register_data_file(), uncompress(), and Z_OK.

Referenced by G4FissionLibrary::Init(), G4ParticleHPCaptureFS::Init(), G4ParticleHPElasticFS::Init(), G4ParticleHPFFFissionFS::Init(), G4ParticleHPFSFissionFS::Init(), G4ParticleHPInelasticCompFS::Init(), G4ParticleHPFissionBaseFS::Init(), G4ParticleHPInelasticBaseFS::Init(), G4ParticleHPIsoData::Init(), G4ENDFTapeRead::Initialize(), G4WendtFissionFragmentGenerator::InitializeANucleus(), G4ParticleHPThermalScattering::readACoherentFSDATA(), G4ParticleHPThermalScattering::readAnIncoherentFSDATA(), G4ParticleHPThermalScattering::readAnInelasticFSDATA(), and G4ParticleHPThermalScatteringData::readData().

◆ GetDataStream2()

void G4ParticleHPManager::GetDataStream2 ( G4String  filename,
std::istringstream &  iss 
)

Definition at line 175 of file G4ParticleHPManager.cc.

176{
177 // Checking existance of data file
178
179 G4String compfilename(filename);
180 compfilename += ".z";
181 std::ifstream* in = new std::ifstream ( compfilename , std::ios::binary | std::ios::ate );
182 if ( in->good() )
183 {
184 // Compressed file is exist
185 in->close();
186 }
187 else
188 {
189 std::ifstream thefData( filename , std::ios::in | std::ios::ate );
190 if ( thefData.good() )
191 {
192 // Regular text file is exist
193 thefData.close();
194 }
195 else
196 {
197 // found no data file
198 // set error bit to the stream
199 iss.setstate( std::ios::badbit );
200 }
201 }
202 delete in;
203}

Referenced by G4ParticleHPNames::GetName().

◆ GetDoNotAdjustFinalState()

G4bool G4ParticleHPManager::GetDoNotAdjustFinalState ( )
inline

◆ GetElasticCrossSections()

G4PhysicsTable * G4ParticleHPManager::GetElasticCrossSections ( )
inline

Definition at line 100 of file G4ParticleHPManager.hh.

100{ return theElasticCrossSections; };

References theElasticCrossSections.

Referenced by G4ParticleHPElasticData::BuildPhysicsTable().

◆ GetElasticFinalStates()

std::vector< G4ParticleHPChannel * > * G4ParticleHPManager::GetElasticFinalStates ( )
inline

Definition at line 108 of file G4ParticleHPManager.hh.

108{ return theElasticFSs; };

References theElasticFSs.

Referenced by G4ParticleHPElastic::BuildPhysicsTable().

◆ GetFissionCrossSections()

G4PhysicsTable * G4ParticleHPManager::GetFissionCrossSections ( )
inline

Definition at line 106 of file G4ParticleHPManager.hh.

106{ return theFissionCrossSections; };

References theFissionCrossSections.

Referenced by G4ParticleHPFissionData::BuildPhysicsTable().

◆ GetFissionFinalStates()

std::vector< G4ParticleHPChannel * > * G4ParticleHPManager::GetFissionFinalStates ( )
inline

Definition at line 114 of file G4ParticleHPManager.hh.

114{ return theFissionFSs; };

References theFissionFSs.

Referenced by G4ParticleHPFission::BuildPhysicsTable().

◆ GetInelasticCrossSections()

G4PhysicsTable * G4ParticleHPManager::GetInelasticCrossSections ( const G4ParticleDefinition particle)

Definition at line 229 of file G4ParticleHPManager.cc.

230{
231 if ( theInelasticCrossSections.end() != theInelasticCrossSections.find( particle ) )
232 return theInelasticCrossSections.find( particle )->second;
233 else
234 return 0;
235}
std::map< const G4ParticleDefinition *, G4PhysicsTable * > theInelasticCrossSections

References theInelasticCrossSections.

Referenced by G4ParticleHPInelasticData::BuildPhysicsTable().

◆ GetInelasticFinalStates()

std::vector< G4ParticleHPChannelList * > * G4ParticleHPManager::GetInelasticFinalStates ( const G4ParticleDefinition particle)

Definition at line 242 of file G4ParticleHPManager.cc.

243{
244 if ( theInelasticFSs.end() != theInelasticFSs.find( particle ) )
245 return theInelasticFSs.find( particle )->second;
246 else
247 return 0;
248}
std::map< const G4ParticleDefinition *, std::vector< G4ParticleHPChannelList * > * > theInelasticFSs

References theInelasticFSs.

Referenced by G4ParticleHPInelastic::BuildPhysicsTable().

◆ GetInstance()

G4ParticleHPManager * G4ParticleHPManager::GetInstance ( )
static

Definition at line 73 of file G4ParticleHPManager.cc.

74{
75 static G4ParticleHPManager manager;
76 if (!instance)
77 {
78 instance = &manager;
79 }
80 return instance;
81}
static G4ParticleHPManager * instance

References instance.

Referenced by G4ParticleHPFinalState::adjust_final_state(), G4ParticleHPChannelList::ApplyYourself(), G4FissLib::ApplyYourself(), G4ParticleHPCapture::ApplyYourself(), G4ParticleHPFission::ApplyYourself(), G4ParticleHPInelastic::ApplyYourself(), G4ParticleHPElastic::ApplyYourself(), G4ParticleHPCaptureFS::ApplyYourself(), G4ParticleHPFissionFS::ApplyYourself(), G4ParticleHPChannel::ApplyYourself(), G4ParticleHPInelasticBaseFS::BaseApply(), G4ParticleHPThermalScattering::buildPhysicsTable(), G4ParticleHPCapture::BuildPhysicsTable(), G4ParticleHPCaptureData::BuildPhysicsTable(), G4ParticleHPElastic::BuildPhysicsTable(), G4ParticleHPElasticData::BuildPhysicsTable(), G4ParticleHPFission::BuildPhysicsTable(), G4ParticleHPFissionData::BuildPhysicsTable(), G4ParticleHPInelastic::BuildPhysicsTable(), G4ParticleHPInelasticData::BuildPhysicsTable(), G4ParticleHPThermalScatteringData::BuildPhysicsTable(), G4ParticleHPInelasticCompFS::CompositeApply(), G4ParticleHPChannel::G4ParticleHPChannel(), G4ParticleHPContAngularPar::G4ParticleHPContAngularPar(), G4ParticleHPCaptureData::GetCrossSection(), G4ParticleHPElasticData::GetCrossSection(), G4ParticleHPFissionData::GetCrossSection(), G4ParticleHPInelasticData::GetCrossSection(), G4ParticleHPNames::GetName(), G4ParticleHPCapture::GetVerboseLevel(), G4ParticleHPCaptureData::GetVerboseLevel(), G4ParticleHPElastic::GetVerboseLevel(), G4ParticleHPElasticData::GetVerboseLevel(), G4ParticleHPFission::GetVerboseLevel(), G4ParticleHPFissionData::GetVerboseLevel(), G4ParticleHPInelastic::GetVerboseLevel(), G4ParticleHPInelasticData::GetVerboseLevel(), G4FissionLibrary::Init(), G4ParticleHPCaptureFS::Init(), G4ParticleHPElasticFS::Init(), G4ParticleHPFFFissionFS::Init(), G4ParticleHPFissionFS::Init(), G4ParticleHPFSFissionFS::Init(), G4ParticleHPInelasticCompFS::Init(), G4ParticleHPFissionBaseFS::Init(), G4ParticleHPInelasticBaseFS::Init(), G4ParticleHPIsoData::Init(), G4ParticleHPContAngularPar::Init(), G4ENDFTapeRead::Initialize(), G4WendtFissionFragmentGenerator::InitializeANucleus(), G4ParticleHPThermalScattering::readACoherentFSDATA(), G4ParticleHPThermalScattering::readAnIncoherentFSDATA(), G4ParticleHPThermalScattering::readAnInelasticFSDATA(), G4ParticleHPThermalScatteringData::readData(), G4ParticleHPContAngularPar::Sample(), G4ParticleHPCapture::SetVerboseLevel(), G4ParticleHPCaptureData::SetVerboseLevel(), G4ParticleHPElastic::SetVerboseLevel(), G4ParticleHPElasticData::SetVerboseLevel(), G4ParticleHPFission::SetVerboseLevel(), G4ParticleHPFissionData::SetVerboseLevel(), G4ParticleHPInelastic::SetVerboseLevel(), G4ParticleHPInelasticData::SetVerboseLevel(), and Shielding::Shielding().

◆ GetNeglectDoppler()

G4bool G4ParticleHPManager::GetNeglectDoppler ( )
inline

Definition at line 79 of file G4ParticleHPManager.hh.

79{ return NEGLECT_DOPPLER; };

References NEGLECT_DOPPLER.

Referenced by G4ParticleHPMessenger::SetNewValue().

◆ GetProduceFissionFragments()

G4bool G4ParticleHPManager::GetProduceFissionFragments ( )
inline

◆ GetReactionWhiteBoard()

G4ParticleHPReactionWhiteBoard * G4ParticleHPManager::GetReactionWhiteBoard ( )

◆ GetSkipMissingIsotopes()

G4bool G4ParticleHPManager::GetSkipMissingIsotopes ( )
inline

Definition at line 78 of file G4ParticleHPManager.hh.

78{ return SKIP_MISSING_ISOTOPES; };

References SKIP_MISSING_ISOTOPES.

Referenced by G4ParticleHPMessenger::SetNewValue().

◆ GetThermalScatteringCoherentCrossSections()

std::map< G4int, std::map< G4double, G4ParticleHPVector * > * > * G4ParticleHPManager::GetThermalScatteringCoherentCrossSections ( )
inline

◆ GetThermalScatteringCoherentFinalStates()

std::map< G4int, std::map< G4double, std::vector< std::pair< G4double, G4double > * > * > * > * G4ParticleHPManager::GetThermalScatteringCoherentFinalStates ( )
inline

◆ GetThermalScatteringIncoherentCrossSections()

std::map< G4int, std::map< G4double, G4ParticleHPVector * > * > * G4ParticleHPManager::GetThermalScatteringIncoherentCrossSections ( )
inline

◆ GetThermalScatteringIncoherentFinalStates()

std::map< G4int, std::map< G4double, std::vector< E_isoAng * > * > * > * G4ParticleHPManager::GetThermalScatteringIncoherentFinalStates ( )
inline

◆ GetThermalScatteringInelasticCrossSections()

std::map< G4int, std::map< G4double, G4ParticleHPVector * > * > * G4ParticleHPManager::GetThermalScatteringInelasticCrossSections ( )
inline

◆ GetThermalScatteringInelasticFinalStates()

std::map< G4int, std::map< G4double, std::vector< E_P_E_isoAng * > * > * > * G4ParticleHPManager::GetThermalScatteringInelasticFinalStates ( )
inline

◆ GetUseNRESP71Model()

G4bool G4ParticleHPManager::GetUseNRESP71Model ( )
inline

Definition at line 83 of file G4ParticleHPManager.hh.

83{ return USE_NRESP71_MODEL; };

References USE_NRESP71_MODEL.

Referenced by G4ParticleHPMessenger::SetNewValue().

◆ GetUseOnlyPhotoEvaporation()

G4bool G4ParticleHPManager::GetUseOnlyPhotoEvaporation ( )
inline

Definition at line 77 of file G4ParticleHPManager.hh.

References USE_ONLY_PHOTONEVAPORATION.

Referenced by G4ParticleHPMessenger::SetNewValue().

◆ GetUseWendtFissionModel()

G4bool G4ParticleHPManager::GetUseWendtFissionModel ( )
inline

Definition at line 82 of file G4ParticleHPManager.hh.

82{ return USE_WENDT_FISSION_MODEL; };

References USE_WENDT_FISSION_MODEL.

Referenced by G4ParticleHPMessenger::SetNewValue().

◆ GetVerboseLevel()

G4int G4ParticleHPManager::GetVerboseLevel ( )
inline

◆ OpenReactionWhiteBoard()

void G4ParticleHPManager::OpenReactionWhiteBoard ( )

◆ register_data_file()

void G4ParticleHPManager::register_data_file ( G4String  filename,
G4String  source 
)
private

Definition at line 212 of file G4ParticleHPManager.cc.

213{
214 mDataEvaluation.insert( std::pair < G4String , G4String > ( filename , source ) );
215}

References mDataEvaluation.

Referenced by GetDataStream().

◆ RegisterCaptureCrossSections()

void G4ParticleHPManager::RegisterCaptureCrossSections ( G4PhysicsTable val)
inline

◆ RegisterCaptureFinalStates()

void G4ParticleHPManager::RegisterCaptureFinalStates ( std::vector< G4ParticleHPChannel * > *  val)
inline

Definition at line 113 of file G4ParticleHPManager.hh.

113{ theCaptureFSs = val; };

References theCaptureFSs.

Referenced by G4ParticleHPCapture::BuildPhysicsTable().

◆ RegisterElasticCrossSections()

void G4ParticleHPManager::RegisterElasticCrossSections ( G4PhysicsTable val)
inline

◆ RegisterElasticFinalStates()

void G4ParticleHPManager::RegisterElasticFinalStates ( std::vector< G4ParticleHPChannel * > *  val)
inline

Definition at line 109 of file G4ParticleHPManager.hh.

109{ theElasticFSs = val; };

References theElasticFSs.

Referenced by G4ParticleHPElastic::BuildPhysicsTable().

◆ RegisterFissionCrossSections()

void G4ParticleHPManager::RegisterFissionCrossSections ( G4PhysicsTable val)
inline

◆ RegisterFissionFinalStates()

void G4ParticleHPManager::RegisterFissionFinalStates ( std::vector< G4ParticleHPChannel * > *  val)
inline

Definition at line 115 of file G4ParticleHPManager.hh.

115{ theFissionFSs = val; };

References theFissionFSs.

Referenced by G4ParticleHPFission::BuildPhysicsTable().

◆ RegisterInelasticCrossSections()

void G4ParticleHPManager::RegisterInelasticCrossSections ( const G4ParticleDefinition particle,
G4PhysicsTable val 
)

Definition at line 237 of file G4ParticleHPManager.cc.

238{
239 theInelasticCrossSections.insert( std::pair<const G4ParticleDefinition* , G4PhysicsTable* >( particle , val ) );
240}

References theInelasticCrossSections.

Referenced by G4ParticleHPInelasticData::BuildPhysicsTable().

◆ RegisterInelasticFinalStates()

void G4ParticleHPManager::RegisterInelasticFinalStates ( const G4ParticleDefinition particle,
std::vector< G4ParticleHPChannelList * > *  val 
)

Definition at line 250 of file G4ParticleHPManager.cc.

251{
252 theInelasticFSs.insert ( std::pair<const G4ParticleDefinition*,std::vector<G4ParticleHPChannelList*>*>( particle , val ) );
253}

References theInelasticFSs.

Referenced by G4ParticleHPInelastic::BuildPhysicsTable().

◆ RegisterThermalScatteringCoherentCrossSections()

void G4ParticleHPManager::RegisterThermalScatteringCoherentCrossSections ( std::map< G4int, std::map< G4double, G4ParticleHPVector * > * > *  val)
inline

◆ RegisterThermalScatteringCoherentFinalStates()

void G4ParticleHPManager::RegisterThermalScatteringCoherentFinalStates ( std::map< G4int, std::map< G4double, std::vector< std::pair< G4double, G4double > * > * > * > *  val)
inline

◆ RegisterThermalScatteringIncoherentCrossSections()

void G4ParticleHPManager::RegisterThermalScatteringIncoherentCrossSections ( std::map< G4int, std::map< G4double, G4ParticleHPVector * > * > *  val)
inline

◆ RegisterThermalScatteringIncoherentFinalStates()

void G4ParticleHPManager::RegisterThermalScatteringIncoherentFinalStates ( std::map< G4int, std::map< G4double, std::vector< E_isoAng * > * > * > *  val)
inline

◆ RegisterThermalScatteringInelasticCrossSections()

void G4ParticleHPManager::RegisterThermalScatteringInelasticCrossSections ( std::map< G4int, std::map< G4double, G4ParticleHPVector * > * > *  val)
inline

◆ RegisterThermalScatteringInelasticFinalStates()

void G4ParticleHPManager::RegisterThermalScatteringInelasticFinalStates ( std::map< G4int, std::map< G4double, std::vector< E_P_E_isoAng * > * > * > *  val)
inline

◆ SetDoNotAdjustFinalState()

void G4ParticleHPManager::SetDoNotAdjustFinalState ( G4bool  val)
inline

Definition at line 88 of file G4ParticleHPManager.hh.

References DO_NOT_ADJUST_FINAL_STATE.

Referenced by G4ParticleHPMessenger::SetNewValue().

◆ SetNeglectDoppler()

void G4ParticleHPManager::SetNeglectDoppler ( G4bool  val)
inline

Definition at line 87 of file G4ParticleHPManager.hh.

87{ NEGLECT_DOPPLER = val; };

References NEGLECT_DOPPLER.

Referenced by G4ParticleHPMessenger::SetNewValue().

◆ SetProduceFissionFragments()

void G4ParticleHPManager::SetProduceFissionFragments ( G4bool  val)
inline

Definition at line 89 of file G4ParticleHPManager.hh.

89 {
90 // Make sure both fission fragment models are not active at same time

References PRODUCE_FISSION_FRAGMENTS, and USE_WENDT_FISSION_MODEL.

Referenced by G4ParticleHPChannel::G4ParticleHPChannel(), G4ParticleHPMessenger::SetNewValue(), and Shielding::Shielding().

◆ SetSkipMissingIsotopes()

void G4ParticleHPManager::SetSkipMissingIsotopes ( G4bool  val)
inline

Definition at line 86 of file G4ParticleHPManager.hh.

86{ SKIP_MISSING_ISOTOPES = val; };

References SKIP_MISSING_ISOTOPES.

Referenced by G4ParticleHPMessenger::SetNewValue().

◆ SetUseNRESP71Model()

void G4ParticleHPManager::SetUseNRESP71Model ( G4bool  val)
inline

Definition at line 95 of file G4ParticleHPManager.hh.

95{ USE_NRESP71_MODEL = val; };

References USE_NRESP71_MODEL.

Referenced by G4ParticleHPMessenger::SetNewValue().

◆ SetUseOnlyPhotoEvaporation()

void G4ParticleHPManager::SetUseOnlyPhotoEvaporation ( G4bool  val)
inline

Definition at line 85 of file G4ParticleHPManager.hh.

References USE_ONLY_PHOTONEVAPORATION.

Referenced by G4ParticleHPMessenger::SetNewValue().

◆ SetUseWendtFissionModel()

void G4ParticleHPManager::SetUseWendtFissionModel ( G4bool  val)
inline

Definition at line 92 of file G4ParticleHPManager.hh.

93 // Make sure both fission fragment models are not active at same time

References PRODUCE_FISSION_FRAGMENTS, and USE_WENDT_FISSION_MODEL.

Referenced by G4ParticleHPMessenger::SetNewValue().

◆ SetVerboseLevel()

void G4ParticleHPManager::SetVerboseLevel ( G4int  i)

Definition at line 205 of file G4ParticleHPManager.cc.

206{
207 G4cout << "You are setting a new verbose level for Particle HP package." << G4endl;
208 G4cout << "the new value will be used in whole of the Particle HP package, i.e., models and cross sections for Capture, Elastic, Fission and Inelastic interaction." << G4endl;
209 verboseLevel = newValue;
210}

References G4cout, G4endl, and verboseLevel.

Referenced by G4ParticleHPMessenger::SetNewValue(), G4ParticleHPCapture::SetVerboseLevel(), G4ParticleHPCaptureData::SetVerboseLevel(), G4ParticleHPElastic::SetVerboseLevel(), G4ParticleHPElasticData::SetVerboseLevel(), G4ParticleHPFission::SetVerboseLevel(), G4ParticleHPFissionData::SetVerboseLevel(), G4ParticleHPInelastic::SetVerboseLevel(), and G4ParticleHPInelasticData::SetVerboseLevel().

Field Documentation

◆ DO_NOT_ADJUST_FINAL_STATE

G4bool G4ParticleHPManager::DO_NOT_ADJUST_FINAL_STATE
private

◆ instance

G4ParticleHPManager * G4ParticleHPManager::instance = 0
staticprivate

Definition at line 62 of file G4ParticleHPManager.hh.

Referenced by GetInstance().

◆ mDataEvaluation

std::map<G4String,G4String> G4ParticleHPManager::mDataEvaluation
private

Definition at line 134 of file G4ParticleHPManager.hh.

Referenced by DumpDataSource(), and register_data_file().

◆ messenger

G4ParticleHPMessenger* G4ParticleHPManager::messenger
private

Definition at line 139 of file G4ParticleHPManager.hh.

Referenced by G4ParticleHPManager(), and ~G4ParticleHPManager().

◆ NEGLECT_DOPPLER

G4bool G4ParticleHPManager::NEGLECT_DOPPLER
private

Definition at line 142 of file G4ParticleHPManager.hh.

Referenced by DumpSetting(), GetNeglectDoppler(), and SetNeglectDoppler().

◆ PRODUCE_FISSION_FRAGMENTS

G4bool G4ParticleHPManager::PRODUCE_FISSION_FRAGMENTS
private

◆ SKIP_MISSING_ISOTOPES

G4bool G4ParticleHPManager::SKIP_MISSING_ISOTOPES
private

◆ theCaptureCrossSections

G4PhysicsTable* G4ParticleHPManager::theCaptureCrossSections
private

◆ theCaptureFSs

std::vector<G4ParticleHPChannel*>* G4ParticleHPManager::theCaptureFSs
private

Definition at line 155 of file G4ParticleHPManager.hh.

Referenced by GetCaptureFinalStates(), and RegisterCaptureFinalStates().

◆ theElasticCrossSections

G4PhysicsTable* G4ParticleHPManager::theElasticCrossSections
private

◆ theElasticFSs

std::vector<G4ParticleHPChannel*>* G4ParticleHPManager::theElasticFSs
private

Definition at line 153 of file G4ParticleHPManager.hh.

Referenced by GetElasticFinalStates(), and RegisterElasticFinalStates().

◆ theFissionCrossSections

G4PhysicsTable* G4ParticleHPManager::theFissionCrossSections
private

◆ theFissionFSs

std::vector<G4ParticleHPChannel*>* G4ParticleHPManager::theFissionFSs
private

Definition at line 156 of file G4ParticleHPManager.hh.

Referenced by GetFissionFinalStates(), and RegisterFissionFinalStates().

◆ theInelasticCrossSections

std::map< const G4ParticleDefinition* , G4PhysicsTable* > G4ParticleHPManager::theInelasticCrossSections
private

◆ theInelasticFSs

std::map< const G4ParticleDefinition* , std::vector<G4ParticleHPChannelList*>* > G4ParticleHPManager::theInelasticFSs
private

◆ theTSCoherentCrossSections

std::map< G4int , std::map< G4double , G4ParticleHPVector* >* >* G4ParticleHPManager::theTSCoherentCrossSections
private

◆ theTSCoherentFinalStates

std::map< G4int , std::map< G4double , std::vector< std::pair< G4double , G4double >* >* >* >* G4ParticleHPManager::theTSCoherentFinalStates
private

◆ theTSIncoherentCrossSections

std::map< G4int , std::map< G4double , G4ParticleHPVector* >* >* G4ParticleHPManager::theTSIncoherentCrossSections
private

◆ theTSIncoherentFinalStates

std::map< G4int , std::map< G4double , std::vector< E_isoAng* >* >* >* G4ParticleHPManager::theTSIncoherentFinalStates
private

◆ theTSInelasticCrossSections

std::map< G4int , std::map< G4double , G4ParticleHPVector* >* >* G4ParticleHPManager::theTSInelasticCrossSections
private

◆ theTSInelasticFinalStates

std::map< G4int , std::map< G4double , std::vector< E_P_E_isoAng* >* >* >* G4ParticleHPManager::theTSInelasticFinalStates
private

◆ USE_NRESP71_MODEL

G4bool G4ParticleHPManager::USE_NRESP71_MODEL
private

Definition at line 146 of file G4ParticleHPManager.hh.

Referenced by DumpSetting(), GetUseNRESP71Model(), and SetUseNRESP71Model().

◆ USE_ONLY_PHOTONEVAPORATION

G4bool G4ParticleHPManager::USE_ONLY_PHOTONEVAPORATION
private

◆ USE_WENDT_FISSION_MODEL

G4bool G4ParticleHPManager::USE_WENDT_FISSION_MODEL
private

◆ verboseLevel

G4int G4ParticleHPManager::verboseLevel
private

Definition at line 137 of file G4ParticleHPManager.hh.

Referenced by GetVerboseLevel(), and SetVerboseLevel().


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