#include <QuirkWatcher.h>
|
| QuirkWatcher () |
|
virtual | ~QuirkWatcher () |
|
virtual G4double | PostStepGetPhysicalInteractionLength (const G4Track &track, G4double previousStepSize, G4ForceCondition *condition) |
|
virtual G4VParticleChange * | PostStepDoIt (const G4Track &track, const G4Step &) |
|
virtual G4double | AlongStepGetPhysicalInteractionLength (const G4Track &, G4double, G4double, G4double &, G4GPILSelection *) |
|
virtual G4double | AtRestGetPhysicalInteractionLength (const G4Track &, G4ForceCondition *) |
|
virtual G4VParticleChange * | AlongStepDoIt (const G4Track &, const G4Step &) |
|
virtual G4VParticleChange * | AtRestDoIt (const G4Track &, const G4Step &) |
|
Definition at line 11 of file QuirkWatcher.h.
◆ QuirkWatcher()
QuirkWatcher::QuirkWatcher |
( |
| ) |
|
Definition at line 14 of file QuirkWatcher.cxx.
14 : G4VProcess(G4String(
"QuirkWatcher")) {
15 enableAtRestDoIt =
false;
16 enableAlongStepDoIt =
false;
◆ ~QuirkWatcher()
QuirkWatcher::~QuirkWatcher |
( |
| ) |
|
|
virtual |
◆ AlongStepDoIt()
virtual G4VParticleChange* QuirkWatcher::AlongStepDoIt |
( |
const G4Track & |
, |
|
|
const G4Step & |
|
|
) |
| |
|
inlinevirtual |
◆ AlongStepGetPhysicalInteractionLength()
virtual G4double QuirkWatcher::AlongStepGetPhysicalInteractionLength |
( |
const G4Track & |
, |
|
|
G4double |
, |
|
|
G4double |
, |
|
|
G4double & |
, |
|
|
G4GPILSelection * |
|
|
) |
| |
|
inlinevirtual |
◆ AtRestDoIt()
virtual G4VParticleChange* QuirkWatcher::AtRestDoIt |
( |
const G4Track & |
, |
|
|
const G4Step & |
|
|
) |
| |
|
inlinevirtual |
◆ AtRestGetPhysicalInteractionLength()
virtual G4double QuirkWatcher::AtRestGetPhysicalInteractionLength |
( |
const G4Track & |
, |
|
|
G4ForceCondition * |
|
|
) |
| |
|
inlinevirtual |
◆ PostStepDoIt()
G4VParticleChange * QuirkWatcher::PostStepDoIt |
( |
const G4Track & |
track, |
|
|
const G4Step & |
|
|
) |
| |
|
virtual |
Definition at line 30 of file QuirkWatcher.cxx.
36 const_cast<G4ParticleDefinition*
>(
track.GetParticleDefinition());
37 Quirk* quirkDef =
dynamic_cast<Quirk*
>(part_nc);
39 G4Exception(
"QuirkWatcher::PostStepDoIt",
"NonQuirk", FatalErrorInArgument,
"QuirkWatcher run on non-quirk particle");
44 if (
track.GetCurrentStepNumber() > 1 && !
string.IsSourceInitialized()) {
46 string.GetReactionForce()->Clear();
48 "QuirkWatcher::PostStepDoIt",
49 "QuirkMissingPartner",
51 "QuirkWatcher: missing partner for quirk"
56 G4TrackStatus
stat =
track.GetTrackStatus();
57 if (
stat == fStopButAlive) {
60 if (
stat == fAlive ||
stat == fSuspend) {
61 G4bool passControl = !
string.HasNextStringVector();
64 if (
string.IsSourceAlive()) {
71 if (
stat == fStopAndKill ||
stat == fKillTrackAndSecondaries) {
◆ PostStepGetPhysicalInteractionLength()
G4double QuirkWatcher::PostStepGetPhysicalInteractionLength |
( |
const G4Track & |
track, |
|
|
G4double |
previousStepSize, |
|
|
G4ForceCondition * |
condition |
|
) |
| |
|
virtual |
◆ m_particleChange
G4VParticleChange QuirkWatcher::m_particleChange |
|
private |
The documentation for this class was generated from the following files: