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

#include <G4ParticleHPManager.hh>

Public Member Functions

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

Static Public Member Functions

static G4ParticleHPManagerGetInstance ()
 

Detailed Description

Definition at line 53 of file G4ParticleHPManager.hh.

Member Function Documentation

◆ 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 (auto it = mDataEvaluation.cbegin(); it != mDataEvaluation.cend(); ++it)
222 {
223 G4cout << it->first << " " << it->second << G4endl;
224 }
225 G4cout << G4endl;
226}
#define G4endl
Definition: G4ios.hh:57
G4GLOB_DLL std::ostream G4cout

◆ DumpSetting()

void G4ParticleHPManager::DumpSetting ( )

Definition at line 255 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}

Referenced by G4ParticleHPInelastic::BuildPhysicsTable().

◆ GetCaptureCrossSections()

G4PhysicsTable * G4ParticleHPManager::GetCaptureCrossSections ( )
inline

Definition at line 102 of file G4ParticleHPManager.hh.

102{ return theCaptureCrossSections; };

Referenced by G4ParticleHPCaptureData::BuildPhysicsTable().

◆ GetCaptureFinalStates()

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

Definition at line 112 of file G4ParticleHPManager.hh.

112{ return 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 std::streamoff 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 std::streamoff 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
162 G4String source;
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 ZEXPORT uncompress(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen)
Definition: uncompr.c:85
#define Z_OK
Definition: zlib.h:177

Referenced by G4FissionLibrary::Init(), G4ParticleHPCaptureFS::Init(), G4ParticleHPElasticFS::Init(), G4ParticleHPFFFissionFS::Init(), G4ParticleHPFSFissionFS::Init(), G4ParticleHPInelasticCompFS::Init(), G4ParticleHPFissionBaseFS::Init(), G4ParticleHPInelasticBaseFS::Init(), G4ParticleHPIsoData::Init(), G4ENDFTapeRead::Initialize(), and G4WendtFissionFragmentGenerator::InitializeANucleus().

◆ 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

Definition at line 80 of file G4ParticleHPManager.hh.

80{ return DO_NOT_ADJUST_FINAL_STATE; };

Referenced by G4ParticleHPCaptureFS::ApplyYourself(), G4ParticleHPInelasticBaseFS::BaseApply(), and G4ParticleHPMessenger::SetNewValue().

◆ GetElasticCrossSections()

G4PhysicsTable * G4ParticleHPManager::GetElasticCrossSections ( )
inline

Definition at line 100 of file G4ParticleHPManager.hh.

100{ return theElasticCrossSections; };

Referenced by G4ParticleHPElasticData::BuildPhysicsTable().

◆ GetElasticFinalStates()

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

Definition at line 108 of file G4ParticleHPManager.hh.

108{ return theElasticFSs; };

Referenced by G4ParticleHPElastic::BuildPhysicsTable().

◆ GetFissionCrossSections()

G4PhysicsTable * G4ParticleHPManager::GetFissionCrossSections ( )
inline

Definition at line 106 of file G4ParticleHPManager.hh.

106{ return theFissionCrossSections; };

Referenced by G4ParticleHPFissionData::BuildPhysicsTable().

◆ GetFissionFinalStates()

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

Definition at line 114 of file G4ParticleHPManager.hh.

114{ return theFissionFSs; };

Referenced by G4ParticleHPFission::BuildPhysicsTable().

◆ GetInelasticCrossSections()

G4PhysicsTable * G4ParticleHPManager::GetInelasticCrossSections ( const G4ParticleDefinition particle)

Definition at line 228 of file G4ParticleHPManager.cc.

229{
230 if ( theInelasticCrossSections.end() != theInelasticCrossSections.find( particle ) )
231 return theInelasticCrossSections.find( particle )->second;
232 else
233 return nullptr;
234}

Referenced by G4ParticleHPInelasticData::BuildPhysicsTable().

◆ GetInelasticFinalStates()

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

Definition at line 241 of file G4ParticleHPManager.cc.

242{
243 if ( theInelasticFSs.end() != theInelasticFSs.find( particle ) )
244 return theInelasticFSs.find( particle )->second;
245 else
246 return nullptr;
247}

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 == nullptr)
77 {
78 instance = &manager;
79 }
80 return instance;
81}

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(), 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(), 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

◆ GetProduceFissionFragments()

G4bool G4ParticleHPManager::GetProduceFissionFragments ( )
inline

Definition at line 81 of file G4ParticleHPManager.hh.

81{ return PRODUCE_FISSION_FRAGMENTS; };

Referenced by G4ParticleHPFissionFS::ApplyYourself(), and G4ParticleHPMessenger::SetNewValue().

◆ GetReactionWhiteBoard()

◆ GetSkipMissingIsotopes()

G4bool G4ParticleHPManager::GetSkipMissingIsotopes ( )
inline

Definition at line 78 of file G4ParticleHPManager.hh.

78{ return SKIP_MISSING_ISOTOPES; };

Referenced by G4ParticleHPMessenger::SetNewValue().

◆ GetThermalScatteringCoherentCrossSections()

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

Definition at line 117 of file G4ParticleHPManager.hh.

117{ return theTSCoherentCrossSections; };

Referenced by G4ParticleHPThermalScatteringData::BuildPhysicsTable().

◆ GetThermalScatteringCoherentFinalStates()

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

Definition at line 124 of file G4ParticleHPManager.hh.

124{ return theTSCoherentFinalStates; };

◆ GetThermalScatteringIncoherentCrossSections()

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

Definition at line 119 of file G4ParticleHPManager.hh.

119{ return theTSIncoherentCrossSections; };

Referenced by G4ParticleHPThermalScatteringData::BuildPhysicsTable().

◆ GetThermalScatteringIncoherentFinalStates()

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

Definition at line 126 of file G4ParticleHPManager.hh.

126{ return theTSIncoherentFinalStates; };

◆ GetThermalScatteringInelasticCrossSections()

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

Definition at line 121 of file G4ParticleHPManager.hh.

121{ return theTSInelasticCrossSections; };

Referenced by G4ParticleHPThermalScatteringData::BuildPhysicsTable().

◆ GetThermalScatteringInelasticFinalStates()

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

Definition at line 128 of file G4ParticleHPManager.hh.

128{ return theTSInelasticFinalStates; };

◆ GetUseNRESP71Model()

G4bool G4ParticleHPManager::GetUseNRESP71Model ( )
inline

Definition at line 83 of file G4ParticleHPManager.hh.

83{ return USE_NRESP71_MODEL; };

Referenced by G4ParticleHPMessenger::SetNewValue().

◆ GetUseOnlyPhotoEvaporation()

G4bool G4ParticleHPManager::GetUseOnlyPhotoEvaporation ( )
inline

Definition at line 77 of file G4ParticleHPManager.hh.

77{ return 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; };

Referenced by G4ParticleHPMessenger::SetNewValue().

◆ GetVerboseLevel()

◆ OpenReactionWhiteBoard()

◆ RegisterCaptureCrossSections()

void G4ParticleHPManager::RegisterCaptureCrossSections ( G4PhysicsTable val)
inline

Definition at line 101 of file G4ParticleHPManager.hh.

101{ theCaptureCrossSections = val; };

Referenced by G4ParticleHPCaptureData::BuildPhysicsTable().

◆ RegisterCaptureFinalStates()

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

Definition at line 113 of file G4ParticleHPManager.hh.

113{ theCaptureFSs = val; };

Referenced by G4ParticleHPCapture::BuildPhysicsTable().

◆ RegisterElasticCrossSections()

void G4ParticleHPManager::RegisterElasticCrossSections ( G4PhysicsTable val)
inline

Definition at line 99 of file G4ParticleHPManager.hh.

99{ theElasticCrossSections = val; };

Referenced by G4ParticleHPElasticData::BuildPhysicsTable().

◆ RegisterElasticFinalStates()

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

Definition at line 109 of file G4ParticleHPManager.hh.

109{ theElasticFSs = val; };

Referenced by G4ParticleHPElastic::BuildPhysicsTable().

◆ RegisterFissionCrossSections()

void G4ParticleHPManager::RegisterFissionCrossSections ( G4PhysicsTable val)
inline

Definition at line 105 of file G4ParticleHPManager.hh.

105{ theFissionCrossSections = val; };

Referenced by G4ParticleHPFissionData::BuildPhysicsTable().

◆ RegisterFissionFinalStates()

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

Definition at line 115 of file G4ParticleHPManager.hh.

115{ theFissionFSs = val; };

Referenced by G4ParticleHPFission::BuildPhysicsTable().

◆ RegisterInelasticCrossSections()

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

Definition at line 236 of file G4ParticleHPManager.cc.

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

Referenced by G4ParticleHPInelasticData::BuildPhysicsTable().

◆ RegisterInelasticFinalStates()

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

Definition at line 249 of file G4ParticleHPManager.cc.

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

Referenced by G4ParticleHPInelastic::BuildPhysicsTable().

◆ RegisterThermalScatteringCoherentCrossSections()

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

Definition at line 118 of file G4ParticleHPManager.hh.

118{ theTSCoherentCrossSections = val; };

Referenced by G4ParticleHPThermalScatteringData::BuildPhysicsTable().

◆ RegisterThermalScatteringCoherentFinalStates()

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

Definition at line 125 of file G4ParticleHPManager.hh.

125{ theTSCoherentFinalStates = val; };

◆ RegisterThermalScatteringIncoherentCrossSections()

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

Definition at line 120 of file G4ParticleHPManager.hh.

120{ theTSIncoherentCrossSections = val; };

Referenced by G4ParticleHPThermalScatteringData::BuildPhysicsTable().

◆ RegisterThermalScatteringIncoherentFinalStates()

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

Definition at line 127 of file G4ParticleHPManager.hh.

127{ theTSIncoherentFinalStates = val; };

◆ RegisterThermalScatteringInelasticCrossSections()

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

Definition at line 122 of file G4ParticleHPManager.hh.

122{ theTSInelasticCrossSections = val; };

Referenced by G4ParticleHPThermalScatteringData::BuildPhysicsTable().

◆ RegisterThermalScatteringInelasticFinalStates()

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

Definition at line 129 of file G4ParticleHPManager.hh.

129{ theTSInelasticFinalStates = val; };

◆ SetDoNotAdjustFinalState()

void G4ParticleHPManager::SetDoNotAdjustFinalState ( G4bool  val)
inline

Definition at line 88 of file G4ParticleHPManager.hh.

88{ DO_NOT_ADJUST_FINAL_STATE = val; };

Referenced by G4ParticleHPMessenger::SetNewValue().

◆ SetNeglectDoppler()

void G4ParticleHPManager::SetNeglectDoppler ( G4bool  val)
inline

Definition at line 87 of file G4ParticleHPManager.hh.

87{ NEGLECT_DOPPLER = val; };

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
91 USE_WENDT_FISSION_MODEL ? PRODUCE_FISSION_FRAGMENTS = false : PRODUCE_FISSION_FRAGMENTS = val ; };

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

Referenced by G4ParticleHPMessenger::SetNewValue().

◆ SetUseNRESP71Model()

void G4ParticleHPManager::SetUseNRESP71Model ( G4bool  val)
inline

Definition at line 95 of file G4ParticleHPManager.hh.

95{ USE_NRESP71_MODEL = val; };

Referenced by G4ParticleHPMessenger::SetNewValue().

◆ SetUseOnlyPhotoEvaporation()

void G4ParticleHPManager::SetUseOnlyPhotoEvaporation ( G4bool  val)
inline

Definition at line 85 of file G4ParticleHPManager.hh.

85{ USE_ONLY_PHOTONEVAPORATION = val; };

Referenced by G4ParticleHPMessenger::SetNewValue().

◆ SetUseWendtFissionModel()

void G4ParticleHPManager::SetUseWendtFissionModel ( G4bool  val)
inline

Definition at line 92 of file G4ParticleHPManager.hh.

92 { USE_WENDT_FISSION_MODEL = val;
93 // Make sure both fission fragment models are not active at same time
94 if ( USE_WENDT_FISSION_MODEL ) PRODUCE_FISSION_FRAGMENTS = false; };

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}

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


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