Geant4  10.00.p02
G4ParticleTypeConverter Class Reference

#include <G4ParticleTypeConverter.hh>

Public Types

enum  GenericType {
  NUCLEON, N1440, N1520, N1535,
  N1650, N1675, N1680, N1700,
  N1710, N1720, N1900, N1990,
  N2090, N2190, N2220, N2250,
  D1232, D1600, D1620, D1700,
  D1900, D1905, D1910, D1920,
  D1930, D1950, L1405, L1520,
  L1600, L1670, L1690, L1800,
  L1810, L1820, L1830, L1890,
  L2100, L2110, Sigma, S1385,
  S1660, S1670, S1750, S1775,
  S1915, S1940, S2030, X1530,
  X1690, X1820, X1950, X2030,
  GAMMA, PION, KAON, ETA,
  RHO, omega, Lambda, UNKNOWN
}
 

Public Member Functions

 G4ParticleTypeConverter ()
 
GenericType GetGenericType (const G4ParticleDefinition *const aParticleDef)
 
GenericType GetGenericType (const G4KineticTrack &aTrack)
 
GenericType GetGenericType (const G4String &aParticleName)
 
G4int GetUrqmdItyp (GenericType gType)
 
G4int GetUrqmdItyp (const G4ParticleDefinition *aParticleDef)
 
const G4ParticleDefinitionFindIso3State (const GenericType gType, const G4int isospin3)
 

Private Types

typedef std::vector< std::pair
< const G4ParticleDefinition
*, GenericType >
>::const_iterator 
MapIterator
 

Private Attributes

std::vector< std::pair< const
G4ParticleDefinition
*, GenericType > > 
defMap
 

Detailed Description

Definition at line 35 of file G4ParticleTypeConverter.hh.

Member Typedef Documentation

typedef std::vector<std::pair<const G4ParticleDefinition*, GenericType> >::const_iterator G4ParticleTypeConverter::MapIterator
private

Definition at line 60 of file G4ParticleTypeConverter.hh.

Member Enumeration Documentation

Enumerator
NUCLEON 
N1440 
N1520 
N1535 
N1650 
N1675 
N1680 
N1700 
N1710 
N1720 
N1900 
N1990 
N2090 
N2190 
N2220 
N2250 
D1232 
D1600 
D1620 
D1700 
D1900 
D1905 
D1910 
D1920 
D1930 
D1950 
L1405 
L1520 
L1600 
L1670 
L1690 
L1800 
L1810 
L1820 
L1830 
L1890 
L2100 
L2110 
Sigma 
S1385 
S1660 
S1670 
S1750 
S1775 
S1915 
S1940 
S2030 
X1530 
X1690 
X1820 
X1950 
X2030 
GAMMA 
PION 
KAON 
ETA 
RHO 
omega 
Lambda 
UNKNOWN 

Definition at line 39 of file G4ParticleTypeConverter.hh.

Constructor & Destructor Documentation

Member Function Documentation

const G4ParticleDefinition * G4ParticleTypeConverter::FindIso3State ( const GenericType  gType,
const G4int  isospin3 
)

Definition at line 244 of file G4ParticleTypeConverter.cc.

References defMap.

G4ParticleTypeConverter::GenericType G4ParticleTypeConverter::GetGenericType ( const G4ParticleDefinition *const  aParticleDef)

Definition at line 214 of file G4ParticleTypeConverter.cc.

References defMap, and UNKNOWN.

Referenced by GetGenericType(), and G4ConcreteMesonBaryonToResonance::GetOutgoingParticle().

+ Here is the caller graph for this function:

G4ParticleTypeConverter::GenericType G4ParticleTypeConverter::GetGenericType ( const G4KineticTrack aTrack)

Definition at line 228 of file G4ParticleTypeConverter.cc.

References G4KineticTrack::GetDefinition(), and GetGenericType().

+ Here is the call graph for this function:

GenericType G4ParticleTypeConverter::GetGenericType ( const G4String aParticleName)
G4int G4ParticleTypeConverter::GetUrqmdItyp ( G4ParticleTypeConverter::GenericType  gType)

Definition at line 234 of file G4ParticleTypeConverter.cc.

G4int G4ParticleTypeConverter::GetUrqmdItyp ( const G4ParticleDefinition aParticleDef)

Member Data Documentation

std::vector<std::pair<const G4ParticleDefinition*, GenericType> > G4ParticleTypeConverter::defMap
private

The documentation for this class was generated from the following files: