214 throw G4HadronicException(__FILE__, __LINE__,
"Requested isomer level of target is too high." );
220 for ( std::vector < lend_target >::iterator
221 it = v_lend_target.begin() ; it != v_lend_target.end() ; it++ )
223 if ( it->proj == proj && it->target_code == iTarg && it->evaluation == evaluation )
231 if ( proj_lend_map.find ( proj ) == proj_lend_map.end() ) {
241 if ( verboseLevel > 1 ) {
243 <<
" with Isomer level of " << iM <<
" is exist in this LEND." <<
G4endl;
246 anLENDTarget = xlend->
readTarget( evaluation , iZ , iA , iM );
249 new_target.
lend = xlend;
250 new_target.
target = anLENDTarget;
251 new_target.
proj = proj;
255 v_lend_target.push_back( new_target );
267 if ( verboseLevel > 1 )
269 <<
" with Isomer level of " << iM <<
" is not exist in this LEND." <<
G4endl;
272 if ( available->size() > 0 ) {
274 if ( verboseLevel > 1 )
276 G4cout <<
" However you can use following evaluation(s) for the target. " <<
G4endl;
278 std::vector< std::string >::iterator its;
279 for ( its = available->begin() ; its != available->end() ; its++ )
289 if ( verboseLevel > 1 )
290 G4cout <<
" However you can use natural abundance data for the target. " <<
G4endl;
296 if ( available_nat->size() > 0 ) {
298 if ( verboseLevel > 1 ) {
299 G4cout <<
" However you can use following evaluation(s) for natural abundace of the target. " <<
G4endl;
301 std::vector< std::string >::iterator its;
302 for ( its = available_nat->begin() ; its != available_nat->end() ; its++ )
307 delete available_nat;
static constexpr double second
const G4String & GetParticleName() const
const G4String & GetIonName(G4int Z, G4int A, G4int lvl=0) const
G4int GetNucleusEncoding(G4int iZ, G4int iA, G4int iM)
G4ParticleDefinition * proj
G4GLOB_DLL std::ostream G4cout
std::vector< std::string > * getNamesOfAvailableLibraries(int iZ, int iA, int iM=0)
bool isThisDataAvailable(std::string &lib_name, int iZ, int iA, int iM=0)
G4GIDI_target * readTarget(std::string &lib_name, int iZ, int iA, int iM=0, bool bind=true)