BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
BDSHitSamplerLink Class Reference

The information recorded from a particle impacting a link sampler. More...

#include <BDSHitSamplerLink.hh>

Inheritance diagram for BDSHitSamplerLink:
Inheritance graph
Collaboration diagram for BDSHitSamplerLink:
Collaboration graph

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)
 
- Public Member Functions inherited from BDSHitSampler
 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
 
- Data Fields inherited from BDSHitSampler
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.
 

Detailed Description

The information recorded from a particle impacting a link sampler.

Everything public for simplicity of the class.

Author
Laurie Nevay

Definition at line 38 of file BDSHitSamplerLink.hh.

Constructor & Destructor Documentation

◆ BDSHitSamplerLink()

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.

◆ ~BDSHitSamplerLink()

BDSHitSamplerLink::~BDSHitSamplerLink ( )
virtual

Note this should not be inline when we use a G4Allocator.

Definition at line 46 of file BDSHitSamplerLink.cc.

Member Function Documentation

◆ operator delete()

void BDSHitSamplerLink::operator delete ( void *  aHit)
inline

Definition at line 77 of file BDSHitSamplerLink.hh.

◆ operator new()

void * BDSHitSamplerLink::operator new ( size_t  )
inline

Definition at line 70 of file BDSHitSamplerLink.hh.

Field Documentation

◆ A

G4int BDSHitSamplerLink::A

Definition at line 61 of file BDSHitSamplerLink.hh.

◆ eventID

G4int BDSHitSamplerLink::eventID

Definition at line 62 of file BDSHitSamplerLink.hh.

◆ externalParentID

G4int BDSHitSamplerLink::externalParentID

Definition at line 64 of file BDSHitSamplerLink.hh.

◆ externalParticleID

G4int BDSHitSamplerLink::externalParticleID

Definition at line 63 of file BDSHitSamplerLink.hh.

◆ Z

G4int BDSHitSamplerLink::Z

Definition at line 60 of file BDSHitSamplerLink.hh.


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