|
BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
|
Snapshot of information for particle passing through a collimator. More...
#include <BDSHitCollimator.hh>


Public Member Functions | |
| BDSHitCollimator (const BDSBeamline *beamlineIn, G4int collimatorIndexIn, const G4ThreeVector &preStepPositionIn, const G4ThreeVector &preStepMomentumIn, G4double totalEnergyIn, BDSHitEnergyDeposition *energyDepositionHitIn) | |
| virtual | ~BDSHitCollimator () |
| Note this should not be inline when we use a G4Allocator. | |
| void * | operator new (size_t) |
| void | operator delete (void *aHit) |
Data Fields | |
| const BDSBeamline * | beamline |
| Which beam line the collimator is in. | |
| G4int | collimatorIndex |
| Index of collimator the hit is in. | |
| G4ThreeVector | preStepPosition |
| Local pre step point (z from centre of object). | |
| G4ThreeVector | preStepMomentum |
| Local pre step point momentum. | |
| G4double | totalEnergy |
| Total energy of particle. | |
| BDSHitEnergyDeposition * | energyDepositionHit |
Snapshot of information for particle passing through a collimator.
Everything public for simplicity of the class.
Definition at line 39 of file BDSHitCollimator.hh.
| BDSHitCollimator::BDSHitCollimator | ( | const BDSBeamline * | beamlineIn, |
| G4int | collimatorIndexIn, | ||
| const G4ThreeVector & | preStepPositionIn, | ||
| const G4ThreeVector & | preStepMomentumIn, | ||
| G4double | totalEnergyIn, | ||
| BDSHitEnergyDeposition * | energyDepositionHitIn | ||
| ) |
Definition at line 25 of file BDSHitCollimator.cc.
|
virtual |
Note this should not be inline when we use a G4Allocator.
Definition at line 39 of file BDSHitCollimator.cc.
|
inline |
Definition at line 77 of file BDSHitCollimator.hh.
|
inline |
Definition at line 70 of file BDSHitCollimator.hh.
| const BDSBeamline* BDSHitCollimator::beamline |
Which beam line the collimator is in.
Definition at line 56 of file BDSHitCollimator.hh.
| G4int BDSHitCollimator::collimatorIndex |
Index of collimator the hit is in.
Definition at line 57 of file BDSHitCollimator.hh.
Referenced by BDSOutput::FillCollimatorHits().
| BDSHitEnergyDeposition* BDSHitCollimator::energyDepositionHit |
Pointer to the externally created energy deposition hit for the step in the collimator this hit will correspond to.
Definition at line 64 of file BDSHitCollimator.hh.
| G4ThreeVector BDSHitCollimator::preStepMomentum |
Local pre step point momentum.
Definition at line 59 of file BDSHitCollimator.hh.
| G4ThreeVector BDSHitCollimator::preStepPosition |
Local pre step point (z from centre of object).
Definition at line 58 of file BDSHitCollimator.hh.
| G4double BDSHitCollimator::totalEnergy |
Total energy of particle.
Definition at line 60 of file BDSHitCollimator.hh.