44 :PDGcode(0),G4code(0),
45 direction(0.,0.,1.),kinE(0.),
46 nextParticle(0),daughterParticle(0),
trackID(-1),
47 mass(-1.),charge(0.),polX(0.),polY(0.),polZ(0.),
48 Weight0(1.0),properTime(0.0),userInfo(0)
53 direction(0.,0.,1.),kinE(0.),
54 nextParticle(0),daughterParticle(0),
trackID(-1),
55 mass(-1.),charge(0.),polX(0.),polY(0.),polZ(0.),
56 Weight0(1.0),properTime(0.0),userInfo(0)
68 direction(0.,0.,1.),kinE(0.),
69 nextParticle(0),daughterParticle(0),
trackID(-1),
70 mass(-1.),charge(0.),polX(0.),polY(0.),polZ(0.),
71 Weight0(1.0),properTime(0.0),userInfo(0)
84 direction(0.,0.,1.),kinE(0.),
85 nextParticle(0),daughterParticle(0),
trackID(-1),
86 mass(-1.),charge(0.),polX(0.),polY(0.),polZ(0.),
87 Weight0(1.0),properTime(0.0),userInfo(0)
98 :PDGcode(0),G4code(Gcode),
99 direction(0.,0.,1.),kinE(0.),
100 nextParticle(0),daughterParticle(0),
trackID(-1),
101 mass(-1.),charge(0.),polX(0.),polY(0.),polZ(0.),
102 Weight0(1.0),properTime(0.0),userInfo(0)
113 :PDGcode(0),G4code(Gcode),
114 direction(0.,0.,1.),kinE(0.),
115 nextParticle(0),daughterParticle(0),
trackID(-1),
116 mass(-1.),charge(0.),polX(0.),polY(0.),polZ(0.),
117 Weight0(1.0),properTime(0.0),userInfo(0)
129 :PDGcode(0),G4code(Gcode),
130 direction(0.,0.,1.),kinE(0.),
131 nextParticle(0),daughterParticle(0),
trackID(-1),
132 mass(-1.),charge(0.),polX(0.),polY(0.),polZ(0.),
133 Weight0(1.0),properTime(0.0),userInfo(0)
144 :PDGcode(0),G4code(0),
145 direction(0.,0.,1.),kinE(0.),
146 nextParticle(0),daughterParticle(0),
trackID(-1),
147 mass(-1.),charge(0.),polX(0.),polY(0.),polZ(0.),
148 Weight0(1.0),properTime(0.0),userInfo(0)
155 if (
this != &right) {
189 {
return (
this==&right); }
192 {
return (
this!=&right); }
215 G4double pmom = std::sqrt(px*px+py*py+pz*pz);
226 G4double pmom = std::sqrt(px*px+py*py+pz*pz);
234 mass = std::sqrt(mas2);
282 G4cout <<
" Polarization ( "
G4ParticleDefinition * FindParticle(G4int PDGEncoding)
static G4ParticleTable * GetParticleTable()
G4PART_DLL G4Allocator< G4PrimaryParticle > *& aPrimaryParticleAllocator()
G4int operator!=(const G4PrimaryParticle &right) const
G4PrimaryParticle & operator=(const G4PrimaryParticle &right)
const G4String & GetParticleName() const
G4double GetPDGCharge() const
void SetMomentum(G4double px, G4double py, G4double pz)
#define G4ThreadLocalStatic
G4double GetPDGMass() const
G4double GetTotalMomentum() const
virtual void Print() const =0
G4PrimaryParticle * daughterParticle
G4int operator==(const G4PrimaryParticle &right) const
void SetParticleDefinition(const G4ParticleDefinition *pdef)
void SetPDGcode(G4int Pcode)
virtual ~G4PrimaryParticle()
void Set4Momentum(G4double px, G4double py, G4double pz, G4double E)
G4PrimaryParticle * nextParticle
static constexpr double eplus
G4int GetPDGEncoding() const
G4GLOB_DLL std::ostream G4cout
const G4ParticleDefinition * G4code
static constexpr double GeV
G4VUserPrimaryParticleInformation * userInfo