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

#include <G4ParticleHPManager.hh>

Public Member Functions

 ~G4ParticleHPManager ()
 
G4ParticleHPReactionWhiteBoardGetReactionWhiteBoard ()
 
void OpenReactionWhiteBoard ()
 
void CloseReactionWhiteBoard ()
 
void GetDataStream (const G4String &, std::istringstream &iss)
 
void GetDataStream2 (const G4String &, std::istringstream &iss)
 
void SetVerboseLevel (G4int i)
 
G4int GetVerboseLevel () const
 
void DumpDataSource ()
 
G4bool GetUseOnlyPhotoEvaporation () const
 
G4bool GetSkipMissingIsotopes () const
 
G4bool GetNeglectDoppler () const
 
G4bool GetDoNotAdjustFinalState () const
 
G4bool GetProduceFissionFragments () const
 
G4bool GetUseWendtFissionModel () const
 
G4bool GetUseNRESP71Model () const
 
G4bool GetUseDBRC () const
 
G4bool GetCheckHPNames () const
 
G4bool GetPHPCheck () const
 
G4bool GetPHCUsePoisson () const
 
G4bool GetDEBUG () const
 
const G4StringGetNeutronHPPath () const
 
const G4StringGetParticleHPPath (const G4ParticleDefinition *) const
 
G4int GetPHPIndex (const G4ParticleDefinition *) const
 
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 SetUseDBRC (G4bool val)
 
void DumpSetting ()
 
void RegisterElasticCrossSections (G4PhysicsTable *val)
 
G4PhysicsTableGetElasticCrossSections () const
 
void RegisterCaptureCrossSections (G4PhysicsTable *val)
 
G4PhysicsTableGetCaptureCrossSections () const
 
void RegisterInelasticCrossSections (const G4ParticleDefinition *part, G4PhysicsTable *ptr)
 
G4PhysicsTableGetInelasticCrossSections (const G4ParticleDefinition *part) const
 
void RegisterFissionCrossSections (G4PhysicsTable *val)
 
G4PhysicsTableGetFissionCrossSections () const
 
std::vector< G4ParticleHPChannel * > * GetElasticFinalStates () const
 
void RegisterElasticFinalStates (std::vector< G4ParticleHPChannel * > *val)
 
std::vector< G4ParticleHPChannelList * > * GetInelasticFinalStates (const G4ParticleDefinition *part) const
 
void RegisterInelasticFinalStates (const G4ParticleDefinition *part, std::vector< G4ParticleHPChannelList * > *ptr)
 
std::vector< G4ParticleHPChannel * > * GetCaptureFinalStates () const
 
void RegisterCaptureFinalStates (std::vector< G4ParticleHPChannel * > *val)
 
std::vector< G4ParticleHPChannel * > * GetFissionFinalStates () const
 
void RegisterFissionFinalStates (std::vector< G4ParticleHPChannel * > *val)
 
std::map< G4int, std::map< G4double, G4ParticleHPVector * > * > * GetThermalScatteringCoherentCrossSections () const
 
void RegisterThermalScatteringCoherentCrossSections (std::map< G4int, std::map< G4double, G4ParticleHPVector * > * > *val)
 
std::map< G4int, std::map< G4double, G4ParticleHPVector * > * > * GetThermalScatteringIncoherentCrossSections () const
 
void RegisterThermalScatteringIncoherentCrossSections (std::map< G4int, std::map< G4double, G4ParticleHPVector * > * > *val)
 
std::map< G4int, std::map< G4double, G4ParticleHPVector * > * > * GetThermalScatteringInelasticCrossSections () const
 
void RegisterThermalScatteringInelasticCrossSections (std::map< G4int, std::map< G4double, G4ParticleHPVector * > * > *val)
 
std::map< G4int, std::map< G4double, std::vector< std::pair< G4double, G4double > * > * > * > * GetThermalScatteringCoherentFinalStates () const
 
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 () const
 
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 () const
 
void RegisterThermalScatteringInelasticFinalStates (std::map< G4int, std::map< G4double, std::vector< E_P_E_isoAng * > * > * > *val)
 
G4double GetMinADBRC () const
 
G4double GetMinEnergyDBRC () const
 
G4double GetMaxEnergyDBRC () const
 
G4double GetMaxEnergyDoppler () const
 
void SetMinADBRC (G4double val)
 
void SetMinEnergyDBRC (G4double val)
 
void SetMaxEnergyDBRC (G4double val)
 
void SetMaxEnergyDoppler (G4double val)
 
 G4ParticleHPManager (G4ParticleHPManager &)=delete
 
G4ParticleHPManageroperator= (const G4ParticleHPManager &right)=delete
 

Static Public Member Functions

static G4ParticleHPManagerGetInstance ()
 

Detailed Description

Definition at line 49 of file G4ParticleHPManager.hh.

Constructor & Destructor Documentation

◆ ~G4ParticleHPManager()

G4ParticleHPManager::~G4ParticleHPManager ( )

Definition at line 92 of file G4ParticleHPManager.cc.

93{
94 delete messenger;
95}

◆ G4ParticleHPManager()

G4ParticleHPManager::G4ParticleHPManager ( G4ParticleHPManager & )
delete

Member Function Documentation

◆ CloseReactionWhiteBoard()

◆ DumpDataSource()

void G4ParticleHPManager::DumpDataSource ( )

Definition at line 255 of file G4ParticleHPManager.cc.

256{
257 G4cout << "Data source of this Partile HP calculation are " << G4endl;
258 for (const auto& it : mDataEvaluation) {
259 G4cout << it.first << " " << it.second << G4endl;
260 }
261 G4cout << G4endl;
262}
#define G4endl
Definition G4ios.hh:67
G4GLOB_DLL std::ostream G4cout

◆ DumpSetting()

void G4ParticleHPManager::DumpSetting ( )

Definition at line 264 of file G4ParticleHPManager.cc.

265{
266 if(isPrinted) { return; }
267 G4cout << G4endl
268 << "=======================================================" << G4endl
269 << "====== ParticleHP Physics Parameters ========" << G4endl
270 << "=======================================================" << G4endl
271 << " Use only photo-evaporation " << USE_ONLY_PHOTONEVAPORATION << G4endl
272 << " Skip missing isotopes " << SKIP_MISSING_ISOTOPES << G4endl
273 << " Neglect Doppler " << NEGLECT_DOPPLER << G4endl
274 << " Do not adjust final state " << DO_NOT_ADJUST_FINAL_STATE << G4endl
275 << " Produce fission fragments " << PRODUCE_FISSION_FRAGMENTS << G4endl
276 << " Use WendtFissionModel " << USE_WENDT_FISSION_MODEL << G4endl
277 << " Use NRESP71Model " << USE_NRESP71_MODEL << G4endl
278 << " Use DBRC " << USE_DBRC << G4endl
279 << " PHP use Poisson " << PHP_USE_POISSON << G4endl
280 << " PHP check " << PHP_CHECK << G4endl
281 << " CHECK HP NAMES " << CHECK_HP_NAMES << G4endl
282 << " Enable DEBUG " << DEBUG << G4endl
283 << "=======================================================" << G4endl << G4endl;
284 isPrinted = true;
285}

Referenced by G4NeutronHPInelasticVI::BuildPhysicsTable(), and G4ParticleHPInelastic::BuildPhysicsTable().

◆ GetCaptureCrossSections()

G4PhysicsTable * G4ParticleHPManager::GetCaptureCrossSections ( ) const
inline

Definition at line 106 of file G4ParticleHPManager.hh.

106{ return theCaptureCrossSections; };

◆ GetCaptureFinalStates()

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

Definition at line 135 of file G4ParticleHPManager.hh.

135{ return theCaptureFSs; };

Referenced by G4NeutronHPCapture::BuildPhysicsTable().

◆ GetCheckHPNames()

G4bool G4ParticleHPManager::GetCheckHPNames ( ) const
inline

Definition at line 74 of file G4ParticleHPManager.hh.

74{ return CHECK_HP_NAMES; };

◆ GetDataStream()

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

Definition at line 146 of file G4ParticleHPManager.cc.

147{
148 G4String* data = nullptr;
149 G4String compfilename(filename);
150 compfilename += ".z";
151 auto in = new std::ifstream(compfilename, std::ios::binary | std::ios::ate);
152 if (in->good()) {
153 // Use the compressed file
154 std::streamoff file_size = in->tellg();
155 in->seekg(0, std::ios::beg);
156 auto compdata = new Bytef[file_size];
157
158 while (*in) { // Loop checking, 11.05.2015, T. Koi
159 in->read((char*)compdata, file_size);
160 }
161
162 auto complen = (uLongf)(file_size * 4);
163 auto uncompdata = new Bytef[complen];
164
165 while (Z_OK != uncompress(uncompdata, &complen, compdata, file_size))
166 { // Loop checking, 11.05.2015, T. Koi
167 delete[] uncompdata;
168 complen *= 2;
169 uncompdata = new Bytef[complen];
170 }
171 delete[] compdata;
172 // Now "complen" has uncomplessed size
173 data = new G4String((char*)uncompdata, (G4long)complen);
174 delete[] uncompdata;
175 }
176 else {
177 // Use regular text file
178 std::ifstream thefData(filename, std::ios::in | std::ios::ate);
179 if (thefData.good()) {
180 std::streamoff file_size = thefData.tellg();
181 thefData.seekg(0, std::ios::beg);
182 auto filedata = new char[file_size];
183 while (thefData) { // Loop checking, 11.05.2015, T. Koi
184 thefData.read(filedata, file_size);
185 }
186 thefData.close();
187 data = new G4String(filedata, file_size);
188 delete[] filedata;
189 }
190 else {
191 // found no data file
192 // set error bit to the stream
193 iss.setstate(std::ios::badbit);
194 }
195 }
196 if (data != nullptr) {
197 iss.str(*data);
198 G4String id;
199 iss >> id;
200 if (id == "G4NDL") {
201 // Register information of file
202 G4String source;
203 iss >> source;
204 register_data_file(filename, source);
205 }
206 else {
207 iss.seekg(0, std::ios::beg);
208 }
209 }
210 in->close();
211 delete in;
212 delete data;
213}
long G4long
Definition G4Types.hh:87
int ZEXPORT uncompress(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen)
Definition uncompr.c:86
#define Z_OK
Definition zlib.h:177

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

◆ GetDataStream2()

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

Definition at line 215 of file G4ParticleHPManager.cc.

216{
217 // Checking existance of data file
218
219 G4String compfilename(filename);
220 compfilename += ".z";
221 auto in = new std::ifstream(compfilename, std::ios::binary | std::ios::ate);
222 if (in->good()) {
223 // Compressed file is exist
224 in->close();
225 }
226 else {
227 std::ifstream thefData(filename, std::ios::in | std::ios::ate);
228 if (thefData.good()) {
229 // Regular text file is exist
230 thefData.close();
231 }
232 else {
233 // found no data file
234 // set error bit to the stream
235 iss.setstate(std::ios::badbit);
236 }
237 }
238 delete in;
239}

Referenced by G4ParticleHPNames::GetName().

◆ GetDEBUG()

◆ GetDoNotAdjustFinalState()

G4bool G4ParticleHPManager::GetDoNotAdjustFinalState ( ) const
inline

◆ GetElasticCrossSections()

G4PhysicsTable * G4ParticleHPManager::GetElasticCrossSections ( ) const
inline

Definition at line 104 of file G4ParticleHPManager.hh.

104{ return theElasticCrossSections; };

Referenced by G4ParticleHPElasticData::BuildPhysicsTable().

◆ GetElasticFinalStates()

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

Definition at line 118 of file G4ParticleHPManager.hh.

118{ return theElasticFSs; };

Referenced by G4ParticleHPElastic::BuildPhysicsTable().

◆ GetFissionCrossSections()

G4PhysicsTable * G4ParticleHPManager::GetFissionCrossSections ( ) const
inline

Definition at line 116 of file G4ParticleHPManager.hh.

116{ return theFissionCrossSections; };

Referenced by G4ParticleHPFissionData::BuildPhysicsTable().

◆ GetFissionFinalStates()

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

Definition at line 140 of file G4ParticleHPManager.hh.

140{ return theFissionFSs; };

Referenced by G4ParticleHPFission::BuildPhysicsTable().

◆ GetInelasticCrossSections()

G4PhysicsTable * G4ParticleHPManager::GetInelasticCrossSections ( const G4ParticleDefinition * part) const
inline

Definition at line 111 of file G4ParticleHPManager.hh.

112 {
113 return theInelasticCrossSections[GetPHPIndex(part)];
114 };
G4int GetPHPIndex(const G4ParticleDefinition *) const

Referenced by G4ParticleHPInelasticData::BuildPhysicsTable().

◆ GetInelasticFinalStates()

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

Definition at line 125 of file G4ParticleHPManager.hh.

126 {
127 return theInelasticFSs[GetPHPIndex(part)];
128 };

◆ GetInstance()

G4ParticleHPManager * G4ParticleHPManager::GetInstance ( )
static

Definition at line 97 of file G4ParticleHPManager.cc.

98{
99 static G4ParticleHPManager manager;
100 if (instance == nullptr) {
101 instance = &manager;
102 }
103 return instance;
104}

Referenced by G4FissLib::ApplyYourself(), G4NeutronHPCapture::ApplyYourself(), G4NeutronHPInelasticVI::ApplyYourself(), G4ParticleHPChannelList::ApplyYourself(), G4ParticleHPElastic::ApplyYourself(), G4ParticleHPFission::ApplyYourself(), G4ParticleHPFissionFS::ApplyYourself(), G4ParticleHPInelastic::ApplyYourself(), G4NeutronHPCapture::BuildPhysicsTable(), G4ParticleHPElastic::BuildPhysicsTable(), G4ParticleHPElasticData::BuildPhysicsTable(), G4ParticleHPFission::BuildPhysicsTable(), G4ParticleHPFissionData::BuildPhysicsTable(), G4ParticleHPInelasticData::BuildPhysicsTable(), G4ParticleHPThermalScatteringData::BuildPhysicsTable(), G4NeutronHPCaptureData::G4NeutronHPCaptureData(), G4NeutronHPElasticVI::G4NeutronHPElasticVI(), G4NeutronHPInelasticVI::G4NeutronHPInelasticVI(), G4ParticleHPChannel::G4ParticleHPChannel(), G4ParticleHPContAngularPar::G4ParticleHPContAngularPar(), G4ParticleHPDiscreteTwoBody::G4ParticleHPDiscreteTwoBody(), G4ParticleHPFinalState::G4ParticleHPFinalState(), G4ParticleHPInelastic::G4ParticleHPInelastic(), G4ParticleHPNames::G4ParticleHPNames(), G4ParticleHPProduct::G4ParticleHPProduct(), G4ParticleHPElasticData::GetCrossSection(), G4ParticleHPFissionData::GetCrossSection(), G4ParticleHPInelasticData::GetCrossSection(), G4ParticleHPProduct::GetMultiplicity(), G4ParticleHPNames::GetName(), G4NeutronHPCapture::GetVerboseLevel(), G4ParticleHPElastic::GetVerboseLevel(), G4ParticleHPElasticData::GetVerboseLevel(), G4ParticleHPFission::GetVerboseLevel(), G4ParticleHPFissionData::GetVerboseLevel(), G4ParticleHPInelasticData::GetVerboseLevel(), G4FissionLibrary::Init(), G4NeutronHPCaptureFS::Init(), G4ParticleHPContAngularPar::Init(), G4ParticleHPElasticFS::Init(), G4ParticleHPFFFissionFS::Init(), G4ParticleHPFissionBaseFS::Init(), G4ParticleHPFissionFS::Init(), G4ParticleHPFSFissionFS::Init(), G4ParticleHPIsoData::Init(), G4ParticleHPIsoData::Init(), G4ENDFTapeRead::Initialize(), G4WendtFissionFragmentGenerator::InitializeANucleus(), G4ParticleHPContAngularPar::Sample(), G4ParticleHPEnAngCorrelation::Sample(), G4ParticleHPProduct::Sample(), G4NeutronHPCapture::SetVerboseLevel(), G4ParticleHPElastic::SetVerboseLevel(), G4ParticleHPElasticData::SetVerboseLevel(), G4ParticleHPFission::SetVerboseLevel(), G4ParticleHPFissionData::SetVerboseLevel(), G4ParticleHPInelasticData::SetVerboseLevel(), and Shielding::Shielding().

◆ GetMaxEnergyDBRC()

G4double G4ParticleHPManager::GetMaxEnergyDBRC ( ) const
inline

Definition at line 210 of file G4ParticleHPManager.hh.

210{ return theMaxEnergyDBRC; };

Referenced by G4ParticleHPMessenger::SetNewValue().

◆ GetMaxEnergyDoppler()

G4double G4ParticleHPManager::GetMaxEnergyDoppler ( ) const
inline

Definition at line 211 of file G4ParticleHPManager.hh.

211{ return theMaxEnergyDoppler; };

◆ GetMinADBRC()

G4double G4ParticleHPManager::GetMinADBRC ( ) const
inline

Definition at line 208 of file G4ParticleHPManager.hh.

208{ return theMinADBRC; };

Referenced by G4ParticleHPMessenger::SetNewValue().

◆ GetMinEnergyDBRC()

G4double G4ParticleHPManager::GetMinEnergyDBRC ( ) const
inline

Definition at line 209 of file G4ParticleHPManager.hh.

209{ return theMinEnergyDBRC; };

Referenced by G4ParticleHPMessenger::SetNewValue().

◆ GetNeglectDoppler()

G4bool G4ParticleHPManager::GetNeglectDoppler ( ) const
inline

◆ GetNeutronHPPath()

const G4String & G4ParticleHPManager::GetNeutronHPPath ( ) const
inline

Definition at line 79 of file G4ParticleHPManager.hh.

79{ return fDataPath[0]; };

Referenced by G4ParticleHPNames::GetName(), G4ParticleHPInelasticBaseFS::Init(), and G4ParticleHPInelasticCompFS::Init().

◆ GetParticleHPPath()

const G4String & G4ParticleHPManager::GetParticleHPPath ( const G4ParticleDefinition * part) const

Definition at line 127 of file G4ParticleHPManager.cc.

127 {
128 return fDataPath[GetPHPIndex(part)];
129}

Referenced by G4ParticleHPInelastic::G4ParticleHPInelastic().

◆ GetPHCUsePoisson()

G4bool G4ParticleHPManager::GetPHCUsePoisson ( ) const
inline

Definition at line 76 of file G4ParticleHPManager.hh.

76{ return PHP_USE_POISSON; };

◆ GetPHPCheck()

G4bool G4ParticleHPManager::GetPHPCheck ( ) const
inline

Definition at line 75 of file G4ParticleHPManager.hh.

75{ return PHP_CHECK; };

◆ GetPHPIndex()

G4int G4ParticleHPManager::GetPHPIndex ( const G4ParticleDefinition * part) const

Definition at line 106 of file G4ParticleHPManager.cc.

106 {
107 G4int pdg = part->GetPDGEncoding();
108 G4int idx;
109 if (pdg == 2112) { idx = 0; }
110 else if (pdg == 2212) { idx = 1; }
111 else if (pdg == 1000010020) { idx = 2; }
112 else if (pdg == 1000010030) { idx = 3; }
113 else if (pdg == 1000020030) { idx = 4; }
114 else if (pdg == 1000020040) { idx = 5; }
115 else {
116 idx = 0;
118 ed << "Particle " << part->GetParticleName()
119 << " cannot be handled by the ParticleHP sub-library";
120 G4Exception("G4ParticleHPManager::G4ParticleHPManager()","hadhp01",
121 FatalException, ed, "");
122 }
123 return idx;
124}
@ FatalException
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
std::ostringstream G4ExceptionDescription
int G4int
Definition G4Types.hh:85
const G4String & GetParticleName() const

Referenced by G4ParticleHPInelastic::G4ParticleHPInelastic(), GetInelasticCrossSections(), GetInelasticFinalStates(), GetParticleHPPath(), RegisterInelasticCrossSections(), and RegisterInelasticFinalStates().

◆ GetProduceFissionFragments()

G4bool G4ParticleHPManager::GetProduceFissionFragments ( ) const
inline

Definition at line 70 of file G4ParticleHPManager.hh.

70{ return PRODUCE_FISSION_FRAGMENTS; };

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

◆ GetReactionWhiteBoard()

◆ GetSkipMissingIsotopes()

G4bool G4ParticleHPManager::GetSkipMissingIsotopes ( ) const
inline

Definition at line 67 of file G4ParticleHPManager.hh.

67{ return SKIP_MISSING_ISOTOPES; };

Referenced by G4ParticleHPNames::GetName(), and G4ParticleHPMessenger::SetNewValue().

◆ GetThermalScatteringCoherentCrossSections()

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

Definition at line 147 of file G4ParticleHPManager.hh.

148 {
149 return theTSCoherentCrossSections;
150 };

Referenced by G4ParticleHPThermalScatteringData::BuildPhysicsTable().

◆ GetThermalScatteringCoherentFinalStates()

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

Definition at line 178 of file G4ParticleHPManager.hh.

179 {
180 return theTSCoherentFinalStates;
181 };

◆ GetThermalScatteringIncoherentCrossSections()

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

Definition at line 157 of file G4ParticleHPManager.hh.

158 {
159 return theTSIncoherentCrossSections;
160 };

Referenced by G4ParticleHPThermalScatteringData::BuildPhysicsTable().

◆ GetThermalScatteringIncoherentFinalStates()

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

Definition at line 188 of file G4ParticleHPManager.hh.

189 {
190 return theTSIncoherentFinalStates;
191 };

◆ GetThermalScatteringInelasticCrossSections()

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

Definition at line 167 of file G4ParticleHPManager.hh.

168 {
169 return theTSInelasticCrossSections;
170 };

Referenced by G4ParticleHPThermalScatteringData::BuildPhysicsTable().

◆ GetThermalScatteringInelasticFinalStates()

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

Definition at line 198 of file G4ParticleHPManager.hh.

199 {
200 return theTSInelasticFinalStates;
201 };

◆ GetUseDBRC()

G4bool G4ParticleHPManager::GetUseDBRC ( ) const
inline

Definition at line 73 of file G4ParticleHPManager.hh.

73{ return USE_DBRC; };

Referenced by G4ParticleHPMessenger::SetNewValue().

◆ GetUseNRESP71Model()

G4bool G4ParticleHPManager::GetUseNRESP71Model ( ) const
inline

Definition at line 72 of file G4ParticleHPManager.hh.

72{ return USE_NRESP71_MODEL; };

Referenced by G4ParticleHPInelasticCompFS::CompositeApply(), and G4ParticleHPMessenger::SetNewValue().

◆ GetUseOnlyPhotoEvaporation()

G4bool G4ParticleHPManager::GetUseOnlyPhotoEvaporation ( ) const
inline

Definition at line 66 of file G4ParticleHPManager.hh.

66{ return USE_ONLY_PHOTONEVAPORATION; };

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

◆ GetUseWendtFissionModel()

G4bool G4ParticleHPManager::GetUseWendtFissionModel ( ) const
inline

Definition at line 71 of file G4ParticleHPManager.hh.

71{ return USE_WENDT_FISSION_MODEL; };

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

◆ GetVerboseLevel()

◆ OpenReactionWhiteBoard()

◆ operator=()

G4ParticleHPManager & G4ParticleHPManager::operator= ( const G4ParticleHPManager & right)
delete

◆ RegisterCaptureCrossSections()

void G4ParticleHPManager::RegisterCaptureCrossSections ( G4PhysicsTable * val)
inline

Definition at line 105 of file G4ParticleHPManager.hh.

105{ theCaptureCrossSections = val; };

Referenced by G4NeutronHPCaptureData::BuildPhysicsTable().

◆ RegisterCaptureFinalStates()

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

Definition at line 136 of file G4ParticleHPManager.hh.

137 {
138 theCaptureFSs = val;
139 };

Referenced by G4NeutronHPCapture::BuildPhysicsTable().

◆ RegisterElasticCrossSections()

void G4ParticleHPManager::RegisterElasticCrossSections ( G4PhysicsTable * val)
inline

Definition at line 103 of file G4ParticleHPManager.hh.

103{ theElasticCrossSections = val; };

Referenced by G4ParticleHPElasticData::BuildPhysicsTable().

◆ RegisterElasticFinalStates()

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

Definition at line 119 of file G4ParticleHPManager.hh.

120 {
121 theElasticFSs = val;
122 };

Referenced by G4ParticleHPElastic::BuildPhysicsTable().

◆ RegisterFissionCrossSections()

void G4ParticleHPManager::RegisterFissionCrossSections ( G4PhysicsTable * val)
inline

Definition at line 115 of file G4ParticleHPManager.hh.

115{ theFissionCrossSections = val; };

Referenced by G4ParticleHPFissionData::BuildPhysicsTable().

◆ RegisterFissionFinalStates()

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

Definition at line 141 of file G4ParticleHPManager.hh.

142 {
143 theFissionFSs = val;
144 };

Referenced by G4ParticleHPFission::BuildPhysicsTable().

◆ RegisterInelasticCrossSections()

void G4ParticleHPManager::RegisterInelasticCrossSections ( const G4ParticleDefinition * part,
G4PhysicsTable * ptr )
inline

Definition at line 107 of file G4ParticleHPManager.hh.

108 {
109 theInelasticCrossSections[GetPHPIndex(part)] = ptr;
110 };

Referenced by G4ParticleHPInelasticData::BuildPhysicsTable().

◆ RegisterInelasticFinalStates()

void G4ParticleHPManager::RegisterInelasticFinalStates ( const G4ParticleDefinition * part,
std::vector< G4ParticleHPChannelList * > * ptr )
inline

Definition at line 129 of file G4ParticleHPManager.hh.

131 {
132 theInelasticFSs[GetPHPIndex(part)] = ptr;
133 };

◆ RegisterThermalScatteringCoherentCrossSections()

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

Definition at line 151 of file G4ParticleHPManager.hh.

153 {
154 theTSCoherentCrossSections = val;
155 };

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 182 of file G4ParticleHPManager.hh.

184 {
185 theTSCoherentFinalStates = val;
186 };

◆ RegisterThermalScatteringIncoherentCrossSections()

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

Definition at line 161 of file G4ParticleHPManager.hh.

163 {
164 theTSIncoherentCrossSections = val;
165 };

Referenced by G4ParticleHPThermalScatteringData::BuildPhysicsTable().

◆ RegisterThermalScatteringIncoherentFinalStates()

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

Definition at line 192 of file G4ParticleHPManager.hh.

194 {
195 theTSIncoherentFinalStates = val;
196 };

◆ RegisterThermalScatteringInelasticCrossSections()

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

Definition at line 171 of file G4ParticleHPManager.hh.

173 {
174 theTSInelasticCrossSections = val;
175 };

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 202 of file G4ParticleHPManager.hh.

204 {
205 theTSInelasticFinalStates = val;
206 };

◆ SetDoNotAdjustFinalState()

void G4ParticleHPManager::SetDoNotAdjustFinalState ( G4bool val)
inline

Definition at line 86 of file G4ParticleHPManager.hh.

86{ DO_NOT_ADJUST_FINAL_STATE = val; };

Referenced by G4ParticleHPMessenger::SetNewValue().

◆ SetMaxEnergyDBRC()

void G4ParticleHPManager::SetMaxEnergyDBRC ( G4double val)
inline

Definition at line 215 of file G4ParticleHPManager.hh.

215{ theMaxEnergyDBRC = val; };

Referenced by G4ParticleHPMessenger::SetNewValue().

◆ SetMaxEnergyDoppler()

void G4ParticleHPManager::SetMaxEnergyDoppler ( G4double val)
inline

Definition at line 216 of file G4ParticleHPManager.hh.

216{ theMaxEnergyDoppler = val; };

◆ SetMinADBRC()

void G4ParticleHPManager::SetMinADBRC ( G4double val)
inline

Definition at line 213 of file G4ParticleHPManager.hh.

213{ theMinADBRC = val; };

Referenced by G4ParticleHPMessenger::SetNewValue().

◆ SetMinEnergyDBRC()

void G4ParticleHPManager::SetMinEnergyDBRC ( G4double val)
inline

Definition at line 214 of file G4ParticleHPManager.hh.

214{ theMinEnergyDBRC = val; };

Referenced by G4ParticleHPMessenger::SetNewValue().

◆ SetNeglectDoppler()

void G4ParticleHPManager::SetNeglectDoppler ( G4bool val)
inline

Definition at line 85 of file G4ParticleHPManager.hh.

85{ NEGLECT_DOPPLER = val; };

Referenced by G4ParticleHPMessenger::SetNewValue().

◆ SetProduceFissionFragments()

void G4ParticleHPManager::SetProduceFissionFragments ( G4bool val)
inline

Definition at line 87 of file G4ParticleHPManager.hh.

88 {
89 // Make sure both fission fragment models are not active at same time
90 PRODUCE_FISSION_FRAGMENTS = USE_WENDT_FISSION_MODEL ? false : val;
91 };

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

◆ SetSkipMissingIsotopes()

void G4ParticleHPManager::SetSkipMissingIsotopes ( G4bool val)
inline

Definition at line 84 of file G4ParticleHPManager.hh.

84{ SKIP_MISSING_ISOTOPES = val; };

Referenced by G4ParticleHPMessenger::SetNewValue().

◆ SetUseDBRC()

void G4ParticleHPManager::SetUseDBRC ( G4bool val)
inline

Definition at line 99 of file G4ParticleHPManager.hh.

99{ USE_DBRC = val; };

Referenced by G4ParticleHPMessenger::SetNewValue().

◆ SetUseNRESP71Model()

void G4ParticleHPManager::SetUseNRESP71Model ( G4bool val)
inline

Definition at line 98 of file G4ParticleHPManager.hh.

98{ USE_NRESP71_MODEL = val; };

Referenced by G4ParticleHPMessenger::SetNewValue().

◆ SetUseOnlyPhotoEvaporation()

void G4ParticleHPManager::SetUseOnlyPhotoEvaporation ( G4bool val)
inline

Definition at line 83 of file G4ParticleHPManager.hh.

83{ USE_ONLY_PHOTONEVAPORATION = val; };

Referenced by G4ParticleHPMessenger::SetNewValue().

◆ SetUseWendtFissionModel()

void G4ParticleHPManager::SetUseWendtFissionModel ( G4bool val)
inline

Definition at line 92 of file G4ParticleHPManager.hh.

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

Referenced by G4ParticleHPMessenger::SetNewValue().

◆ SetVerboseLevel()

void G4ParticleHPManager::SetVerboseLevel ( G4int i)

Definition at line 241 of file G4ParticleHPManager.cc.

242{
243 G4cout << "You are setting a new verbose level for Particle HP package." << G4endl;
244 G4cout << "the new value will be used in whole of the Particle HP package, i.e., models and "
245 "cross sections for Capture, Elastic, Fission and Inelastic interaction."
246 << G4endl;
247 verboseLevel = newValue;
248}

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


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