71 #define G4MT_pmanager ((subInstanceManager.offset[g4particleDefinitionInstanceID]).theProcessManager) 150 G4cout <<
"Particle " << aName <<
" has a strange PDGEncoding " <<
G4endl;
153 G4Exception(
"G4ParticleDefintion::G4ParticleDefintion",
155 "Strange PDGEncoding ");
164 G4cout <<
"G4ParticleDefintion (other than ions and shortlived) should be created in Pre_Init state " 168 G4Exception(
"G4ParticleDefintion::G4ParticleDefintion",
170 "G4ParticleDefinition should be created in PreInit state");
191 G4Exception(
"G4ParticleDefinition::G4ParticleDefinition()",
193 "Illegal call of copy Constructor for G4ParticleDefinition ");
198 G4Exception(
"G4ParticleDefinition::G4ParticleDefinition()",
200 "Illegal call of default Constructor for G4ParticleDefinition ");
210 G4String msg =
"Request of deletion for ";
212 msg +=
" has No effects because readyToUse is true.";
213 G4Exception(
"G4ParticleDefinition::~G4ParticleDefinition()",
220 <<
" will be deleted " <<
G4endl;
232 if (
this != &right) {
279 G4Exception(
"G4ParticleDefintion::G4ParticleDefintion",
281 "Inconsistent charge against PDG code ");
284 G4cout <<
"G4ParticleDefinition::FillQuarkContents : " 293 G4Exception(
"G4ParticleDefintion::G4ParticleDefintion",
295 "Inconsistent spin against PDG code ");
298 G4cout <<
"G4ParticleDefinition::FillQuarkContents : " 341 G4cout <<
", " << theQuarkContent[1];
342 G4cout <<
", " << theQuarkContent[2];
343 G4cout <<
", " << theQuarkContent[3];
344 G4cout <<
", " << theQuarkContent[4];
347 G4cout <<
", " << theAntiQuarkContent[1];
348 G4cout <<
", " << theAntiQuarkContent[2];
349 G4cout <<
", " << theAntiQuarkContent[3];
350 G4cout <<
", " << theAntiQuarkContent[4];
369 {
G4cout <<
" Stable : No data found -- unknown" <<
G4endl; }
375 <<
"\n Decay table should be consulted to G4RadioactiveDecayProcess." 406 <<
"becomes obsolete. Production threshold is applied only for " 407 <<
"gamma, e- ,e+ and proton." <<
G4endl;
413 G4Exception(
"G4ParticleDefintion::G4ParticleDefintion",
415 "CalculateAnomaly() method will be removed in next release");
440 ed <<
"ParticleDefinitionID should not be set for the particles <" 442 G4Exception(
"G4ParticleDefintion::SetParticleDefinitionID",
"PART10114",
458 <<
" without proper initialization of TLS pointer vector.\n" 459 <<
"This operation is thread-unsafe.";
460 G4Exception(
"G4ParticleDefintion::SetProcessManager",
"PART10116",
G4ParticleTable * theParticleTable
void SetAtomicNumber(G4int)
G4double CalculateAnomaly() const
void SetParticleDefinitionID(G4int id=-1)
void SetProcessManager(G4ProcessManager *aProcessManager)
G4int GetBaryonNumber() const
static const double c_squared
std::ostringstream G4ExceptionDescription
static G4bool IsIon(const G4ParticleDefinition *)
static G4PART_DLL G4PDefManager subInstanceManager
static G4bool IsAntiIon(const G4ParticleDefinition *)
G4ProcessManager * theProcessManagerShadow
G4ProcessManager * GetProcessManager() const
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
static const G4PDefManager & GetSubInstanceManager()
G4double GetIonLifeTime() const
G4int GetVerboseLevel() const
G4int GetVerboseLevel() const
G4int CheckPDGCode(G4int code, G4String type)
static G4StateManager * GetStateManager()
G4ParticleDefinition * Insert(G4ParticleDefinition *particle)
const G4String & GetParticleName() const
G4int GetQuarkContent(G4int flavor) const
virtual ~G4ParticleDefinition()
G4GLOB_DLL std::ostream G4cout
G4IonTable * GetIonTable() const
G4int FillQuarkContents()
G4DecayTable * theDecayTable
G4bool IsGeneralIon() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4int operator!=(const G4ParticleDefinition &right) const
G4int GetAtomicNumber() const
G4double thePDGMagneticMoment
G4int theAntiQuarkContent[NumberOfQuarkFlavor]
void SetApplyCutsFlag(G4bool)
G4int GetAntiQuarkContent(G4int flavor) const
static G4ParticleTable * GetParticleTable()
G4String theParticleSubType
G4int operator==(const G4ParticleDefinition &right) const
void SetVerboseLevel(G4int verbose)
G4int GetAntiPDGEncoding() const
static const double eplus
G4int theQuarkContent[NumberOfQuarkFlavor]
G4int g4particleDefinitionInstanceID
G4int CreateSubInstance()
static const double tesla
G4ApplicationState GetCurrentState() const
static const double eplus
static const double hbar_Planck
G4int GetAtomicMass() const
G4double GetPDGCharge() const
G4bool CheckCharge(G4double charge) const
void SetAtomicMass(G4int)
const G4ParticleDefinition & operator=(const G4ParticleDefinition &r)