Geant4
10.00.p03
|
#include <G4FastStep.hh>
Protected Member Functions | |
G4FastStep (const G4FastStep &right) | |
G4FastStep & | operator= (const G4FastStep &right) |
Protected Member Functions inherited from G4VParticleChange | |
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 |
Private Member Functions | |
void | Initialize (const G4Track &) |
void | SetMomentumChange (G4double Px, G4double Py, G4double Pz) |
void | SetMomentumChange (const G4ThreeVector &Pfinal) |
Additional Inherited Members | |
Protected Attributes inherited from G4VParticleChange | |
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 Protected Attributes inherited from G4VParticleChange | |
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, MeV, ns, theEnergyChange, theMomentumChange, theProperTimeChange, and theTimeChange.
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().
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(), fFastTrack, G4FastTrack::GetInverseAffineTransformation(), G4DynamicParticle::GetPolarization(), G4DynamicParticle::SetMomentumDirection(), and G4DynamicParticle::SetPolarization().
|
virtual |
Reimplemented from G4VParticleChange.
Definition at line 435 of file G4FastStep.cc.
References G4VParticleChange::DumpInfo(), G4cout, G4endl, MeV, mm, ns, theEnergyChange, theMomentumChange, thePolarizationChange, thePositionChange, theProperTimeChange, and theTimeChange.
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, fFastTrack, G4Track::GetDynamicParticle(), G4Track::GetGlobalTime(), G4DynamicParticle::GetKineticEnergy(), G4DynamicParticle::GetMomentumDirection(), G4DynamicParticle::GetPolarization(), G4Track::GetPosition(), G4FastTrack::GetPrimaryTrack(), G4DynamicParticle::GetProperTime(), G4Track::GetWeight(), G4VParticleChange::Initialize(), theEnergyChange, theMomentumChange, thePolarizationChange, thePositionChange, theProperTimeChange, G4VParticleChange::theSteppingControlFlag, theTimeChange, and theWeightChange.
Referenced by G4FastSimulationManager::AtRestGetFastSimulationManagerTrigger(), and G4FastSimulationManager::PostStepGetFastSimulationManagerTrigger().
|
privatevirtual |
Reimplemented from G4VParticleChange.
Definition at line 286 of file G4FastStep.cc.
References FatalException, G4endl, and G4Exception().
void G4FastStep::KillPrimaryTrack | ( | ) |
Definition at line 87 of file G4FastStep.cc.
References fStopAndKill, G4VParticleChange::ProposeTrackStatus(), and SetPrimaryTrackFinalKineticEnergy().
Referenced by Par01PionShowerModel::DoIt(), Par01EMShowerModel::DoIt(), and GFlashShowerModel::ElectronDoIt().
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=(), theEnergyChange, G4VParticleChange::theListOfSecondaries, G4VParticleChange::theLocalEnergyDeposit, theMomentumChange, G4VParticleChange::theNumberOfSecondaries, thePolarizationChange, thePositionChange, G4VParticleChange::theSizeOftheListOfSecondaries, G4VParticleChange::theStatusChange, G4VParticleChange::theSteppingControlFlag, theTimeChange, G4VParticleChange::theTrueStepLength, and theWeightChange.
G4bool G4FastStep::operator== | ( | const G4FastStep & | right | ) | const |
Definition at line 348 of file G4FastStep.cc.
void G4FastStep::ProposePrimaryTrackFinalEventBiasingWeight | ( | G4double | ) |
void G4FastStep::ProposePrimaryTrackFinalKineticEnergy | ( | G4double | ) |
void G4FastStep::ProposePrimaryTrackFinalKineticEnergyAndDirection | ( | G4double | kineticEnergy, |
const G4ThreeVector & | direction, | ||
G4bool | localCoordinates = true |
||
) |
Definition at line 150 of file G4FastStep.cc.
References fFastTrack, G4FastTrack::GetInverseAffineTransformation(), SetMomentumChange(), and SetPrimaryTrackFinalKineticEnergy().
Referenced by SetPrimaryTrackFinalKineticEnergyAndDirection().
void G4FastStep::ProposePrimaryTrackFinalMomentumDirection | ( | const G4ThreeVector & | momentum, |
G4bool | localCoordinates = true |
||
) |
Definition at line 124 of file G4FastStep.cc.
References fFastTrack, G4FastTrack::GetInverseAffineTransformation(), and SetMomentumChange().
Referenced by SetPrimaryTrackFinalMomentum().
void G4FastStep::ProposePrimaryTrackFinalPolarization | ( | const G4ThreeVector & | polarization, |
G4bool | localCoordinates = true |
||
) |
Definition at line 178 of file G4FastStep.cc.
References fFastTrack, G4FastTrack::GetInverseAffineTransformation(), and thePolarizationChange.
Referenced by SetPrimaryTrackFinalPolarization().
void G4FastStep::ProposePrimaryTrackFinalPosition | ( | const G4ThreeVector & | position, |
G4bool | localCoordinates = true |
||
) |
Definition at line 98 of file G4FastStep.cc.
References fFastTrack, G4FastTrack::GetInverseAffineTransformation(), position, and thePositionChange.
Referenced by Par01PiModel::DoIt(), and SetPrimaryTrackFinalPosition().
void G4FastStep::ProposePrimaryTrackFinalProperTime | ( | G4double | ) |
void G4FastStep::ProposePrimaryTrackFinalTime | ( | G4double | ) |
void G4FastStep::ProposePrimaryTrackPathLength | ( | G4double | ) |
Referenced by Par01PionShowerModel::DoIt(), and Par01EMShowerModel::DoIt().
void G4FastStep::ProposeTotalEnergyDeposited | ( | G4double | anEnergyPart | ) |
Referenced by Par01PionShowerModel::DoIt(), and Par01EMShowerModel::DoIt().
Referenced by ProposePrimaryTrackFinalKineticEnergyAndDirection(), and ProposePrimaryTrackFinalMomentumDirection().
|
private |
void G4FastStep::SetNumberOfSecondaryTracks | ( | G4int | ) |
void G4FastStep::SetPrimaryTrackFinalEventBiasingWeight | ( | G4double | ) |
void G4FastStep::SetPrimaryTrackFinalKineticEnergy | ( | G4double | ) |
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().
void G4FastStep::SetPrimaryTrackFinalProperTime | ( | G4double | ) |
void G4FastStep::SetPrimaryTrackFinalTime | ( | G4double | ) |
void G4FastStep::SetPrimaryTrackPathLength | ( | G4double | ) |
void G4FastStep::SetTotalEnergyDeposited | ( | G4double | anEnergyPart | ) |
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(), theEnergyChange, theMomentumChange, thePolarizationChange, thePositionChange, theProperTimeChange, theTimeChange, theWeightChange, 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(), theEnergyChange, theMomentumChange, thePolarizationChange, thePositionChange, theProperTimeChange, theTimeChange, theWeightChange, and G4VParticleChange::UpdateStepInfo().
|
private |
Definition at line 366 of file G4FastStep.hh.
Referenced by CreateSecondaryTrack(), Initialize(), ProposePrimaryTrackFinalKineticEnergyAndDirection(), ProposePrimaryTrackFinalMomentumDirection(), ProposePrimaryTrackFinalPolarization(), and ProposePrimaryTrackFinalPosition().
|
private |
Definition at line 354 of file G4FastStep.hh.
Referenced by CheckIt(), DumpInfo(), Initialize(), operator=(), UpdateStepForAtRest(), and UpdateStepForPostStep().
|
private |
Definition at line 348 of file G4FastStep.hh.
Referenced by CheckIt(), DumpInfo(), Initialize(), operator=(), UpdateStepForAtRest(), and UpdateStepForPostStep().
|
private |
Definition at line 351 of file G4FastStep.hh.
Referenced by DumpInfo(), Initialize(), operator=(), ProposePrimaryTrackFinalPolarization(), UpdateStepForAtRest(), and UpdateStepForPostStep().
|
private |
Definition at line 357 of file G4FastStep.hh.
Referenced by DumpInfo(), Initialize(), operator=(), ProposePrimaryTrackFinalPosition(), UpdateStepForAtRest(), and UpdateStepForPostStep().
|
private |
Definition at line 363 of file G4FastStep.hh.
Referenced by CheckIt(), DumpInfo(), Initialize(), UpdateStepForAtRest(), and UpdateStepForPostStep().
|
private |
Definition at line 360 of file G4FastStep.hh.
Referenced by CheckIt(), DumpInfo(), Initialize(), operator=(), UpdateStepForAtRest(), and UpdateStepForPostStep().
|
private |
Definition at line 369 of file G4FastStep.hh.
Referenced by Initialize(), operator=(), UpdateStepForAtRest(), and UpdateStepForPostStep().