Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Types | Protected Attributes | List of all members
G4HEVector Class Reference

#include <G4HEVector.hh>

Collaboration diagram for G4HEVector:
Collaboration graph
[legend]

Public Member Functions

 G4HEVector (const G4HadProjectile *aParticle)
 
 G4HEVector ()
 
 G4HEVector (const G4HEVector &p)
 
G4HEVectoroperator= (const G4HEVector &p)
 
 ~G4HEVector ()
 
G4double Amax (G4double a, G4double b)
 
G4String getParticleName (G4int code, G4int baryon)
 
void setMomentum (const G4ParticleMomentum mom)
 
void setMomentum (const G4ParticleMomentum *mom)
 
void setMomentumAndUpdate (const G4ParticleMomentum mom)
 
void setMomentumAndUpdate (const G4ParticleMomentum *mom)
 
const G4ParticleMomentum getMomentum () const
 
G4double getTotalMomentum () const
 
void setMomentum (G4double x, G4double y, G4double z)
 
void setMomentumAndUpdate (G4double x, G4double y, G4double z)
 
void setMomentum (G4double x, G4double y)
 
void setMomentumAndUpdate (G4double x, G4double y)
 
void setMomentum (G4double z)
 
void setMomentumAndUpdate (G4double z)
 
void setEnergy (G4double e)
 
void setEnergyAndUpdate (G4double e)
 
void setKineticEnergy (G4double ekin)
 
void setKineticEnergyAndUpdate (G4double ekin)
 
G4double getEnergy () const
 
G4double getKineticEnergy () const
 
void setMass (G4double m)
 
void setMassAndUpdate (G4double m)
 
G4double getMass () const
 
void setCharge (G4double c)
 
G4double getCharge () const
 
void setTOF (G4double t)
 
G4double getTOF ()
 
void setSide (G4int s)
 
G4int getSide ()
 
void setFlag (G4bool f)
 
G4bool getFlag ()
 
void setCode (G4int c)
 
G4int getCode () const
 
G4String getName () const
 
G4int getBaryonNumber () const
 
G4int getStrangenessNumber () const
 
G4int getQuarkContent (G4int flavor)
 
G4int getAntiQuarkContent (G4int flavor)
 
void setZero ()
 
G4String getType () const
 
void Add (const G4HEVector &p1, const G4HEVector &p2)
 
void Sub (const G4HEVector &p1, const G4HEVector &p2)
 
void Lor (const G4HEVector &p1, const G4HEVector &p2)
 
G4double CosAng (const G4HEVector &p) const
 
G4double Ang (const G4HEVector &p)
 
G4double Dot4 (const G4HEVector &p1, const G4HEVector &p2)
 
G4double Impu (const G4HEVector &p1, const G4HEVector &p2)
 
void Add3 (const G4HEVector &p1, const G4HEVector &p2)
 
void Sub3 (const G4HEVector &p1, const G4HEVector &p2)
 
void Cross (const G4HEVector &p1, const G4HEVector &p2)
 
G4double Dot (const G4HEVector &p1, const G4HEVector &p2)
 
void Smul (const G4HEVector &p, G4double h)
 
void SmulAndUpdate (const G4HEVector &p, G4double h)
 
void Norz (const G4HEVector &p)
 
G4double Length () const
 
void Exch (G4HEVector &p1)
 
void Defs1 (const G4HEVector &p1, const G4HEVector &p2)
 
void Defs (const G4HEVector &p1, const G4HEVector &p2, G4HEVector &my, G4HEVector &mz)
 
void Trac (const G4HEVector &p1, const G4HEVector &mx, const G4HEVector &my, const G4HEVector &mz)
 
void setDefinition (G4String name)
 
G4int FillQuarkContent ()
 
void Print (G4int L) const
 

Protected Types

enum  { NumberOfQuarkFlavor = 8 }
 

Protected Attributes

G4double px
 
G4double py
 
G4double pz
 
G4double energy
 
G4double kineticEnergy
 
G4double mass
 
G4double charge
 
G4double timeOfFlight
 
G4int side
 
G4bool flag
 
G4int code
 
G4String particleName
 
G4String particleType
 
G4int baryon
 
G4int strangeness
 
G4int theQuarkContent [NumberOfQuarkFlavor]
 
G4int theAntiQuarkContent [NumberOfQuarkFlavor]
 

Detailed Description

Definition at line 49 of file G4HEVector.hh.

Member Enumeration Documentation

anonymous enum
protected
Enumerator
NumberOfQuarkFlavor 

Definition at line 67 of file G4HEVector.hh.

Constructor & Destructor Documentation

G4HEVector::G4HEVector ( const G4HadProjectile aParticle)

Definition at line 44 of file G4HEVector.cc.

Here is the call graph for this function:

G4HEVector::G4HEVector ( )
inline

Definition at line 75 of file G4HEVector.hh.

G4HEVector::G4HEVector ( const G4HEVector p)
inline

Definition at line 99 of file G4HEVector.hh.

G4HEVector::~G4HEVector ( )
inline

Definition at line 139 of file G4HEVector.hh.

Member Function Documentation

void G4HEVector::Add ( const G4HEVector p1,
const G4HEVector p2 
)

Definition at line 516 of file G4HEVector.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4HEVector::Add3 ( const G4HEVector p1,
const G4HEVector p2 
)

Definition at line 623 of file G4HEVector.cc.

Here is the caller graph for this function:

G4double G4HEVector::Amax ( G4double  a,
G4double  b 
)

Definition at line 64 of file G4HEVector.cc.

Here is the caller graph for this function:

G4double G4HEVector::Ang ( const G4HEVector p)

Definition at line 592 of file G4HEVector.cc.

Here is the caller graph for this function:

G4double G4HEVector::CosAng ( const G4HEVector p) const

Definition at line 578 of file G4HEVector.cc.

Here is the caller graph for this function:

void G4HEVector::Cross ( const G4HEVector p1,
const G4HEVector p2 
)

Definition at line 641 of file G4HEVector.cc.

Here is the caller graph for this function:

void G4HEVector::Defs ( const G4HEVector p1,
const G4HEVector p2,
G4HEVector my,
G4HEVector mz 
)

Definition at line 758 of file G4HEVector.cc.

void G4HEVector::Defs1 ( const G4HEVector p1,
const G4HEVector p2 
)

Definition at line 726 of file G4HEVector.cc.

Here is the caller graph for this function:

G4double G4HEVector::Dot ( const G4HEVector p1,
const G4HEVector p2 
)

Definition at line 653 of file G4HEVector.cc.

Here is the caller graph for this function:

G4double G4HEVector::Dot4 ( const G4HEVector p1,
const G4HEVector p2 
)

Definition at line 608 of file G4HEVector.cc.

void G4HEVector::Exch ( G4HEVector p1)

Definition at line 717 of file G4HEVector.cc.

G4int G4HEVector::FillQuarkContent ( )

Definition at line 1140 of file G4HEVector.cc.

Here is the caller graph for this function:

G4int G4HEVector::getAntiQuarkContent ( G4int  flavor)

Definition at line 474 of file G4HEVector.cc.

Here is the call graph for this function:

G4int G4HEVector::getBaryonNumber ( ) const

Definition at line 441 of file G4HEVector.cc.

Here is the caller graph for this function:

G4double G4HEVector::getCharge ( ) const

Definition at line 373 of file G4HEVector.cc.

Here is the caller graph for this function:

G4int G4HEVector::getCode ( ) const

Definition at line 426 of file G4HEVector.cc.

G4double G4HEVector::getEnergy ( ) const

Definition at line 313 of file G4HEVector.cc.

Here is the caller graph for this function:

G4bool G4HEVector::getFlag ( )

Definition at line 414 of file G4HEVector.cc.

G4double G4HEVector::getKineticEnergy ( ) const

Definition at line 318 of file G4HEVector.cc.

Here is the caller graph for this function:

G4double G4HEVector::getMass ( ) const

Definition at line 361 of file G4HEVector.cc.

const G4ParticleMomentum G4HEVector::getMomentum ( ) const

Definition at line 157 of file G4HEVector.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4String G4HEVector::getName ( ) const

Definition at line 431 of file G4HEVector.cc.

Here is the caller graph for this function:

G4String G4HEVector::getParticleName ( G4int  code,
G4int  baryon 
)

Definition at line 71 of file G4HEVector.cc.

Here is the caller graph for this function:

G4int G4HEVector::getQuarkContent ( G4int  flavor)

Definition at line 452 of file G4HEVector.cc.

Here is the call graph for this function:

G4int G4HEVector::getSide ( )

Definition at line 400 of file G4HEVector.cc.

Here is the caller graph for this function:

G4int G4HEVector::getStrangenessNumber ( ) const

Definition at line 446 of file G4HEVector.cc.

Here is the caller graph for this function:

G4double G4HEVector::getTOF ( )

Definition at line 386 of file G4HEVector.cc.

G4double G4HEVector::getTotalMomentum ( ) const

Definition at line 166 of file G4HEVector.cc.

Here is the caller graph for this function:

G4String G4HEVector::getType ( ) const

Definition at line 436 of file G4HEVector.cc.

Here is the caller graph for this function:

G4double G4HEVector::Impu ( const G4HEVector p1,
const G4HEVector p2 
)

Definition at line 614 of file G4HEVector.cc.

Here is the call graph for this function:

G4double G4HEVector::Length ( ) const

Definition at line 711 of file G4HEVector.cc.

Here is the caller graph for this function:

void G4HEVector::Lor ( const G4HEVector p1,
const G4HEVector p2 
)

Definition at line 558 of file G4HEVector.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4HEVector::Norz ( const G4HEVector p)

Definition at line 689 of file G4HEVector.cc.

G4HEVector& G4HEVector::operator= ( const G4HEVector p)
inline

Definition at line 119 of file G4HEVector.hh.

void G4HEVector::Print ( G4int  L) const

Definition at line 1289 of file G4HEVector.cc.

Here is the caller graph for this function:

void G4HEVector::setCharge ( G4double  c)

Definition at line 367 of file G4HEVector.cc.

void G4HEVector::setCode ( G4int  c)

Definition at line 420 of file G4HEVector.cc.

void G4HEVector::setDefinition ( G4String  name)

Definition at line 812 of file G4HEVector.cc.

Here is the caller graph for this function:

void G4HEVector::setEnergy ( G4double  e)

Definition at line 226 of file G4HEVector.cc.

Here is the caller graph for this function:

void G4HEVector::setEnergyAndUpdate ( G4double  e)

Definition at line 233 of file G4HEVector.cc.

Here is the caller graph for this function:

void G4HEVector::setFlag ( G4bool  f)

Definition at line 407 of file G4HEVector.cc.

Here is the caller graph for this function:

void G4HEVector::setKineticEnergy ( G4double  ekin)

Definition at line 270 of file G4HEVector.cc.

Here is the caller graph for this function:

void G4HEVector::setKineticEnergyAndUpdate ( G4double  ekin)

Definition at line 277 of file G4HEVector.cc.

Here is the caller graph for this function:

void G4HEVector::setMass ( G4double  m)

Definition at line 324 of file G4HEVector.cc.

Here is the caller graph for this function:

void G4HEVector::setMassAndUpdate ( G4double  m)

Definition at line 331 of file G4HEVector.cc.

Here is the call graph for this function:

void G4HEVector::setMomentum ( const G4ParticleMomentum  mom)

Definition at line 117 of file G4HEVector.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4HEVector::setMomentum ( const G4ParticleMomentum mom)

Definition at line 126 of file G4HEVector.cc.

Here is the call graph for this function:

void G4HEVector::setMomentum ( G4double  x,
G4double  y,
G4double  z 
)

Definition at line 172 of file G4HEVector.cc.

void G4HEVector::setMomentum ( G4double  x,
G4double  y 
)

Definition at line 192 of file G4HEVector.cc.

void G4HEVector::setMomentum ( G4double  z)

Definition at line 210 of file G4HEVector.cc.

void G4HEVector::setMomentumAndUpdate ( const G4ParticleMomentum  mom)

Definition at line 135 of file G4HEVector.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4HEVector::setMomentumAndUpdate ( const G4ParticleMomentum mom)

Definition at line 146 of file G4HEVector.cc.

Here is the call graph for this function:

void G4HEVector::setMomentumAndUpdate ( G4double  x,
G4double  y,
G4double  z 
)

Definition at line 181 of file G4HEVector.cc.

Here is the call graph for this function:

void G4HEVector::setMomentumAndUpdate ( G4double  x,
G4double  y 
)

Definition at line 200 of file G4HEVector.cc.

Here is the call graph for this function:

void G4HEVector::setMomentumAndUpdate ( G4double  z)

Definition at line 217 of file G4HEVector.cc.

Here is the call graph for this function:

void G4HEVector::setSide ( G4int  s)

Definition at line 392 of file G4HEVector.cc.

Here is the caller graph for this function:

void G4HEVector::setTOF ( G4double  t)

Definition at line 379 of file G4HEVector.cc.

Here is the caller graph for this function:

void G4HEVector::setZero ( )

Definition at line 496 of file G4HEVector.cc.

Here is the caller graph for this function:

void G4HEVector::Smul ( const G4HEVector p,
G4double  h 
)

Definition at line 659 of file G4HEVector.cc.

Here is the caller graph for this function:

void G4HEVector::SmulAndUpdate ( const G4HEVector p,
G4double  h 
)

Definition at line 668 of file G4HEVector.cc.

Here is the caller graph for this function:

void G4HEVector::Sub ( const G4HEVector p1,
const G4HEVector p2 
)

Definition at line 537 of file G4HEVector.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4HEVector::Sub3 ( const G4HEVector p1,
const G4HEVector p2 
)

Definition at line 632 of file G4HEVector.cc.

Here is the caller graph for this function:

void G4HEVector::Trac ( const G4HEVector p1,
const G4HEVector mx,
const G4HEVector my,
const G4HEVector mz 
)

Definition at line 798 of file G4HEVector.cc.

Member Data Documentation

G4int G4HEVector::baryon
protected

Definition at line 65 of file G4HEVector.hh.

G4double G4HEVector::charge
protected

Definition at line 58 of file G4HEVector.hh.

G4int G4HEVector::code
protected

Definition at line 62 of file G4HEVector.hh.

G4double G4HEVector::energy
protected

Definition at line 55 of file G4HEVector.hh.

G4bool G4HEVector::flag
protected

Definition at line 61 of file G4HEVector.hh.

G4double G4HEVector::kineticEnergy
protected

Definition at line 56 of file G4HEVector.hh.

G4double G4HEVector::mass
protected

Definition at line 57 of file G4HEVector.hh.

G4String G4HEVector::particleName
protected

Definition at line 63 of file G4HEVector.hh.

G4String G4HEVector::particleType
protected

Definition at line 64 of file G4HEVector.hh.

G4double G4HEVector::px
protected

Definition at line 52 of file G4HEVector.hh.

G4double G4HEVector::py
protected

Definition at line 53 of file G4HEVector.hh.

G4double G4HEVector::pz
protected

Definition at line 54 of file G4HEVector.hh.

G4int G4HEVector::side
protected

Definition at line 60 of file G4HEVector.hh.

G4int G4HEVector::strangeness
protected

Definition at line 66 of file G4HEVector.hh.

G4int G4HEVector::theAntiQuarkContent[NumberOfQuarkFlavor]
protected

Definition at line 69 of file G4HEVector.hh.

G4int G4HEVector::theQuarkContent[NumberOfQuarkFlavor]
protected

Definition at line 68 of file G4HEVector.hh.

G4double G4HEVector::timeOfFlight
protected

Definition at line 59 of file G4HEVector.hh.


The documentation for this class was generated from the following files: