216 for(
size_t i=0;i<defMap.size(); i++)
218 if(defMap[i].first == aParticleDef)
return defMap[i].second;
236 throw G4HadronicException(__FILE__, __LINE__,
"G4ParticleTypeConverter: unknown particle type!");
241 const G4int isospin3)
const
244 for (iter = defMap.begin(); iter!=defMap.end(); ++iter) {
249 if (((*iter).first)->GetPDGiIsospin3()==isospin3)
250 return (*iter).first;
static G4AntiKaonZero * AntiKaonZeroDefinition()
static G4Gamma * GammaDefinition()
static G4KaonMinus * KaonMinusDefinition()
static G4KaonPlus * KaonPlusDefinition()
static G4KaonZeroLong * KaonZeroLongDefinition()
static G4KaonZeroShort * KaonZeroShortDefinition()
static G4KaonZero * KaonZeroDefinition()
const G4ParticleDefinition * GetDefinition() const
static G4Lambda * LambdaDefinition()
static G4Neutron * NeutronDefinition()
static G4ParticleTable * GetParticleTable()
GenericType GetGenericType(const G4ParticleDefinition *const aParticleDef) const
G4ParticleTypeConverter()
const G4ParticleDefinition * FindIso3State(const GenericType gType, const G4int isospin3) const
G4int GetUrqmdItyp(GenericType gType) const
static G4PionMinus * PionMinusDefinition()
static G4PionPlus * PionPlusDefinition()
static G4PionZero * PionZeroDefinition()
static G4Proton * ProtonDefinition()
static void ConstructParticle()