40 :PDGcode(0),G4code(0),
41 direction(0.,0.,1.),kinE(0.),
42 nextParticle(0),daughterParticle(0),trackID(-1),
43 mass(-1.),charge(0.),polX(0.),polY(0.),polZ(0.),
44 Weight0(1.0),properTime(0.0),userInfo(0)
49 direction(0.,0.,1.),kinE(0.),
50 nextParticle(0),daughterParticle(0),trackID(-1),
51 mass(-1.),charge(0.),polX(0.),polY(0.),polZ(0.),
52 Weight0(1.0),properTime(0.0),userInfo(0)
64 direction(0.,0.,1.),kinE(0.),
65 nextParticle(0),daughterParticle(0),trackID(-1),
66 mass(-1.),charge(0.),polX(0.),polY(0.),polZ(0.),
67 Weight0(1.0),properTime(0.0),userInfo(0)
80 direction(0.,0.,1.),kinE(0.),
81 nextParticle(0),daughterParticle(0),trackID(-1),
82 charge(0.),polX(0.),polY(0.),polZ(0.),
83 Weight0(1.0),properTime(0.0),userInfo(0)
94 :PDGcode(0),G4code(Gcode),
95 direction(0.,0.,1.),kinE(0.),
96 nextParticle(0),daughterParticle(0),trackID(-1),
97 mass(-1.),charge(0.),polX(0.),polY(0.),polZ(0.),
98 Weight0(1.0),properTime(0.0),userInfo(0)
109 :PDGcode(0),G4code(Gcode),
110 direction(0.,0.,1.),kinE(0.),
111 nextParticle(0),daughterParticle(0),trackID(-1),
112 mass(-1.),charge(0.),polX(0.),polY(0.),polZ(0.),
113 Weight0(1.0),properTime(0.0),userInfo(0)
125 :PDGcode(0),G4code(Gcode),
126 direction(0.,0.,1.),kinE(0.),
127 nextParticle(0),daughterParticle(0),trackID(-1),
128 charge(0.),polX(0.),polY(0.),polZ(0.),
129 Weight0(1.0),properTime(0.0),userInfo(0)
140 :PDGcode(0),G4code(0),
141 direction(0.,0.,1.),kinE(0.),
142 nextParticle(0),daughterParticle(0),trackID(-1),
143 mass(-1.),charge(0.),polX(0.),polY(0.),polZ(0.),
144 Weight0(1.0),properTime(0.0),userInfo(0)
151 if (
this != &right) {
185 {
return (
this==&right); }
188 {
return (
this!=&right); }
211 G4double pmom = std::sqrt(px*px+py*py+pz*pz);
222 G4double pmom = std::sqrt(px*px+py*py+pz*pz);
230 mass = std::sqrt(mas2);
278 G4cout <<
" Polarization ( "
G4ParticleDefinition * FindParticle(G4int PDGEncoding)
virtual ~G4PrimaryParticle()
G4PrimaryParticle * daughterParticle
G4ThreadLocal G4Allocator< G4PrimaryParticle > * aPrimaryParticleAllocator
G4int GetPDGEncoding() const
const G4ParticleDefinition * G4code
G4double GetTotalMomentum() const
G4PrimaryParticle * nextParticle
const G4String & GetParticleName() const
void SetPDGcode(G4int Pcode)
G4GLOB_DLL std::ostream G4cout
virtual void Print() const =0
G4double GetPDGMass() const
static G4ParticleTable * GetParticleTable()
void SetParticleDefinition(const G4ParticleDefinition *pdef)
G4int operator==(const G4PrimaryParticle &right) const
G4VUserPrimaryParticleInformation * userInfo
void Set4Momentum(G4double px, G4double py, G4double pz, G4double E)
G4PrimaryParticle & operator=(const G4PrimaryParticle &right)
static const double eplus
G4double GetPDGCharge() const
void SetMomentum(G4double px, G4double py, G4double pz)
G4int operator!=(const G4PrimaryParticle &right) const