hep.geant4.jni
Class G4HEVector

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

public class G4HEVector
extends Object


Field Summary
protected  boolean swigCMemOwn
           
 
Constructor Summary
G4HEVector()
           
G4HEVector(G4HadProjectile aParticle)
           
G4HEVector(G4HEVector p)
           
G4HEVector(long cPtr, boolean cMemoryOwn)
           
 
Method Summary
 void add(G4HEVector p1, G4HEVector p2)
           
 void add3(G4HEVector p1, G4HEVector p2)
           
 double amax(double a, double b)
           
 double ang(G4HEVector p)
           
 double cosAng(G4HEVector p)
           
 void cross(G4HEVector p1, G4HEVector p2)
           
 void defs(G4HEVector p1, G4HEVector p2, G4HEVector my, G4HEVector mz)
           
 void defs1(G4HEVector p1, G4HEVector p2)
           
 void delete()
           
 double dot(G4HEVector p1, G4HEVector p2)
           
 double dot4(G4HEVector p1, G4HEVector p2)
           
 boolean equals(Object obj)
           
 void exch(G4HEVector p1)
           
 int fillQuarkContent()
           
protected  void finalize()
           
 int getAntiQuarkContent(int flavor)
           
 int getBaryonNumber()
           
 double getCharge()
           
 int getCode()
           
static long getCPtr(G4HEVector obj)
           
 double getEnergy()
           
 boolean getFlag()
           
 double getKineticEnergy()
           
 double getMass()
           
 G4ThreeVector getMomentum()
           
 String getName()
           
 String getParticleName(int code, int baryon)
           
 int getQuarkContent(int flavor)
           
 int getSide()
           
 int getStrangenessNumber()
           
 double getTOF()
           
 double getTotalMomentum()
           
 String getType()
           
 double impu(G4HEVector p1, G4HEVector p2)
           
 double length()
           
 void lor(G4HEVector p1, G4HEVector p2)
           
 void norz(G4HEVector p)
           
 void print(int L)
           
 void setCharge(double c)
           
 void setCode(int c)
           
 void setDefinition(String name)
           
 void setEnergy(double e)
           
 void setEnergyAndUpdate(double e)
           
 void setFlag(boolean f)
           
 void setKineticEnergy(double ekin)
           
 void setKineticEnergyAndUpdate(double ekin)
           
 void setMass(double m)
           
 void setMassAndUpdate(double m)
           
 void setMomentum(double z)
           
 void setMomentum(double x, double y)
           
 void setMomentum(double x, double y, double z)
           
 void setMomentum(G4ThreeVector mom)
           
 void setMomentumAndUpdate(double z)
           
 void setMomentumAndUpdate(double x, double y)
           
 void setMomentumAndUpdate(double x, double y, double z)
           
 void setMomentumAndUpdate(G4ThreeVector mom)
           
 void setSide(int s)
           
 void setTOF(double t)
           
 void setZero()
           
 void smul(G4HEVector p, double h)
           
 void smulAndUpdate(G4HEVector p, double h)
           
 void sub(G4HEVector p1, G4HEVector p2)
           
 void sub3(G4HEVector p1, G4HEVector p2)
           
 void trac(G4HEVector p1, G4HEVector mx, G4HEVector my, G4HEVector mz)
           
 
Methods inherited from class java.lang.Object
clone, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

swigCMemOwn

protected boolean swigCMemOwn
Constructor Detail

G4HEVector

public G4HEVector(long cPtr,
                  boolean cMemoryOwn)

G4HEVector

public G4HEVector(G4HadProjectile aParticle)

G4HEVector

public G4HEVector()

G4HEVector

public G4HEVector(G4HEVector p)
Method Detail

getCPtr

public static long getCPtr(G4HEVector 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

amax

public double amax(double a,
                   double b)

getParticleName

public String getParticleName(int code,
                              int baryon)

setMomentum

public void setMomentum(G4ThreeVector mom)

setMomentumAndUpdate

public void setMomentumAndUpdate(G4ThreeVector mom)

getMomentum

public G4ThreeVector getMomentum()

getTotalMomentum

public double getTotalMomentum()

setMomentum

public void setMomentum(double x,
                        double y,
                        double z)

setMomentumAndUpdate

public void setMomentumAndUpdate(double x,
                                 double y,
                                 double z)

setMomentum

public void setMomentum(double x,
                        double y)

setMomentumAndUpdate

public void setMomentumAndUpdate(double x,
                                 double y)

setMomentum

public void setMomentum(double z)

setMomentumAndUpdate

public void setMomentumAndUpdate(double z)

setEnergy

public void setEnergy(double e)

setEnergyAndUpdate

public void setEnergyAndUpdate(double e)

setKineticEnergy

public void setKineticEnergy(double ekin)

setKineticEnergyAndUpdate

public void setKineticEnergyAndUpdate(double ekin)

getEnergy

public double getEnergy()

getKineticEnergy

public double getKineticEnergy()

setMass

public void setMass(double m)

setMassAndUpdate

public void setMassAndUpdate(double m)

getMass

public double getMass()

setCharge

public void setCharge(double c)

getCharge

public double getCharge()

setTOF

public void setTOF(double t)

getTOF

public double getTOF()

setSide

public void setSide(int s)

getSide

public int getSide()

setFlag

public void setFlag(boolean f)

getFlag

public boolean getFlag()

setCode

public void setCode(int c)

getCode

public int getCode()

getName

public String getName()

getBaryonNumber

public int getBaryonNumber()

getStrangenessNumber

public int getStrangenessNumber()

getQuarkContent

public int getQuarkContent(int flavor)

getAntiQuarkContent

public int getAntiQuarkContent(int flavor)

setZero

public void setZero()

getType

public String getType()

add

public void add(G4HEVector p1,
                G4HEVector p2)

sub

public void sub(G4HEVector p1,
                G4HEVector p2)

lor

public void lor(G4HEVector p1,
                G4HEVector p2)

cosAng

public double cosAng(G4HEVector p)

ang

public double ang(G4HEVector p)

dot4

public double dot4(G4HEVector p1,
                   G4HEVector p2)

impu

public double impu(G4HEVector p1,
                   G4HEVector p2)

add3

public void add3(G4HEVector p1,
                 G4HEVector p2)

sub3

public void sub3(G4HEVector p1,
                 G4HEVector p2)

cross

public void cross(G4HEVector p1,
                  G4HEVector p2)

dot

public double dot(G4HEVector p1,
                  G4HEVector p2)

smul

public void smul(G4HEVector p,
                 double h)

smulAndUpdate

public void smulAndUpdate(G4HEVector p,
                          double h)

norz

public void norz(G4HEVector p)

length

public double length()

exch

public void exch(G4HEVector p1)

defs1

public void defs1(G4HEVector p1,
                  G4HEVector p2)

defs

public void defs(G4HEVector p1,
                 G4HEVector p2,
                 G4HEVector my,
                 G4HEVector mz)

trac

public void trac(G4HEVector p1,
                 G4HEVector mx,
                 G4HEVector my,
                 G4HEVector mz)

setDefinition

public void setDefinition(String name)

fillQuarkContent

public int fillQuarkContent()

print

public void print(int L)


Copyright © 2000-2007 FreeHEP. All Rights Reserved.