BDSParticle Class Reference

a particle definition More...

#include <BDSParticle.hh>


Public Member Functions

 BDSParticle ()
 BDSParticle (G4double x, G4double y, G4double z, G4double xp, G4double yp, G4double zp, G4double E, G4double t=0.0, G4double weight=1., G4int trackID=-1, G4int parentID=-1)
 BDSParticle (G4ThreeVector pos, G4ThreeVector mom, G4double E, G4double t=0.0, G4double weight=1., G4int trackID=-1, G4int parentID=-1)
G4double GetX () const
G4double GetY () const
G4double GetZ () const
G4double GetXp () const
G4double GetYp () const
G4double GetZp () const
G4double GetEnergy () const
G4double GetTime () const
G4double GetWeight () const
G4int GetTrackID () const
G4int GetParentID () const

Private Attributes

G4ThreeVector itsPosition
 position
G4ThreeVector itsMomentum
 momentum
G4double itsE
 energy
G4double itsT
 time since the particle was created
G4double itsWeight
 weight
G4int itsTrackID
 track ID
G4int itsParentID
 track ID of parent


Detailed Description

a particle definition

This class keeps information about a particle's parameters. It is mainly used for output

Author:
Jochem Snuverink <Jochem.Snuverink@rhul.ac.uk>

Definition at line 18 of file BDSParticle.hh.


The documentation for this class was generated from the following files:
Generated on 28 Jun 2015 for BDSIM by  doxygen 1.4.7