hep.geant4.jni
Class G4PrimaryParticle

java.lang.Object
  extended by hep.geant4.jni.G4PrimaryParticle

public class G4PrimaryParticle
extends Object


Field Summary
protected  boolean swigCMemOwn
           
 
Constructor Summary
G4PrimaryParticle()
           
G4PrimaryParticle(G4ParticleDefinition Gcode)
           
G4PrimaryParticle(G4ParticleDefinition Gcode, double px, double py, double pz)
           
G4PrimaryParticle(G4ParticleDefinition Gcode, double px, double py, double pz, double E)
           
G4PrimaryParticle(int Pcode)
           
G4PrimaryParticle(int Pcode, double px, double py, double pz)
           
G4PrimaryParticle(int Pcode, double px, double py, double pz, double E)
           
G4PrimaryParticle(long cPtr, boolean cMemoryOwn)
           
 
Method Summary
 void delete()
           
 boolean equals(Object obj)
           
protected  void finalize()
           
 double getCharge()
           
static long getCPtr(G4PrimaryParticle obj)
           
 G4PrimaryParticle getDaughter()
           
 G4ParticleDefinition getG4code()
           
 double getMass()
           
 G4ThreeVector getMomentum()
           
 G4PrimaryParticle getNext()
           
 int getPDGcode()
           
 G4ThreeVector getPolarization()
           
 double getPolX()
           
 double getPolY()
           
 double getPolZ()
           
 double getProperTime()
           
 double getPx()
           
 double getPy()
           
 double getPz()
           
 int getTrackID()
           
 G4VUserPrimaryParticleInformation getUserInformation()
           
 double getWeight()
           
 void print()
           
 void set4Momentum(double px, double py, double pz, double E)
           
 void setCharge(double chg)
           
 void setDaughter(G4PrimaryParticle np)
           
 void setG4code(G4ParticleDefinition Gcode)
           
 void setMass(double mas)
           
 void setMomentum(double px, double py, double pz)
           
 void setNext(G4PrimaryParticle np)
           
 void setPDGcode(int Pcode)
           
 void setPolarization(double px, double py, double pz)
           
 void setProperTime(double t)
           
 void setTrackID(int id)
           
 void setUserInformation(G4VUserPrimaryParticleInformation anInfo)
           
 void setWeight(double w)
           
 
Methods inherited from class java.lang.Object
clone, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

swigCMemOwn

protected boolean swigCMemOwn
Constructor Detail

G4PrimaryParticle

public G4PrimaryParticle(long cPtr,
                         boolean cMemoryOwn)

G4PrimaryParticle

public G4PrimaryParticle()

G4PrimaryParticle

public G4PrimaryParticle(int Pcode)

G4PrimaryParticle

public G4PrimaryParticle(int Pcode,
                         double px,
                         double py,
                         double pz)

G4PrimaryParticle

public G4PrimaryParticle(int Pcode,
                         double px,
                         double py,
                         double pz,
                         double E)

G4PrimaryParticle

public G4PrimaryParticle(G4ParticleDefinition Gcode)

G4PrimaryParticle

public G4PrimaryParticle(G4ParticleDefinition Gcode,
                         double px,
                         double py,
                         double pz)

G4PrimaryParticle

public G4PrimaryParticle(G4ParticleDefinition Gcode,
                         double px,
                         double py,
                         double pz,
                         double E)
Method Detail

getCPtr

public static long getCPtr(G4PrimaryParticle obj)

finalize

protected void finalize()
                 throws Throwable
Overrides:
finalize in class Object
Throws:
Throwable

delete

public void delete()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

print

public void print()

getPDGcode

public int getPDGcode()

getG4code

public G4ParticleDefinition getG4code()

getMomentum

public G4ThreeVector getMomentum()

getPx

public double getPx()

getPy

public double getPy()

getPz

public double getPz()

getNext

public G4PrimaryParticle getNext()

getDaughter

public G4PrimaryParticle getDaughter()

getTrackID

public int getTrackID()

getMass

public double getMass()

getCharge

public double getCharge()

getPolarization

public G4ThreeVector getPolarization()

getPolX

public double getPolX()

getPolY

public double getPolY()

getPolZ

public double getPolZ()

getWeight

public double getWeight()

setWeight

public void setWeight(double w)

setProperTime

public void setProperTime(double t)

getProperTime

public double getProperTime()

setUserInformation

public void setUserInformation(G4VUserPrimaryParticleInformation anInfo)

getUserInformation

public G4VUserPrimaryParticleInformation getUserInformation()

setPDGcode

public void setPDGcode(int Pcode)

setG4code

public void setG4code(G4ParticleDefinition Gcode)

setMomentum

public void setMomentum(double px,
                        double py,
                        double pz)

set4Momentum

public void set4Momentum(double px,
                         double py,
                         double pz,
                         double E)

setNext

public void setNext(G4PrimaryParticle np)

setDaughter

public void setDaughter(G4PrimaryParticle np)

setTrackID

public void setTrackID(int id)

setMass

public void setMass(double mas)

setCharge

public void setCharge(double chg)

setPolarization

public void setPolarization(double px,
                            double py,
                            double pz)


Copyright © 2000-2007 FreeHEP. All Rights Reserved.