BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
Public Member Functions | Data Fields
BDSHitApertureImpact Class Reference

Snapshot of information for particle passing through a collimator. More...

#include <BDSHitApertureImpact.hh>

Inheritance diagram for BDSHitApertureImpact:
Inheritance graph
Collaboration diagram for BDSHitApertureImpact:
Collaboration graph

Public Member Functions

 BDSHitApertureImpact (G4double totalEnergyIn, G4double preStepKineticEnergyIn, G4double SIn, G4double xIn, G4double yIn, G4double pxIn, G4double pyIn, G4double weightIn, G4double globalTimeIn, G4int partIDIn, G4int trackIDIn, G4int parentIDIn, G4int turnsTakenIn, G4int beamlineIndexIn, G4int nElectronsIn)
 
virtual ~BDSHitApertureImpact ()
 Note this should not be inline when we use a G4Allocator. More...
 
void * operator new (size_t)
 
void operator delete (void *aHit)
 

Data Fields

G4double totalEnergy
 
G4double preStepKineticEnergy
 
G4double S
 
G4double x
 
G4double y
 
G4double xp
 
G4double yp
 
G4double weight
 
G4double globalTime
 
G4int partID
 
G4int trackID
 
G4int parentID
 
G4int turnsTaken
 
G4int beamlineIndex
 
G4int nElectrons
 

Detailed Description

Snapshot of information for particle passing through a collimator.

Everything public for simplicity of the class.

Author
Laurie Nevay

Definition at line 36 of file BDSHitApertureImpact.hh.

Constructor & Destructor Documentation

◆ BDSHitApertureImpact() [1/2]

BDSHitApertureImpact::BDSHitApertureImpact ( )

Definition at line 26 of file BDSHitApertureImpact.cc.

◆ BDSHitApertureImpact() [2/2]

BDSHitApertureImpact::BDSHitApertureImpact ( G4double  totalEnergyIn,
G4double  preStepKineticEnergyIn,
G4double  SIn,
G4double  xIn,
G4double  yIn,
G4double  pxIn,
G4double  pyIn,
G4double  weightIn,
G4double  globalTimeIn,
G4int  partIDIn,
G4int  trackIDIn,
G4int  parentIDIn,
G4int  turnsTakenIn,
G4int  beamlineIndexIn,
G4int  nElectronsIn 
)

Definition at line 44 of file BDSHitApertureImpact.cc.

◆ ~BDSHitApertureImpact()

BDSHitApertureImpact::~BDSHitApertureImpact ( )
virtual

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

Definition at line 76 of file BDSHitApertureImpact.cc.

Member Function Documentation

◆ operator delete()

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

Definition at line 89 of file BDSHitApertureImpact.hh.

◆ operator new()

void * BDSHitApertureImpact::operator new ( size_t  )
inline

Definition at line 82 of file BDSHitApertureImpact.hh.

Field Documentation

◆ beamlineIndex

G4int BDSHitApertureImpact::beamlineIndex

Definition at line 75 of file BDSHitApertureImpact.hh.

◆ globalTime

G4double BDSHitApertureImpact::globalTime

Definition at line 70 of file BDSHitApertureImpact.hh.

◆ nElectrons

G4int BDSHitApertureImpact::nElectrons

Definition at line 76 of file BDSHitApertureImpact.hh.

◆ parentID

G4int BDSHitApertureImpact::parentID

Definition at line 73 of file BDSHitApertureImpact.hh.

◆ partID

G4int BDSHitApertureImpact::partID

Definition at line 71 of file BDSHitApertureImpact.hh.

◆ preStepKineticEnergy

G4double BDSHitApertureImpact::preStepKineticEnergy

Definition at line 63 of file BDSHitApertureImpact.hh.

◆ S

G4double BDSHitApertureImpact::S

Definition at line 64 of file BDSHitApertureImpact.hh.

◆ totalEnergy

G4double BDSHitApertureImpact::totalEnergy

Definition at line 62 of file BDSHitApertureImpact.hh.

◆ trackID

G4int BDSHitApertureImpact::trackID

Definition at line 72 of file BDSHitApertureImpact.hh.

◆ turnsTaken

G4int BDSHitApertureImpact::turnsTaken

Definition at line 74 of file BDSHitApertureImpact.hh.

◆ weight

G4double BDSHitApertureImpact::weight

Definition at line 69 of file BDSHitApertureImpact.hh.

◆ x

G4double BDSHitApertureImpact::x

Definition at line 65 of file BDSHitApertureImpact.hh.

◆ xp

G4double BDSHitApertureImpact::xp

Definition at line 67 of file BDSHitApertureImpact.hh.

◆ y

G4double BDSHitApertureImpact::y

Definition at line 66 of file BDSHitApertureImpact.hh.

◆ yp

G4double BDSHitApertureImpact::yp

Definition at line 68 of file BDSHitApertureImpact.hh.


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