45,USE_ONLY_PHOTONEVAPORATION(false)
46,SKIP_MISSING_ISOTOPES(false)
47,NEGLECT_DOPPLER(false)
48,DO_NOT_ADJUST_FINAL_STATE(false)
49,PRODUCE_FISSION_FRAGMENTS(false)
50,USE_WENDT_FISSION_MODEL(false)
51,USE_NRESP71_MODEL(false)
52,theElasticCrossSections(0)
53,theCaptureCrossSections(0)
54,theFissionCrossSections(0)
58,theTSCoherentCrossSections(0)
59,theTSIncoherentCrossSections(0)
60,theTSInelasticCrossSections(0)
61,theTSCoherentFinalStates(0)
62,theTSIncoherentFinalStates(0)
63,theTSInelasticFinalStates(0)
102 compfilename +=
".z";
103 std::ifstream* in =
new std::ifstream ( compfilename , std::ios::binary | std::ios::ate );
107 G4int file_size = in->tellg();
108 in->seekg( 0 , std::ios::beg );
109 Bytef* compdata =
new Bytef[ file_size ];
113 in->read( (
char*)compdata , file_size );
116 uLongf complen = (uLongf) ( file_size*4 );
117 Bytef* uncompdata =
new Bytef[complen];
119 while (
Z_OK !=
uncompress ( uncompdata , &complen , compdata , file_size ) )
123 uncompdata =
new Bytef[complen];
128 delete [] uncompdata;
133 std::ifstream thefData( filename , std::ios::in | std::ios::ate );
134 if ( thefData.good() )
136 G4int file_size = thefData.tellg();
137 thefData.seekg( 0 , std::ios::beg );
138 char* filedata =
new char[ file_size ];
141 thefData.read( filedata , file_size );
144 data =
new G4String ( filedata , file_size );
151 iss.setstate( std::ios::badbit );
168 iss.seekg( 0 , std::ios::beg );
171 in->close();
delete in;
180 compfilename +=
".z";
181 std::ifstream* in =
new std::ifstream ( compfilename , std::ios::binary | std::ios::ate );
189 std::ifstream thefData( filename , std::ios::in | std::ios::ate );
190 if ( thefData.good() )
199 iss.setstate( std::ios::badbit );
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;
220 G4cout <<
"Data source of this Partile HP calculation are " <<
G4endl;
221 for ( std::map< G4String , G4String >::iterator
258 <<
"=======================================================" <<
G4endl
259 <<
"====== ParticleHP Physics Parameters ========" <<
G4endl
260 <<
"=======================================================" <<
G4endl
268 <<
"=======================================================" <<
G4endl
G4GLOB_DLL std::ostream G4cout
std::map< const G4ParticleDefinition *, G4PhysicsTable * > theInelasticCrossSections
G4bool SKIP_MISSING_ISOTOPES
static G4ParticleHPManager * instance
G4bool DO_NOT_ADJUST_FINAL_STATE
G4ParticleHPMessenger * messenger
void GetDataStream2(G4String, std::istringstream &iss)
void register_data_file(G4String, G4String)
G4bool USE_ONLY_PHOTONEVAPORATION
std::map< const G4ParticleDefinition *, std::vector< G4ParticleHPChannelList * > * > theInelasticFSs
std::vector< G4ParticleHPChannelList * > * GetInelasticFinalStates(const G4ParticleDefinition *)
void RegisterInelasticFinalStates(const G4ParticleDefinition *, std::vector< G4ParticleHPChannelList * > *)
void SetVerboseLevel(G4int i)
G4PhysicsTable * GetInelasticCrossSections(const G4ParticleDefinition *)
void RegisterInelasticCrossSections(const G4ParticleDefinition *, G4PhysicsTable *)
G4bool USE_WENDT_FISSION_MODEL
static G4ParticleHPManager * GetInstance()
G4bool PRODUCE_FISSION_FRAGMENTS
void CloseReactionWhiteBoard()
void GetDataStream(G4String, std::istringstream &iss)
void OpenReactionWhiteBoard()
std::map< G4String, G4String > mDataEvaluation
G4ParticleHPReactionWhiteBoard * GetReactionWhiteBoard()
void CloseReactionWhiteBoard()
static G4ParticleHPThreadLocalManager * GetInstance()
void OpenReactionWhiteBoard()
G4ParticleHPReactionWhiteBoard * GetReactionWhiteBoard()
int ZEXPORT uncompress(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen)