BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
|
The information recorded from a particle impacting a link sampler. More...
#include <BDSHitSamplerLink.hh>
Public Member Functions | |
BDSHitSamplerLink ()=delete | |
No default constructor. | |
BDSHitSamplerLink (G4int samplerIDIn, const BDSParticleCoordsFull &coordsIn, G4double momentumIn, G4double massIn, G4int ZIn, G4int AIn, G4double chargeIn, G4int pdgIDIn, G4int parentIDIn, G4int trackIDIn, G4int nElectronsIn=0) | |
virtual | ~BDSHitSamplerLink () |
Note this should not be inline when we use a G4Allocator. | |
void * | operator new (size_t) |
void | operator delete (void *aHit) |
![]() | |
BDSHitSampler (G4int samplerIDIn, const BDSParticleCoordsFull &coordsIn, G4double momentumIn, G4double massIn, G4double chargeIn, G4double rigidityIn, G4int pdgIDIn, G4int parentIDIn, G4int trackIDIn, G4int turnsTakenIn, G4int beamlineIndexIn, G4int nElectronsIn=0) | |
virtual | ~BDSHitSampler () |
Note this should not be inline when we use a G4Allocator. | |
void * | operator new (size_t) |
void | operator delete (void *aHit) |
Data Fields | |
G4int | Z |
G4int | A |
G4int | eventID |
G4int | externalParticleID |
G4int | externalParentID |
![]() | |
G4int | samplerID |
BDSParticleCoordsFull | coords |
G4double | momentum |
G4double | mass |
G4double | charge |
Double as g4 uses charge as a double. | |
G4double | rigidity |
G4int | pdgID |
G4int | parentID |
G4int | trackID |
G4int | turnsTaken |
G4int | beamlineIndex |
G4int | nElectrons |
Can only get this at inspection time so include here. | |
The information recorded from a particle impacting a link sampler.
Everything public for simplicity of the class.
Definition at line 38 of file BDSHitSamplerLink.hh.
BDSHitSamplerLink::BDSHitSamplerLink | ( | G4int | samplerIDIn, |
const BDSParticleCoordsFull & | coordsIn, | ||
G4double | momentumIn, | ||
G4double | massIn, | ||
G4int | ZIn, | ||
G4int | AIn, | ||
G4double | chargeIn, | ||
G4int | pdgIDIn, | ||
G4int | parentIDIn, | ||
G4int | trackIDIn, | ||
G4int | nElectronsIn = 0 |
||
) |
Definition at line 26 of file BDSHitSamplerLink.cc.
|
virtual |
Note this should not be inline when we use a G4Allocator.
Definition at line 46 of file BDSHitSamplerLink.cc.
|
inline |
Definition at line 77 of file BDSHitSamplerLink.hh.
|
inline |
Definition at line 70 of file BDSHitSamplerLink.hh.
G4int BDSHitSamplerLink::A |
Definition at line 61 of file BDSHitSamplerLink.hh.
G4int BDSHitSamplerLink::eventID |
Definition at line 62 of file BDSHitSamplerLink.hh.
G4int BDSHitSamplerLink::externalParentID |
Definition at line 64 of file BDSHitSamplerLink.hh.
G4int BDSHitSamplerLink::externalParticleID |
Definition at line 63 of file BDSHitSamplerLink.hh.
G4int BDSHitSamplerLink::Z |
Definition at line 60 of file BDSHitSamplerLink.hh.