BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
|
A simple class to represent the positions of a step. More...
#include <BDSStep.hh>
Public Member Functions | |
BDSStep (G4ThreeVector preStepPointIn, G4ThreeVector postStepPointIn, G4VPhysicalVolume *volumeForTransformIn=nullptr) | |
BDSStep | rotateZ (const G4double &angle) |
Mirror function to G4ThreeVector::rotateZ(). Returns copy that's rotated. | |
G4ThreeVector | PreStepPoint () const |
Accessor. | |
G4ThreeVector | PostStepPoint () const |
Accessor. | |
G4VPhysicalVolume * | VolumeForTransform () const |
Accessor. | |
void | SetPreStepPoint (G4ThreeVector preIn) |
Setter. | |
void | SetPostStepPoint (G4ThreeVector postIn) |
Setter. | |
void | SetVolumeForTransform (G4VPhysicalVolume *volIn) |
Setter. | |
Private Attributes | |
G4ThreeVector | preStepPoint |
G4ThreeVector | postStepPoint |
G4VPhysicalVolume * | volumeForTransform |
The volume that was used for the transform. | |
A simple class to represent the positions of a step.
Definition at line 32 of file BDSStep.hh.
BDSStep::BDSStep | ( | ) |
Definition at line 22 of file BDSStep.cc.
BDSStep::BDSStep | ( | G4ThreeVector | preStepPointIn, |
G4ThreeVector | postStepPointIn, | ||
G4VPhysicalVolume * | volumeForTransformIn = nullptr |
||
) |
Definition at line 28 of file BDSStep.cc.
BDSStep::~BDSStep | ( | ) |
Definition at line 36 of file BDSStep.cc.
|
inline |
Accessor.
Definition at line 43 of file BDSStep.hh.
Referenced by BDSIntegratorDipoleRodrigues::AdvanceHelix(), BDSIntegratorDecapole::AdvanceHelix(), BDSIntegratorOctupole::AdvanceHelix(), BDSIntegratorSextupole::AdvanceHelix(), BDSIntegratorDipoleFringe::BaseStepper(), BDSTrajectoryPoint::BDSTrajectoryPoint(), BDSIntegratorMag::ConvertToGlobal(), BDSAuxiliaryNavigator::GlobalToCurvilinear(), BDSIntegratorDipoleFringe::MultipoleStep(), BDSSDApertureImpacts::ProcessHits(), BDSIntegratorDipoleQuadrupole::Stepper(), BDSIntegratorQuadrupole::Stepper(), BDSIntegratorSolenoid::Stepper(), BDSIntegratorKickerThin::Stepper(), and BDSIntegratorMultipoleThin::Stepper().
|
inline |
Accessor.
Definition at line 42 of file BDSStep.hh.
Referenced by BDSIntegratorDipoleRodrigues::AdvanceHelix(), BDSIntegratorDecapole::AdvanceHelix(), BDSIntegratorOctupole::AdvanceHelix(), BDSIntegratorSextupole::AdvanceHelix(), BDSIntegratorDipoleFringe::BaseStepper(), BDSTrajectoryPoint::BDSTrajectoryPoint(), BDSIntegratorMag::ConvertToGlobal(), BDSAuxiliaryNavigator::GlobalToCurvilinear(), BDSIntegratorDipoleFringe::MultipoleStep(), BDSSDApertureImpacts::ProcessHits(), BDSSDEnergyDeposition::ProcessHits(), BDSSDCollimator::ProcessHitsOrdered(), BDSSDEnergyDeposition::ProcessHitsTrack(), BDSIntegratorDipoleQuadrupole::Stepper(), BDSIntegratorQuadrupole::Stepper(), BDSIntegratorSolenoid::Stepper(), BDSIntegratorKickerThin::Stepper(), and BDSIntegratorMultipoleThin::Stepper().
BDSStep BDSStep::rotateZ | ( | const G4double & | angle | ) |
Mirror function to G4ThreeVector::rotateZ(). Returns copy that's rotated.
Definition at line 39 of file BDSStep.cc.
References volumeForTransform.
Referenced by BDSIntegratorDipoleFringe::BaseStepper(), and BDSAuxiliaryNavigator::GlobalToCurvilinear().
|
inline |
Setter.
Definition at line 49 of file BDSStep.hh.
|
inline |
Setter.
Definition at line 48 of file BDSStep.hh.
|
inline |
|
inline |
Accessor.
Definition at line 44 of file BDSStep.hh.
References volumeForTransform.
Referenced by BDSTrajectoryPoint::BDSTrajectoryPoint(), BDSSDApertureImpacts::ProcessHits(), BDSSDEnergyDeposition::ProcessHits(), BDSSDCollimator::ProcessHitsOrdered(), and BDSSDEnergyDeposition::ProcessHitsTrack().
|
private |
Definition at line 58 of file BDSStep.hh.
|
private |
Definition at line 57 of file BDSStep.hh.
|
private |
The volume that was used for the transform.
Definition at line 59 of file BDSStep.hh.
Referenced by rotateZ(), SetVolumeForTransform(), and VolumeForTransform().