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

A set of particle coordinates from an external interface. More...

#include <BDSParticleExternal.hh>

Collaboration diagram for BDSParticleExternal:
Collaboration graph

Public Member Functions

 BDSParticleExternal ()=delete
 Remove default constructor.
 
 BDSParticleExternal (BDSParticleDefinition *particleDefinitionIn, const BDSParticleCoordsFull &coordsIn, G4int externalParticleIDIn, G4int externalParentIDIn)
 
 BDSParticleExternal (const BDSParticleExternal &other)
 Define copy, move and move-assignment constructor as this class owns the particleDefinition. More...
 
 BDSParticleExternal (BDSParticleExternal &&other) noexcept
 Define copy, move and move-assignment constructor as this class owns the particleDefinition. More...
 
BDSParticleExternaloperator= (BDSParticleExternal &&other) noexcept
 Define copy, move and move-assignment constructor as this class owns the particleDefinition. More...
 

Data Fields

BDSParticleDefinitionparticleDefinition
 
BDSParticleCoordsFull coords
 
G4int externalParticleID
 
G4int externalParentID
 

Detailed Description

A set of particle coordinates from an external interface.

Author
Laurie Nevay

Definition at line 33 of file BDSParticleExternal.hh.

Constructor & Destructor Documentation

◆ BDSParticleExternal() [1/3]

BDSParticleExternal::BDSParticleExternal ( BDSParticleDefinition particleDefinitionIn,
const BDSParticleCoordsFull coordsIn,
G4int  externalParticleIDIn,
G4int  externalParentIDIn 
)

Definition at line 25 of file BDSParticleExternal.cc.

◆ BDSParticleExternal() [2/3]

BDSParticleExternal::BDSParticleExternal ( const BDSParticleExternal other)

Define copy, move and move-assignment constructor as this class owns the particleDefinition.

Definition at line 35 of file BDSParticleExternal.cc.

◆ BDSParticleExternal() [3/3]

BDSParticleExternal::BDSParticleExternal ( BDSParticleExternal &&  other)
noexcept

Define copy, move and move-assignment constructor as this class owns the particleDefinition.

Definition at line 42 of file BDSParticleExternal.cc.

◆ ~BDSParticleExternal()

BDSParticleExternal::~BDSParticleExternal ( )

Definition at line 66 of file BDSParticleExternal.cc.

Member Function Documentation

◆ operator=()

BDSParticleExternal & BDSParticleExternal::operator= ( BDSParticleExternal &&  other)
noexcept

Define copy, move and move-assignment constructor as this class owns the particleDefinition.

Definition at line 51 of file BDSParticleExternal.cc.

Field Documentation

◆ coords

BDSParticleCoordsFull BDSParticleExternal::coords

Definition at line 50 of file BDSParticleExternal.hh.

◆ externalParentID

G4int BDSParticleExternal::externalParentID

Definition at line 52 of file BDSParticleExternal.hh.

◆ externalParticleID

G4int BDSParticleExternal::externalParticleID

Definition at line 51 of file BDSParticleExternal.hh.

◆ particleDefinition

BDSParticleDefinition* BDSParticleExternal::particleDefinition

Definition at line 49 of file BDSParticleExternal.hh.


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