63 msg +=
"> not found.";
64 G4Exception(
"G4SDParticleFilter::G4SDParticleFilter",
73 const std::vector<G4String>& particleNames)
77 for (
size_t i = 0; i < particleNames.size(); i++){
82 msg += particleNames[i];
83 msg +=
"> not found.";
84 G4Exception(
"G4SDParticleFilter::G4SDParticleFilter",
94 const std::vector<G4ParticleDefinition*>& particleDef)
97 for (
size_t i = 0; i < particleDef.size(); i++){
98 if(!particleDef[i])
G4Exception(
"G4SDParticleFilter::G4SDParticleFilter",
100 "NULL pointer is found in the given particleDef vector.");
116 for (
size_t i = 0; i <
thePdef.size(); i++){
121 for (
size_t i = 0; i <
theIonZ.size(); i++){
139 msg +=
"> not found.";
143 for (
size_t i = 0; i <
thePdef.size(); i++){
144 if (
thePdef[i] == pd )
return;
150 for (
size_t i = 0; i <
theIonZ.size(); i++){
152 G4cout <<
"G4SDParticleFilter:: Ion has been already registered."<<
G4endl;
161 G4cout <<
"----G4SDParticleFileter particle list------"<<
G4endl;
162 for (
size_t i = 0; i <
thePdef.size(); i++){
165 for (
size_t i = 0; i <
theIonZ.size(); i++){
169 G4cout <<
"-------------------------------------------"<<
G4endl;