180 throw G4HadronicException(__FILE__, __LINE__,
"Requested isomer level of target is too high." );
186 for ( std::vector < lend_target >::iterator
187 it = v_lend_target.begin() ; it != v_lend_target.end() ; it++ )
189 if ( it->proj == proj && it->target_code == iTarg && it->evaluation == evaluation )
197 if ( proj_lend_map.find ( proj ) == proj_lend_map.end() ) {
207 if ( verboseLevel > 1 ) {
209 <<
" with Isomer level of " << iM <<
" is exist in this LEND." <<
G4endl;
212 anLENDTarget = xlend->
readTarget( evaluation , iZ , iA , iM );
215 new_target.
lend = xlend;
216 new_target.
target = anLENDTarget;
217 new_target.
proj = proj;
221 v_lend_target.push_back( new_target );
233 if ( verboseLevel > 1 )
235 <<
" with Isomer level of " << iM <<
" is not exist in this LEND." <<
G4endl;
238 if ( available->size() > 0 ) {
240 if ( verboseLevel > 1 )
242 G4cout <<
" However you can use following evaluation(s) for the target. " <<
G4endl;
244 std::vector< std::string >::iterator its;
245 for ( its = available->begin() ; its != available->end() ; its++ )
255 if ( verboseLevel > 1 )
256 G4cout <<
" However you can use natural abundance data for the target. " <<
G4endl;
262 if ( available_nat->size() > 0 ) {
264 if ( verboseLevel > 1 ) {
265 G4cout <<
" However you can use following evaluation(s) for natural abundace of the target. " <<
G4endl;
267 std::vector< std::string >::iterator its;
268 for ( its = available_nat->begin() ; its != available_nat->end() ; its++ )
273 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)