Geant4.10
|
#include <G4FastStep.hh>
Protected Member Functions | |
G4FastStep (const G4FastStep &right) | |
G4FastStep & | operator= (const G4FastStep &right) |
![]() | |
G4VParticleChange (const G4VParticleChange &right) | |
G4VParticleChange & | operator= (const G4VParticleChange &right) |
G4Step * | UpdateStepInfo (G4Step *Step) |
void | InitializeTrueStepLength (const G4Track &) |
void | InitializeLocalEnergyDeposit (const G4Track &) |
void | InitializeSteppingControl (const G4Track &) |
void | InitializeParentWeight (const G4Track &) |
void | InitializeParentGlobalTime (const G4Track &) |
void | InitializeStatusChange (const G4Track &) |
void | InitializeSecondaries (const G4Track &) |
void | InitializeStepInVolumeFlags (const G4Track &) |
G4bool | CheckSecondary (G4Track &) |
G4double | GetAccuracyForWarning () const |
G4double | GetAccuracyForException () const |
Additional Inherited Members | |
![]() | |
G4TrackFastVector * | theListOfSecondaries |
G4int | theNumberOfSecondaries |
G4int | theSizeOftheListOfSecondaries |
G4TrackStatus | theStatusChange |
G4SteppingControl | theSteppingControlFlag |
G4double | theLocalEnergyDeposit |
G4double | theNonIonizingEnergyDeposit |
G4double | theTrueStepLength |
G4bool | theFirstStepInVolume |
G4bool | theLastStepInVolume |
G4double | theParentWeight |
G4bool | isParentWeightProposed |
G4bool | fSetSecondaryWeightByProcess |
G4double | theParentGlobalTime |
G4int | verboseLevel |
G4bool | debugFlag |
![]() | |
static const G4double | accuracyForWarning = 1.0e-9 |
static const G4double | accuracyForException = 0.001 |
Definition at line 91 of file G4FastStep.hh.
G4FastStep::G4FastStep | ( | ) |
Definition at line 297 of file G4FastStep.cc.
References G4cerr, G4endl, and G4VParticleChange::verboseLevel.
|
virtual |
Definition at line 306 of file G4FastStep.cc.
References G4cerr, G4endl, and G4VParticleChange::verboseLevel.
|
protected |
Definition at line 315 of file G4FastStep.cc.
References right.
Reimplemented from G4VParticleChange.
Definition at line 479 of file G4FastStep.cc.
References G4VParticleChange::CheckIt(), DumpInfo(), FatalException, G4cout, G4endl, G4Exception(), G4VParticleChange::GetAccuracyForException(), G4VParticleChange::GetAccuracyForWarning(), G4Track::GetGlobalTime(), G4Track::GetKineticEnergy(), G4Track::GetProperTime(), JustWarning, CLHEP::Hep3Vector::mag(), CLHEP::Hep3Vector::mag2(), python.hepunit::MeV, and ns.
Referenced by UpdateStepForAtRest(), and UpdateStepForPostStep().
G4Track * G4FastStep::CreateSecondaryTrack | ( | const G4DynamicParticle & | dynamics, |
G4ThreeVector | polarization, | ||
G4ThreeVector | position, | ||
G4double | time, | ||
G4bool | localCoordinates = true |
||
) |
Definition at line 202 of file G4FastStep.cc.
References G4DynamicParticle::SetPolarization(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by Par01PiModel::DoIt().
G4Track * G4FastStep::CreateSecondaryTrack | ( | const G4DynamicParticle & | dynamics, |
G4ThreeVector | position, | ||
G4double | time, | ||
G4bool | localCoordinates = true |
||
) |
Definition at line 224 of file G4FastStep.cc.
References G4VParticleChange::AddSecondary(), G4FastTrack::GetInverseAffineTransformation(), G4DynamicParticle::GetPolarization(), G4DynamicParticle::SetMomentumDirection(), G4DynamicParticle::SetPolarization(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
|
virtual |
Reimplemented from G4VParticleChange.
Definition at line 435 of file G4FastStep.cc.
References G4VParticleChange::DumpInfo(), G4cout, G4endl, python.hepunit::MeV, python.hepunit::mm, ns, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by CheckIt().
void G4FastStep::ForceSteppingHitInvocation | ( | ) |
G4int G4FastStep::GetNumberOfSecondaryTracks | ( | ) |
G4double G4FastStep::GetTotalEnergyDeposited | ( | ) | const |
void G4FastStep::Initialize | ( | const G4FastTrack & | fastTrack | ) |
Definition at line 53 of file G4FastStep.cc.
References AvoidHitInvocation, G4Track::GetDynamicParticle(), G4Track::GetGlobalTime(), G4DynamicParticle::GetKineticEnergy(), G4DynamicParticle::GetMomentumDirection(), G4DynamicParticle::GetPolarization(), G4Track::GetPosition(), G4FastTrack::GetPrimaryTrack(), G4DynamicParticle::GetProperTime(), G4Track::GetWeight(), G4VParticleChange::Initialize(), and G4VParticleChange::theSteppingControlFlag.
Referenced by G4FastSimulationManager::AtRestGetFastSimulationManagerTrigger(), and G4FastSimulationManager::PostStepGetFastSimulationManagerTrigger().
void G4FastStep::KillPrimaryTrack | ( | ) |
Definition at line 87 of file G4FastStep.cc.
References fStopAndKill, G4VParticleChange::ProposeTrackStatus(), and SetPrimaryTrackFinalKineticEnergy().
Referenced by Par01PionShowerModel::DoIt(), and Par01EMShowerModel::DoIt().
G4bool G4FastStep::operator!= | ( | const G4FastStep & | right | ) | const |
Definition at line 353 of file G4FastStep.cc.
|
protected |
Definition at line 322 of file G4FastStep.cc.
References G4VParticleChange::operator=(), G4VParticleChange::theListOfSecondaries, G4VParticleChange::theLocalEnergyDeposit, G4VParticleChange::theNumberOfSecondaries, G4VParticleChange::theSizeOftheListOfSecondaries, G4VParticleChange::theStatusChange, G4VParticleChange::theSteppingControlFlag, and G4VParticleChange::theTrueStepLength.
G4bool G4FastStep::operator== | ( | const G4FastStep & | right | ) | const |
Definition at line 348 of file G4FastStep.cc.
void G4FastStep::ProposePrimaryTrackFinalKineticEnergyAndDirection | ( | G4double | kineticEnergy, |
const G4ThreeVector & | direction, | ||
G4bool | localCoordinates = true |
||
) |
Definition at line 150 of file G4FastStep.cc.
References G4FastTrack::GetInverseAffineTransformation(), SetPrimaryTrackFinalKineticEnergy(), and CLHEP::Hep3Vector::unit().
Referenced by SetPrimaryTrackFinalKineticEnergyAndDirection().
void G4FastStep::ProposePrimaryTrackFinalMomentumDirection | ( | const G4ThreeVector & | momentum, |
G4bool | localCoordinates = true |
||
) |
Definition at line 124 of file G4FastStep.cc.
References G4FastTrack::GetInverseAffineTransformation(), and CLHEP::Hep3Vector::unit().
Referenced by SetPrimaryTrackFinalMomentum().
void G4FastStep::ProposePrimaryTrackFinalPolarization | ( | const G4ThreeVector & | polarization, |
G4bool | localCoordinates = true |
||
) |
Definition at line 178 of file G4FastStep.cc.
References G4FastTrack::GetInverseAffineTransformation().
Referenced by SetPrimaryTrackFinalPolarization().
void G4FastStep::ProposePrimaryTrackFinalPosition | ( | const G4ThreeVector & | position, |
G4bool | localCoordinates = true |
||
) |
Definition at line 98 of file G4FastStep.cc.
References G4FastTrack::GetInverseAffineTransformation(), and position.
Referenced by Par01PiModel::DoIt(), and SetPrimaryTrackFinalPosition().
Referenced by Par01PionShowerModel::DoIt(), and Par01EMShowerModel::DoIt().
Referenced by Par01PionShowerModel::DoIt(), and Par01EMShowerModel::DoIt().
Referenced by Par01PiModel::DoIt().
Referenced by KillPrimaryTrack(), and ProposePrimaryTrackFinalKineticEnergyAndDirection().
void G4FastStep::SetPrimaryTrackFinalKineticEnergyAndDirection | ( | G4double | kineticEnergy, |
const G4ThreeVector & | direction, | ||
G4bool | localCoordinates = true |
||
) |
Definition at line 166 of file G4FastStep.cc.
References ProposePrimaryTrackFinalKineticEnergyAndDirection().
void G4FastStep::SetPrimaryTrackFinalMomentum | ( | const G4ThreeVector & | momentum, |
G4bool | localCoordinates = true |
||
) |
Definition at line 139 of file G4FastStep.cc.
References ProposePrimaryTrackFinalMomentumDirection().
void G4FastStep::SetPrimaryTrackFinalPolarization | ( | const G4ThreeVector & | polarization, |
G4bool | localCoordinates = true |
||
) |
Definition at line 192 of file G4FastStep.cc.
References ProposePrimaryTrackFinalPolarization().
void G4FastStep::SetPrimaryTrackFinalPosition | ( | const G4ThreeVector & | position, |
G4bool | localCoordinates = true |
||
) |
Definition at line 113 of file G4FastStep.cc.
References ProposePrimaryTrackFinalPosition().
Reimplemented from G4VParticleChange.
Definition at line 399 of file G4FastStep.cc.
References G4StepPoint::AddLocalTime(), CheckIt(), G4VParticleChange::debugFlag, G4Track::GetGlobalTime(), G4Step::GetPostStepPoint(), G4Step::GetTrack(), G4StepPoint::SetGlobalTime(), G4StepPoint::SetKineticEnergy(), G4StepPoint::SetMomentumDirection(), G4StepPoint::SetPolarization(), G4StepPoint::SetPosition(), G4StepPoint::SetProperTime(), G4StepPoint::SetWeight(), and G4VParticleChange::UpdateStepInfo().
Reimplemented from G4VParticleChange.
Definition at line 362 of file G4FastStep.cc.
References G4StepPoint::AddLocalTime(), CheckIt(), G4VParticleChange::debugFlag, G4Track::GetGlobalTime(), G4Step::GetPostStepPoint(), G4Step::GetTrack(), G4StepPoint::SetGlobalTime(), G4StepPoint::SetKineticEnergy(), G4StepPoint::SetMomentumDirection(), G4StepPoint::SetPolarization(), G4StepPoint::SetPosition(), G4StepPoint::SetProperTime(), G4StepPoint::SetWeight(), and G4VParticleChange::UpdateStepInfo().