|
BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
|
A set of particle coordinates including energy and weight. More...
#include <BDSParticleCoordsFull.hh>


Public Member Functions | |
| BDSParticleCoordsFull (G4double xIn, G4double yIn, G4double zIn, G4double xpIn, G4double ypIn, G4double zpIn, G4double tIn, G4double sIn, G4double totalEnergyIn, G4double weightIn) | |
| BDSParticleCoordsFull (const BDSParticleCoords &localIn, G4double sIn, G4double totalEnergyIn, G4double weightIn) | |
| virtual void | Print (std::ostream &out) const |
| Actual print out method so it can be called from a derived class. | |
Public Member Functions inherited from BDSParticleCoords | |
| BDSParticleCoords (G4double xIn, G4double yIn, G4double zIn, G4double xpIn, G4double ypIn, G4double zpIn, G4double tIn) | |
| BDSParticleCoords (G4ThreeVector pos, G4ThreeVector mom, G4double tIn) | |
| BDSParticleCoords | ApplyTransform (const G4Transform3D &transform) const |
| Apply a transform to the coordinates and return a copy of them transformed. | |
| BDSParticleCoords | ApplyOffset (const G4ThreeVector &offset) const |
| Apply an offset to the spatial coordinates only and return a copy. | |
| void | AddOffset (const G4ThreeVector &offset, G4double offsetT=0) |
| Apply an offset to the spatial and T coordinates only - assignment. | |
| G4ThreeVector | Position () const |
| G4ThreeVector | Momentum () const |
Data Fields | |
| G4double | s |
| TODO - remove this. Unused. S (global) is calculated from S0 + z. | |
| G4double | totalEnergy |
| G4double | weight |
Data Fields inherited from BDSParticleCoords | |
| G4double | x |
| G4double | y |
| G4double | z |
| G4double | xp |
| G4double | yp |
| G4double | zp |
| G4double | T |
Friends | |
| std::ostream & | operator<< (std::ostream &out, BDSParticleCoordsFull const &p) |
| Output stream. | |
A set of particle coordinates including energy and weight.
Definition at line 34 of file BDSParticleCoordsFull.hh.
| BDSParticleCoordsFull::BDSParticleCoordsFull | ( | ) |
Definition at line 24 of file BDSParticleCoordsFull.cc.
| BDSParticleCoordsFull::BDSParticleCoordsFull | ( | G4double | xIn, |
| G4double | yIn, | ||
| G4double | zIn, | ||
| G4double | xpIn, | ||
| G4double | ypIn, | ||
| G4double | zpIn, | ||
| G4double | tIn, | ||
| G4double | sIn, | ||
| G4double | totalEnergyIn, | ||
| G4double | weightIn | ||
| ) |
Definition at line 30 of file BDSParticleCoordsFull.cc.
| BDSParticleCoordsFull::BDSParticleCoordsFull | ( | const BDSParticleCoords & | localIn, |
| G4double | sIn, | ||
| G4double | totalEnergyIn, | ||
| G4double | weightIn | ||
| ) |
Definition at line 46 of file BDSParticleCoordsFull.cc.
|
inlinevirtual |
Definition at line 53 of file BDSParticleCoordsFull.hh.
|
virtual |
Actual print out method so it can be called from a derived class.
Reimplemented from BDSParticleCoords.
Definition at line 62 of file BDSParticleCoordsFull.cc.
References BDSParticleCoords::Print(), and s.

|
friend |
Output stream.
Definition at line 56 of file BDSParticleCoordsFull.cc.
| G4double BDSParticleCoordsFull::s |
TODO - remove this. Unused. S (global) is calculated from S0 + z.
Definition at line 61 of file BDSParticleCoordsFull.hh.
Referenced by BDSBunch::ApplyTransform(), BDSPrimaryGeneratorFileHEPMC::HepMC2G4(), Print(), and BDSPrimaryGeneratorFileSampler::ReadSingleEvent().
| G4double BDSParticleCoordsFull::totalEnergy |
Definition at line 62 of file BDSParticleCoordsFull.hh.
| G4double BDSParticleCoordsFull::weight |
Definition at line 63 of file BDSParticleCoordsFull.hh.