52 if (fShortLivedList ==0)
return;
56 fShortLivedList->clear();
57 delete fShortLivedList;
68 if (
this != & right) {
69 if (fShortLivedList !=0){
70 fShortLivedList->clear();
71 delete fShortLivedList;
95 "No effects because readyToUse is true.");
99 fShortLivedList->clear();
105 fShortLivedList->push_back(particle);
115 G4String msg =
"Request of removing ";
117 msg +=
" has No effects other than Pre_Init";
125 <<
" will be removed from the ShortLivedTable " <<
G4endl;
132 G4ShortLivedList::iterator idx;
133 for (idx = fShortLivedList->begin(); idx!= fShortLivedList->end(); ++idx) {
134 if ( particle == *idx) {
135 fShortLivedList->erase(idx);
154 G4ShortLivedList::iterator idx;
155 for (idx = fShortLivedList->begin(); idx!= fShortLivedList->end(); ++idx) {
157 if (( particle_name ==
"ALL" ) || (particle_name ==
"all")){
G4DLLIMPORT std::ostream G4cout
G4bool IsShortLived() const
const G4String & GetParticleName() const
G4int GetVerboseLevel() const
static G4ParticleTable * GetParticleTable()
G4bool IsShortLived(const G4ParticleDefinition *) const
void Remove(const G4ParticleDefinition *particle)
virtual ~G4ShortLivedTable()
void DumpTable(const G4String &particle_name="ALL") const
std::vector< const G4ParticleDefinition * > G4ShortLivedList
G4ShortLivedTable & operator=(const G4ShortLivedTable &)
G4int GetVerboseLevel() const
void Insert(const G4ParticleDefinition *particle)
G4ApplicationState GetCurrentState() const
static G4StateManager * GetStateManager()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)