Geant4-11
|
#include <G4PrimaryParticle.hh>
Private Attributes | |
G4double | charge = 0.0 |
G4PrimaryParticle * | daughterParticle = nullptr |
G4ThreeVector | direction |
const G4ParticleDefinition * | G4code = nullptr |
G4double | kinE = 0.0 |
G4double | mass = -1.0 |
G4PrimaryParticle * | nextParticle = nullptr |
G4int | PDGcode = 0 |
G4double | polX = 0.0 |
G4double | polY = 0.0 |
G4double | polZ = 0.0 |
G4double | properTime = -1.0 |
G4int | trackID = -1 |
G4VUserPrimaryParticleInformation * | userInfo = nullptr |
G4double | Weight0 = 1.0 |
Definition at line 66 of file G4PrimaryParticle.hh.
G4PrimaryParticle::G4PrimaryParticle | ( | ) |
Definition at line 46 of file G4PrimaryParticle.cc.
Referenced by operator=().
G4PrimaryParticle::G4PrimaryParticle | ( | G4int | Pcode | ) |
Definition at line 52 of file G4PrimaryParticle.cc.
References charge, G4ParticleTable::FindParticle(), G4code, G4ParticleTable::GetParticleTable(), G4ParticleDefinition::GetPDGCharge(), G4ParticleDefinition::GetPDGMass(), and mass.
Definition at line 64 of file G4PrimaryParticle.cc.
References charge, G4ParticleTable::FindParticle(), G4code, G4ParticleTable::GetParticleTable(), G4ParticleDefinition::GetPDGCharge(), G4ParticleDefinition::GetPDGMass(), mass, and SetMomentum().
G4PrimaryParticle::G4PrimaryParticle | ( | G4int | Pcode, |
G4double | px, | ||
G4double | py, | ||
G4double | pz, | ||
G4double | E | ||
) |
Definition at line 78 of file G4PrimaryParticle.cc.
References charge, G4ParticleTable::FindParticle(), G4code, G4ParticleTable::GetParticleTable(), G4ParticleDefinition::GetPDGCharge(), G4ParticleDefinition::GetPDGMass(), mass, and Set4Momentum().
G4PrimaryParticle::G4PrimaryParticle | ( | const G4ParticleDefinition * | Gcode | ) |
Definition at line 93 of file G4PrimaryParticle.cc.
References charge, G4code, G4ParticleDefinition::GetPDGCharge(), G4ParticleDefinition::GetPDGEncoding(), G4ParticleDefinition::GetPDGMass(), mass, and PDGcode.
G4PrimaryParticle::G4PrimaryParticle | ( | const G4ParticleDefinition * | Gcode, |
G4double | px, | ||
G4double | py, | ||
G4double | pz | ||
) |
Definition at line 105 of file G4PrimaryParticle.cc.
References charge, G4code, G4ParticleDefinition::GetPDGCharge(), G4ParticleDefinition::GetPDGEncoding(), G4ParticleDefinition::GetPDGMass(), mass, PDGcode, and SetMomentum().
G4PrimaryParticle::G4PrimaryParticle | ( | const G4ParticleDefinition * | Gcode, |
G4double | px, | ||
G4double | py, | ||
G4double | pz, | ||
G4double | E | ||
) |
Definition at line 119 of file G4PrimaryParticle.cc.
References charge, G4code, G4ParticleDefinition::GetPDGCharge(), G4ParticleDefinition::GetPDGEncoding(), G4ParticleDefinition::GetPDGMass(), mass, PDGcode, and Set4Momentum().
|
virtual |
Definition at line 195 of file G4PrimaryParticle.cc.
References daughterParticle, nextParticle, and userInfo.
G4PrimaryParticle::G4PrimaryParticle | ( | const G4PrimaryParticle & | right | ) |
Definition at line 133 of file G4PrimaryParticle.cc.
|
inline |
Definition at line 397 of file G4PrimaryParticle.hh.
References nextParticle.
Referenced by G4PrimaryVertex::~G4PrimaryVertex().
|
inline |
Definition at line 212 of file G4PrimaryParticle.hh.
References charge.
Referenced by export_G4PrimaryParticle(), G4PrimaryTransformer::GenerateSingleTrack(), and G4PrimaryTransformer::SetDecayProducts().
|
inline |
Definition at line 310 of file G4PrimaryParticle.hh.
References daughterParticle.
Referenced by G4PrimaryTransformer::GenerateSingleTrack(), and G4PrimaryTransformer::SetDecayProducts().
|
inline |
Definition at line 224 of file G4PrimaryParticle.hh.
References G4code.
Referenced by export_G4PrimaryParticle().
|
inline |
Definition at line 292 of file G4PrimaryParticle.hh.
References kinE.
Referenced by G4PrimaryTransformer::GenerateSingleTrack().
|
inline |
Definition at line 206 of file G4PrimaryParticle.hh.
References mass.
Referenced by export_G4PrimaryParticle(), G4PrimaryTransformer::GenerateSingleTrack(), and G4PrimaryTransformer::SetDecayProducts().
|
inline |
Definition at line 243 of file G4PrimaryParticle.hh.
References direction, and GetTotalMomentum().
Referenced by export_G4PrimaryParticle(), G4AdjointPrimaryGeneratorAction::GeneratePrimaries(), G4PrimaryTransformer::GenerateSingleTrack(), and G4PrimaryTransformer::SetDecayProducts().
|
inline |
Definition at line 249 of file G4PrimaryParticle.hh.
References direction.
Referenced by G4PrimaryTransformer::GenerateSingleTrack().
|
inline |
Definition at line 304 of file G4PrimaryParticle.hh.
References nextParticle.
Referenced by export_G4PrimaryParticle(), G4PrimaryTransformer::GenerateSingleTrack(), G4PrimaryTransformer::GenerateTracks(), G4PrimaryVertex::GetPrimary(), G4PrimaryVertex::operator=(), G4PrimaryTransformer::SetDecayProducts(), and G4PrimaryVertex::~G4PrimaryVertex().
|
inline |
Definition at line 230 of file G4PrimaryParticle.hh.
References G4code.
|
inline |
Definition at line 218 of file G4PrimaryParticle.hh.
References PDGcode.
Referenced by export_G4PrimaryParticle(), G4PrimaryTransformer::GenerateSingleTrack(), and G4PrimaryTransformer::SetDecayProducts().
|
inline |
Definition at line 322 of file G4PrimaryParticle.hh.
References polX, polY, and polZ.
Referenced by export_G4PrimaryParticle(), and G4PrimaryTransformer::GenerateSingleTrack().
|
inline |
Definition at line 328 of file G4PrimaryParticle.hh.
References polX.
Referenced by export_G4PrimaryParticle(), G4PrimaryTransformer::GenerateSingleTrack(), and G4PrimaryTransformer::SetDecayProducts().
|
inline |
Definition at line 334 of file G4PrimaryParticle.hh.
References polY.
Referenced by export_G4PrimaryParticle(), G4PrimaryTransformer::GenerateSingleTrack(), and G4PrimaryTransformer::SetDecayProducts().
|
inline |
Definition at line 340 of file G4PrimaryParticle.hh.
References polZ.
Referenced by export_G4PrimaryParticle(), G4PrimaryTransformer::GenerateSingleTrack(), and G4PrimaryTransformer::SetDecayProducts().
|
inline |
Definition at line 364 of file G4PrimaryParticle.hh.
References properTime.
Referenced by export_G4PrimaryParticle(), G4PrimaryTransformer::GenerateSingleTrack(), and G4PrimaryTransformer::SetDecayProducts().
|
inline |
Definition at line 261 of file G4PrimaryParticle.hh.
References direction, GetTotalMomentum(), and CLHEP::Hep3Vector::x().
Referenced by export_G4PrimaryParticle().
|
inline |
Definition at line 267 of file G4PrimaryParticle.hh.
References direction, GetTotalMomentum(), and CLHEP::Hep3Vector::y().
Referenced by export_G4PrimaryParticle().
|
inline |
Definition at line 273 of file G4PrimaryParticle.hh.
References direction, GetTotalMomentum(), and CLHEP::Hep3Vector::z().
Referenced by export_G4PrimaryParticle().
|
inline |
|
inline |
|
inline |
Definition at line 316 of file G4PrimaryParticle.hh.
References trackID.
Referenced by export_G4PrimaryParticle().
|
inline |
Definition at line 378 of file G4PrimaryParticle.hh.
References userInfo.
|
inline |
Definition at line 346 of file G4PrimaryParticle.hh.
References Weight0.
Referenced by export_G4PrimaryParticle(), and G4PrimaryTransformer::GenerateSingleTrack().
|
inline |
Definition at line 199 of file G4PrimaryParticle.hh.
References aPrimaryParticleAllocator().
|
inline |
Definition at line 189 of file G4PrimaryParticle.hh.
References aPrimaryParticleAllocator().
G4bool G4PrimaryParticle::operator!= | ( | const G4PrimaryParticle & | right | ) | const |
Definition at line 189 of file G4PrimaryParticle.cc.
G4PrimaryParticle & G4PrimaryParticle::operator= | ( | const G4PrimaryParticle & | right | ) |
Definition at line 140 of file G4PrimaryParticle.cc.
References charge, daughterParticle, direction, G4code, G4PrimaryParticle(), kinE, mass, nextParticle, PDGcode, polX, polY, polZ, properTime, trackID, userInfo, and Weight0.
G4bool G4PrimaryParticle::operator== | ( | const G4PrimaryParticle & | right | ) | const |
Definition at line 183 of file G4PrimaryParticle.cc.
void G4PrimaryParticle::Print | ( | ) | const |
Definition at line 277 of file G4PrimaryParticle.cc.
References charge, daughterParticle, direction, eplus, G4code, G4cout, G4endl, G4ParticleDefinition::GetParticleName(), GetTotalMomentum(), GeV, kinE, mass, nextParticle, ns, PDGcode, polX, polY, polZ, Print(), G4VUserPrimaryParticleInformation::Print(), properTime, userInfo, Weight0, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by export_G4PrimaryParticle(), Print(), and G4PrimaryVertex::Print().
Definition at line 225 of file G4PrimaryParticle.cc.
References direction, G4code, G4ParticleDefinition::GetPDGMass(), kinE, mass, CLHEP::Hep3Vector::setX(), CLHEP::Hep3Vector::setY(), and CLHEP::Hep3Vector::setZ().
Referenced by export_G4PrimaryParticle(), and G4PrimaryParticle().
|
inline |
Definition at line 422 of file G4PrimaryParticle.hh.
References charge.
Referenced by export_G4PrimaryParticle(), G4ParticleGun::GeneratePrimaryVertex(), and G4SingleParticleSource::GeneratePrimaryVertex().
|
inline |
Definition at line 403 of file G4PrimaryParticle.hh.
References daughterParticle, and SetNext().
Referenced by G4HEPEvtInterface::GeneratePrimaryVertex().
|
inline |
Definition at line 384 of file G4PrimaryParticle.hh.
References SetParticleDefinition().
|
inline |
Definition at line 298 of file G4PrimaryParticle.hh.
References kinE.
Referenced by G4RTPrimaryGeneratorAction::GeneratePrimaries(), G4ParticleGun::GeneratePrimaryVertex(), G4SingleParticleSource::GeneratePrimaryVertex(), and G4RayShooter::Shoot().
|
inline |
Definition at line 416 of file G4PrimaryParticle.hh.
References mass.
Referenced by export_G4PrimaryParticle(), G4RTPrimaryGeneratorAction::GeneratePrimaries(), G4HEPEvtInterface::GeneratePrimaryVertex(), G4ParticleGun::GeneratePrimaryVertex(), G4SingleParticleSource::GeneratePrimaryVertex(), and G4RayShooter::Shoot().
Definition at line 208 of file G4PrimaryParticle.cc.
References direction, G4code, G4ParticleDefinition::GetPDGMass(), kinE, mass, CLHEP::Hep3Vector::setX(), CLHEP::Hep3Vector::setY(), and CLHEP::Hep3Vector::setZ().
Referenced by G4PrimaryParticle(), and G4HEPEvtInterface::GeneratePrimaryVertex().
|
inline |
Definition at line 255 of file G4PrimaryParticle.hh.
References direction.
Referenced by export_G4PrimaryParticle(), G4RTPrimaryGeneratorAction::GeneratePrimaries(), G4ParticleGun::GeneratePrimaryVertex(), G4SingleParticleSource::GeneratePrimaryVertex(), and G4RayShooter::Shoot().
|
inline |
Definition at line 390 of file G4PrimaryParticle.hh.
References nextParticle, and SetNext().
Referenced by SetDaughter(), SetNext(), and G4PrimaryVertex::SetPrimary().
void G4PrimaryParticle::SetParticleDefinition | ( | const G4ParticleDefinition * | pdef | ) |
Definition at line 265 of file G4PrimaryParticle.cc.
References charge, G4code, G4ParticleDefinition::GetPDGCharge(), G4ParticleDefinition::GetPDGEncoding(), G4ParticleDefinition::GetPDGMass(), mass, and PDGcode.
Referenced by SetG4code().
void G4PrimaryParticle::SetPDGcode | ( | G4int | Pcode | ) |
Definition at line 252 of file G4PrimaryParticle.cc.
References charge, G4ParticleTable::FindParticle(), G4code, G4ParticleTable::GetParticleTable(), G4ParticleDefinition::GetPDGCharge(), G4ParticleDefinition::GetPDGMass(), mass, and PDGcode.
|
inline |
Definition at line 436 of file G4PrimaryParticle.hh.
References polX, polY, polZ, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by G4RTPrimaryGeneratorAction::GeneratePrimaries(), G4ParticleGun::GeneratePrimaryVertex(), G4SingleParticleSource::GeneratePrimaryVertex(), and G4RayShooter::Shoot().
|
inline |
Definition at line 358 of file G4PrimaryParticle.hh.
References properTime.
|
inline |
|
inline |
Definition at line 410 of file G4PrimaryParticle.hh.
References trackID.
Referenced by G4PrimaryTransformer::GenerateSingleTrack().
|
inline |
Definition at line 370 of file G4PrimaryParticle.hh.
References userInfo.
|
inline |
Definition at line 352 of file G4PrimaryParticle.hh.
References Weight0.
Referenced by export_G4PrimaryParticle(), and G4SingleParticleSource::GeneratePrimaryVertex().
|
private |
Definition at line 168 of file G4PrimaryParticle.hh.
Referenced by G4PrimaryParticle(), GetCharge(), operator=(), Print(), SetCharge(), SetParticleDefinition(), and SetPDGcode().
|
private |
Definition at line 165 of file G4PrimaryParticle.hh.
Referenced by GetDaughter(), operator=(), Print(), SetDaughter(), and ~G4PrimaryParticle().
|
private |
Definition at line 161 of file G4PrimaryParticle.hh.
Referenced by GetMomentum(), GetMomentumDirection(), GetPx(), GetPy(), GetPz(), operator=(), Print(), Set4Momentum(), SetMomentum(), and SetMomentumDirection().
|
private |
Definition at line 159 of file G4PrimaryParticle.hh.
Referenced by G4PrimaryParticle(), GetG4code(), GetParticleDefinition(), operator=(), Print(), Set4Momentum(), SetMomentum(), SetParticleDefinition(), and SetPDGcode().
|
private |
Definition at line 162 of file G4PrimaryParticle.hh.
Referenced by GetKineticEnergy(), GetTotalEnergy(), GetTotalMomentum(), operator=(), Print(), Set4Momentum(), SetKineticEnergy(), SetMomentum(), and SetTotalEnergy().
|
private |
Definition at line 167 of file G4PrimaryParticle.hh.
Referenced by G4PrimaryParticle(), GetMass(), GetTotalEnergy(), GetTotalMomentum(), operator=(), Print(), Set4Momentum(), SetMass(), SetMomentum(), SetParticleDefinition(), SetPDGcode(), and SetTotalEnergy().
|
private |
Definition at line 164 of file G4PrimaryParticle.hh.
Referenced by ClearNext(), GetNext(), operator=(), Print(), SetNext(), and ~G4PrimaryParticle().
|
private |
Definition at line 176 of file G4PrimaryParticle.hh.
Referenced by G4PrimaryParticle(), GetPDGcode(), operator=(), Print(), SetParticleDefinition(), and SetPDGcode().
|
private |
Definition at line 169 of file G4PrimaryParticle.hh.
Referenced by GetPolarization(), GetPolX(), operator=(), Print(), and SetPolarization().
|
private |
Definition at line 170 of file G4PrimaryParticle.hh.
Referenced by GetPolarization(), GetPolY(), operator=(), Print(), and SetPolarization().
|
private |
Definition at line 171 of file G4PrimaryParticle.hh.
Referenced by GetPolarization(), GetPolZ(), operator=(), Print(), and SetPolarization().
|
private |
Definition at line 173 of file G4PrimaryParticle.hh.
Referenced by GetProperTime(), operator=(), Print(), and SetProperTime().
|
private |
Definition at line 177 of file G4PrimaryParticle.hh.
Referenced by GetTrackID(), operator=(), and SetTrackID().
|
private |
Definition at line 174 of file G4PrimaryParticle.hh.
Referenced by GetUserInformation(), operator=(), Print(), SetUserInformation(), and ~G4PrimaryParticle().
|
private |
Definition at line 172 of file G4PrimaryParticle.hh.
Referenced by GetWeight(), operator=(), Print(), and SetWeight().