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

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

#include <BDSHitSamplerCylinder.hh>

Inheritance diagram for BDSHitSamplerCylinder:
Inheritance graph
Collaboration diagram for BDSHitSamplerCylinder:
Collaboration graph

Public Member Functions

 BDSHitSamplerCylinder ()=delete
 No default constructor.
 
 BDSHitSamplerCylinder (G4int samplerIDIn, const BDSParticleCoordsCylindrical &coordsIn, G4double totalEnergyIn, G4double weightIn, G4double SIn, G4double momentumIn, G4double massIn, G4double chargeIn, G4double rigidityIn, G4int pdgIDIn, G4int parentIDIn, G4int trackIDIn, G4int turnsTakenIn, G4int beamlineIndexIn, G4int nElectronsIn=0)
 
virtual ~BDSHitSamplerCylinder ()
 Note this should not be inline when we use a G4Allocator.
 
void * operator new (size_t)
 
void operator delete (void *aHit)
 

Data Fields

G4int samplerID
 
BDSParticleCoordsCylindrical coords
 
G4double totalEnergy
 
G4double weight
 
G4double S
 
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 sampler.

Everything public for simplicity of the class.

Definition at line 33 of file BDSHitSamplerCylinder.hh.

Constructor & Destructor Documentation

◆ BDSHitSamplerCylinder()

BDSHitSamplerCylinder::BDSHitSamplerCylinder ( G4int  samplerIDIn,
const BDSParticleCoordsCylindrical &  coordsIn,
G4double  totalEnergyIn,
G4double  weightIn,
G4double  SIn,
G4double  momentumIn,
G4double  massIn,
G4double  chargeIn,
G4double  rigidityIn,
G4int  pdgIDIn,
G4int  parentIDIn,
G4int  trackIDIn,
G4int  turnsTakenIn,
G4int  beamlineIndexIn,
G4int  nElectronsIn = 0 
)

Definition at line 26 of file BDSHitSamplerCylinder.cc.

◆ ~BDSHitSamplerCylinder()

BDSHitSamplerCylinder::~BDSHitSamplerCylinder ( )
virtual

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

Definition at line 58 of file BDSHitSamplerCylinder.cc.

Member Function Documentation

◆ operator delete()

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

Definition at line 86 of file BDSHitSamplerCylinder.hh.

◆ operator new()

void * BDSHitSamplerCylinder::operator new ( size_t  )
inline

Definition at line 79 of file BDSHitSamplerCylinder.hh.

Field Documentation

◆ beamlineIndex

G4int BDSHitSamplerCylinder::beamlineIndex

Definition at line 72 of file BDSHitSamplerCylinder.hh.

◆ charge

G4double BDSHitSamplerCylinder::charge

Double as g4 uses charge as a double.

Definition at line 66 of file BDSHitSamplerCylinder.hh.

◆ coords

BDSParticleCoordsCylindrical BDSHitSamplerCylinder::coords

Definition at line 60 of file BDSHitSamplerCylinder.hh.

◆ mass

G4double BDSHitSamplerCylinder::mass

Definition at line 65 of file BDSHitSamplerCylinder.hh.

◆ momentum

G4double BDSHitSamplerCylinder::momentum

Definition at line 64 of file BDSHitSamplerCylinder.hh.

◆ nElectrons

G4int BDSHitSamplerCylinder::nElectrons

Can only get this at inspection time so include here.

Definition at line 73 of file BDSHitSamplerCylinder.hh.

◆ parentID

G4int BDSHitSamplerCylinder::parentID

Definition at line 69 of file BDSHitSamplerCylinder.hh.

◆ pdgID

G4int BDSHitSamplerCylinder::pdgID

Definition at line 68 of file BDSHitSamplerCylinder.hh.

◆ rigidity

G4double BDSHitSamplerCylinder::rigidity

Definition at line 67 of file BDSHitSamplerCylinder.hh.

◆ S

G4double BDSHitSamplerCylinder::S

Definition at line 63 of file BDSHitSamplerCylinder.hh.

◆ samplerID

G4int BDSHitSamplerCylinder::samplerID

Definition at line 59 of file BDSHitSamplerCylinder.hh.

◆ totalEnergy

G4double BDSHitSamplerCylinder::totalEnergy

Definition at line 61 of file BDSHitSamplerCylinder.hh.

◆ trackID

G4int BDSHitSamplerCylinder::trackID

Definition at line 70 of file BDSHitSamplerCylinder.hh.

◆ turnsTaken

G4int BDSHitSamplerCylinder::turnsTaken

Definition at line 71 of file BDSHitSamplerCylinder.hh.

◆ weight

G4double BDSHitSamplerCylinder::weight

Definition at line 62 of file BDSHitSamplerCylinder.hh.


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