Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VITSteppingVerbose Class Referenceabstract

#include <G4VITSteppingVerbose.hh>

+ Inheritance diagram for G4VITSteppingVerbose:

Public Member Functions

 G4VITSteppingVerbose ()
 
 ~G4VITSteppingVerbose () override
 
virtual void TrackingStarted (G4Track *track)
 
virtual void TrackingEnded (G4Track *track)
 
virtual void DoItStarted ()=0
 
virtual void PreStepVerbose (G4Track *)=0
 
virtual void PostStepVerbose (G4Track *)=0
 
virtual void NewStep ()=0
 
void CopyState ()
 
virtual void StepInfoForLeadingTrack ()=0
 
virtual void AtRestDoItInvoked ()=0
 
virtual void AtRestDoItOneByOne ()=0
 
virtual void PostStepDoItAllDone ()=0
 
virtual void PostStepDoItOneByOne ()=0
 
virtual void AlongStepDoItAllDone ()=0
 
virtual void AlongStepDoItOneByOne ()=0
 
virtual void StepInfo ()=0
 
virtual void DPSLStarted ()=0
 
virtual void DPSLUserLimit ()=0
 
virtual void DPSLPostStep ()=0
 
virtual void DPSLAlongStep ()=0
 
virtual void VerboseTrack ()=0
 
virtual void VerboseParticleChange ()=0
 
void SetVerbose (int flag)
 
G4int GetVerbose ()
 
void SetNewValue (G4UIcommand *command, G4String newValue) override
 
G4String GetCurrentValue (G4UIcommand *command) override
 
void SetStepProcessor (const G4ITStepProcessor *stepProcessor)
 
void TrackBanner (G4Track *track, const G4String &message)
 

Protected Types

using G4SelectedAtRestDoItVector = std::vector<G4int>
 
using G4SelectedAlongStepDoItVector = std::vector<G4int>
 
using G4SelectedPostStepDoItVector = std::vector<G4int>
 

Protected Attributes

const G4ITStepProcessorfpStepProcessor
 
G4UIcmdWithAnIntegerfpVerboseUI
 
G4ITStepProcessorStatefpState
 
const ProcessGeneralInfofpProcessGeneralInfo
 
G4double PhysicalStep
 
G4StepStatus fStepStatus
 
const G4VParticleChangefParticleChange
 
const G4TrackfTrack
 
const G4TrackVectorfSecondary
 
const G4StepfStep
 
G4StepPointfPreStepPoint
 
G4StepPointfPostStepPoint
 
const G4VPhysicalVolumefCurrentVolume
 
const G4VITProcessfCurrentProcess
 
G4ProcessVectorfAtRestDoItVector
 
G4ProcessVectorfAlongStepDoItVector
 
G4ProcessVectorfPostStepDoItVector
 
G4ProcessVectorfAtRestGetPhysIntVector
 
G4ProcessVectorfAlongStepGetPhysIntVector
 
G4ProcessVectorfPostStepGetPhysIntVector
 
size_t MAXofAtRestLoops
 
size_t MAXofAlongStepLoops
 
size_t MAXofPostStepLoops
 
size_t fAtRestDoItProcTriggered
 
size_t fPostStepDoItProcTriggered
 
G4int fN2ndariesAtRestDoIt
 
G4int fN2ndariesAlongStepDoIt
 
G4int fN2ndariesPostStepDoIt
 
G4int fVerboseLevel
 
G4SelectedAtRestDoItVectorfSelectedAtRestDoItVector
 
G4SelectedPostStepDoItVectorfSelectedPostStepDoItVector
 
G4double fPreviousStepSize
 
G4TouchableHandle fTouchableHandle
 
G4double physIntLength
 
G4ForceCondition fCondition
 
G4GPILSelection fGPILSelection
 

Detailed Description

Definition at line 67 of file G4VITSteppingVerbose.hh.

Member Typedef Documentation

◆ G4SelectedAlongStepDoItVector

Definition at line 183 of file G4VITSteppingVerbose.hh.

◆ G4SelectedAtRestDoItVector

Definition at line 182 of file G4VITSteppingVerbose.hh.

◆ G4SelectedPostStepDoItVector

Definition at line 184 of file G4VITSteppingVerbose.hh.

Constructor & Destructor Documentation

◆ G4VITSteppingVerbose()

G4VITSteppingVerbose::G4VITSteppingVerbose ( )

Definition at line 38 of file G4VITSteppingVerbose.cc.

39{
40 fpStepProcessor = nullptr;
41 fpState = nullptr;
42 fpProcessGeneralInfo = nullptr;
43
44 PhysicalStep = -1;
46
47 fParticleChange = nullptr;
48 fTrack = nullptr;
49 fSecondary = nullptr;
50 fStep = nullptr;
51 fPreStepPoint = nullptr;
52 fPostStepPoint = nullptr;
53
54 fCurrentVolume = nullptr;
55 // fSensitive = fpStepProcessor->GetfSensitive();
56 fCurrentProcess = nullptr;
57
58 fAtRestDoItVector = nullptr;
59 fAlongStepDoItVector = nullptr;
60 fPostStepDoItVector = nullptr;
61
65
69
72
76
77 // fNavigator = fpStepProcessor->GetfNavigator();
78
79 fVerboseLevel = 0;
80 fpVerboseUI = new G4UIcmdWithAnInteger("/chem/tracking/verbose", this);
81
84
86
87 fTouchableHandle = nullptr;
88
89 // StepControlFlag = fpStepProcessor->GetStepControlFlag();
90
91 physIntLength = 0;
94
95}
@ InActivated
@ NotCandidateForSelection
@ fUndefined
G4ITStepProcessorState * fpState
const G4ITStepProcessor * fpStepProcessor
G4ProcessVector * fAtRestGetPhysIntVector
G4ProcessVector * fPostStepDoItVector
G4SelectedPostStepDoItVector * fSelectedPostStepDoItVector
G4UIcmdWithAnInteger * fpVerboseUI
G4ProcessVector * fPostStepGetPhysIntVector
G4ProcessVector * fAtRestDoItVector
G4TouchableHandle fTouchableHandle
const G4VPhysicalVolume * fCurrentVolume
const ProcessGeneralInfo * fpProcessGeneralInfo
G4ProcessVector * fAlongStepGetPhysIntVector
const G4VITProcess * fCurrentProcess
G4SelectedAtRestDoItVector * fSelectedAtRestDoItVector
const G4VParticleChange * fParticleChange
const G4TrackVector * fSecondary
G4ProcessVector * fAlongStepDoItVector

◆ ~G4VITSteppingVerbose()

G4VITSteppingVerbose::~G4VITSteppingVerbose ( )
override

Definition at line 99 of file G4VITSteppingVerbose.cc.

100{
101 delete fpVerboseUI;
102}

Member Function Documentation

◆ AlongStepDoItAllDone()

virtual void G4VITSteppingVerbose::AlongStepDoItAllDone ( )
pure virtual

Implemented in G4ITSteppingVerbose.

Referenced by G4ITStepProcessor::DoStepping().

◆ AlongStepDoItOneByOne()

virtual void G4VITSteppingVerbose::AlongStepDoItOneByOne ( )
pure virtual

◆ AtRestDoItInvoked()

virtual void G4VITSteppingVerbose::AtRestDoItInvoked ( )
pure virtual

Implemented in G4ITSteppingVerbose.

Referenced by G4ITStepProcessor::DoStepping().

◆ AtRestDoItOneByOne()

virtual void G4VITSteppingVerbose::AtRestDoItOneByOne ( )
pure virtual

Implemented in G4ITSteppingVerbose.

◆ CopyState()

void G4VITSteppingVerbose::CopyState ( )

Definition at line 106 of file G4VITSteppingVerbose.cc.

107{
108
109 if(fpState != nullptr) *fpState = *(fpStepProcessor->GetProcessorState());
110 else
111 {
113 }
114
116
119
126
128// fSensitive = fpStepProcessor->GetfSensitive();
130
134
139
143
146
150
151// fNavigator = fpStepProcessor->GetfNavigator();
152
155
157
159
160// StepControlFlag = fpStepProcessor->GetStepControlFlag();
161
165}
G4TouchableHandle fTouchableHandle
G4SelectedPostStepDoItVector fSelectedPostStepDoItVector
G4SelectedAtRestDoItVector fSelectedAtRestDoItVector
G4int GetN2ndariesAtRestDoIt() const
std::size_t GetAtRestDoItProcTriggered() const
G4int GetN2ndariesAlongStepDoIt() const
const ProcessGeneralInfo * GetCurrentProcessInfo() const
G4GPILSelection GetGPILSelection() const
G4ForceCondition GetCondition() const
G4int GetN2ndariesPostStepDoIt() const
G4TrackVector * GetSecondaries() const
G4double GetPhysIntLength() const
const G4ITStepProcessorState * GetProcessorState() const
const G4VPhysicalVolume * GetCurrentVolume() const
const G4VParticleChange * GetParticleChange() const
const G4VITProcess * GetCurrentProcess() const
std::size_t GetPostStepDoItProcTriggered() const
G4StepPoint * GetPreStepPoint() const
G4StepPoint * GetPostStepPoint() const
G4ProcessVector * fpPostStepDoItVector
G4ProcessVector * fpPostStepGetPhysIntVector
std::size_t MAXofAlongStepLoops
G4ProcessVector * fpAlongStepGetPhysIntVector
G4ProcessVector * fpAlongStepDoItVector
G4ProcessVector * fpAtRestGetPhysIntVector
G4ProcessVector * fpAtRestDoItVector

Referenced by G4ITSteppingVerbose::AlongStepDoItAllDone(), G4ITSteppingVerbose::AlongStepDoItOneByOne(), G4ITSteppingVerbose::AtRestDoItInvoked(), G4ITSteppingVerbose::AtRestDoItOneByOne(), G4ITSteppingVerbose::DPSLAlongStep(), G4ITSteppingVerbose::DPSLPostStep(), G4ITSteppingVerbose::DPSLStarted(), G4ITSteppingVerbose::DPSLUserLimit(), G4ITSteppingVerbose::PostStepDoItAllDone(), G4ITSteppingVerbose::PostStepDoItOneByOne(), G4ITSteppingVerbose::StepInfo(), G4ITSteppingVerbose::StepInfoForLeadingTrack(), and G4ITSteppingVerbose::VerboseTrack().

◆ DoItStarted()

virtual void G4VITSteppingVerbose::DoItStarted ( )
pure virtual

Implemented in G4ITSteppingVerbose.

Referenced by G4ITStepProcessor::DoIt().

◆ DPSLAlongStep()

virtual void G4VITSteppingVerbose::DPSLAlongStep ( )
pure virtual

◆ DPSLPostStep()

virtual void G4VITSteppingVerbose::DPSLPostStep ( )
pure virtual

◆ DPSLStarted()

virtual void G4VITSteppingVerbose::DPSLStarted ( )
pure virtual

◆ DPSLUserLimit()

virtual void G4VITSteppingVerbose::DPSLUserLimit ( )
pure virtual

Implemented in G4ITSteppingVerbose.

◆ GetCurrentValue()

G4String G4VITSteppingVerbose::GetCurrentValue ( G4UIcommand * command)
overridevirtual

Reimplemented from G4UImessenger.

Definition at line 179 of file G4VITSteppingVerbose.cc.

180{
181 return command->ConvertToString(fVerboseLevel);
182}
static G4String ConvertToString(G4bool boolVal)

◆ GetVerbose()

G4int G4VITSteppingVerbose::GetVerbose ( )
inline

Definition at line 112 of file G4VITSteppingVerbose.hh.

113 {
114 return fVerboseLevel;
115 }

Referenced by G4ITTrackingInteractivity::GetSteppingVerboseLevel().

◆ NewStep()

virtual void G4VITSteppingVerbose::NewStep ( )
pure virtual

Implemented in G4ITSteppingVerbose.

Referenced by G4ITStepProcessor::DoStepping().

◆ PostStepDoItAllDone()

virtual void G4VITSteppingVerbose::PostStepDoItAllDone ( )
pure virtual

Implemented in G4ITSteppingVerbose.

Referenced by G4ITStepProcessor::DoStepping().

◆ PostStepDoItOneByOne()

virtual void G4VITSteppingVerbose::PostStepDoItOneByOne ( )
pure virtual

Implemented in G4ITSteppingVerbose.

Referenced by G4ITStepProcessor::InvokePSDIP().

◆ PostStepVerbose()

virtual void G4VITSteppingVerbose::PostStepVerbose ( G4Track * )
pure virtual

Implemented in G4ITSteppingVerbose.

Referenced by G4ITStepProcessor::DoStepping().

◆ PreStepVerbose()

virtual void G4VITSteppingVerbose::PreStepVerbose ( G4Track * )
pure virtual

Implemented in G4ITSteppingVerbose.

Referenced by G4ITStepProcessor::DoStepping().

◆ SetNewValue()

void G4VITSteppingVerbose::SetNewValue ( G4UIcommand * command,
G4String newValue )
overridevirtual

Reimplemented from G4UImessenger.

Definition at line 169 of file G4VITSteppingVerbose.cc.

170{
171 if(command == fpVerboseUI)
172 {
174 }
175}
static G4int GetNewIntValue(const char *paramString)

◆ SetStepProcessor()

void G4VITSteppingVerbose::SetStepProcessor ( const G4ITStepProcessor * stepProcessor)
inline

Definition at line 127 of file G4VITSteppingVerbose.hh.

128 {
129 this->fpStepProcessor = stepProcessor;
130 }

Referenced by G4ITStepProcessor::Initialize().

◆ SetVerbose()

void G4VITSteppingVerbose::SetVerbose ( int flag)
inline

Definition at line 107 of file G4VITSteppingVerbose.hh.

108 {
109 fVerboseLevel = flag;
110 }

Referenced by G4ITTrackingInteractivity::SetSteppingVerboseLevel().

◆ StepInfo()

virtual void G4VITSteppingVerbose::StepInfo ( )
pure virtual

Implemented in G4ITSteppingVerbose.

◆ StepInfoForLeadingTrack()

virtual void G4VITSteppingVerbose::StepInfoForLeadingTrack ( )
pure virtual

Implemented in G4ITSteppingVerbose.

Referenced by G4ITStepProcessor::DoStepping().

◆ TrackBanner()

void G4VITSteppingVerbose::TrackBanner ( G4Track * track,
const G4String & message )

Definition at line 219 of file G4VITSteppingVerbose.cc.

220{
221 G4cout << G4endl;
222 G4cout << "*******************************************************"
223 << "**************************************************"
224 << G4endl;
225 if(!message.empty())
226 {
227 G4cout << message;
228 }
229 G4cout << " * G4Track Information: "
230 << " Particle : " << track->GetDefinition()->GetParticleName()
231 << ","
232 << " Track ID : " << track->GetTrackID()
233 << ","
234 << " Parent ID : " << track->GetParentID()
235 << G4endl;
236 G4cout << "*******************************************************"
237 << "**************************************************"
238 << G4endl;
239 G4cout << G4endl;
240}
#define G4endl
Definition G4ios.hh:67
G4GLOB_DLL std::ostream G4cout
const G4String & GetParticleName() const
G4int GetTrackID() const
G4ParticleDefinition * GetDefinition() const
G4int GetParentID() const

Referenced by TrackingEnded(), and TrackingStarted().

◆ TrackingEnded()

void G4VITSteppingVerbose::TrackingEnded ( G4Track * track)
virtual

Reimplemented in G4ITSteppingVerbose.

Definition at line 203 of file G4VITSteppingVerbose.cc.

208{
209#ifdef G4VERBOSE
210 if(fVerboseLevel > 0)
211 {
212 TrackBanner(track, "G4ITTrackingManager::EndTracking : ");
213 }
214#endif
215}
void TrackBanner(G4Track *track, const G4String &message)

Referenced by G4ITTrackingManager::EndTracking(), and G4ITTrackingManager::EndTrackingWOKill().

◆ TrackingStarted()

void G4VITSteppingVerbose::TrackingStarted ( G4Track * track)
virtual

Reimplemented in G4ITSteppingVerbose.

Definition at line 186 of file G4VITSteppingVerbose.cc.

191{
192#ifdef G4VERBOSE
193 if(fVerboseLevel > 0)
194 {
195 TrackBanner(track, "G4ITTrackingManager::StartTracking : ");
196 }
197#endif
198
199}

Referenced by G4ITTrackingManager::StartTracking().

◆ VerboseParticleChange()

virtual void G4VITSteppingVerbose::VerboseParticleChange ( )
pure virtual

Implemented in G4ITSteppingVerbose.

◆ VerboseTrack()

virtual void G4VITSteppingVerbose::VerboseTrack ( )
pure virtual

Implemented in G4ITSteppingVerbose.

Member Data Documentation

◆ fAlongStepDoItVector

G4ProcessVector* G4VITSteppingVerbose::fAlongStepDoItVector
protected

Definition at line 158 of file G4VITSteppingVerbose.hh.

Referenced by CopyState(), and G4VITSteppingVerbose().

◆ fAlongStepGetPhysIntVector

G4ProcessVector* G4VITSteppingVerbose::fAlongStepGetPhysIntVector
protected

Definition at line 162 of file G4VITSteppingVerbose.hh.

Referenced by CopyState(), and G4VITSteppingVerbose().

◆ fAtRestDoItProcTriggered

size_t G4VITSteppingVerbose::fAtRestDoItProcTriggered
protected

Definition at line 169 of file G4VITSteppingVerbose.hh.

Referenced by CopyState(), and G4VITSteppingVerbose().

◆ fAtRestDoItVector

G4ProcessVector* G4VITSteppingVerbose::fAtRestDoItVector
protected

Definition at line 157 of file G4VITSteppingVerbose.hh.

Referenced by CopyState(), and G4VITSteppingVerbose().

◆ fAtRestGetPhysIntVector

G4ProcessVector* G4VITSteppingVerbose::fAtRestGetPhysIntVector
protected

Definition at line 161 of file G4VITSteppingVerbose.hh.

Referenced by CopyState(), and G4VITSteppingVerbose().

◆ fCondition

◆ fCurrentProcess

◆ fCurrentVolume

const G4VPhysicalVolume* G4VITSteppingVerbose::fCurrentVolume
protected

Definition at line 151 of file G4VITSteppingVerbose.hh.

Referenced by CopyState(), and G4VITSteppingVerbose().

◆ fGPILSelection

G4GPILSelection G4VITSteppingVerbose::fGPILSelection
protected

◆ fN2ndariesAlongStepDoIt

◆ fN2ndariesAtRestDoIt

◆ fN2ndariesPostStepDoIt

◆ fParticleChange

const G4VParticleChange* G4VITSteppingVerbose::fParticleChange
protected

◆ fPostStepDoItProcTriggered

size_t G4VITSteppingVerbose::fPostStepDoItProcTriggered
protected

Definition at line 170 of file G4VITSteppingVerbose.hh.

Referenced by CopyState(), and G4VITSteppingVerbose().

◆ fPostStepDoItVector

G4ProcessVector* G4VITSteppingVerbose::fPostStepDoItVector
protected

Definition at line 159 of file G4VITSteppingVerbose.hh.

Referenced by CopyState(), and G4VITSteppingVerbose().

◆ fPostStepGetPhysIntVector

G4ProcessVector* G4VITSteppingVerbose::fPostStepGetPhysIntVector
protected

Definition at line 163 of file G4VITSteppingVerbose.hh.

Referenced by CopyState(), and G4VITSteppingVerbose().

◆ fPostStepPoint

G4StepPoint* G4VITSteppingVerbose::fPostStepPoint
protected

Definition at line 149 of file G4VITSteppingVerbose.hh.

Referenced by CopyState(), and G4VITSteppingVerbose().

◆ fpProcessGeneralInfo

const ProcessGeneralInfo* G4VITSteppingVerbose::fpProcessGeneralInfo
protected

Definition at line 139 of file G4VITSteppingVerbose.hh.

Referenced by CopyState(), and G4VITSteppingVerbose().

◆ fPreStepPoint

G4StepPoint* G4VITSteppingVerbose::fPreStepPoint
protected

Definition at line 148 of file G4VITSteppingVerbose.hh.

Referenced by CopyState(), and G4VITSteppingVerbose().

◆ fPreviousStepSize

G4double G4VITSteppingVerbose::fPreviousStepSize
protected

Definition at line 188 of file G4VITSteppingVerbose.hh.

Referenced by CopyState(), and G4VITSteppingVerbose().

◆ fpState

G4ITStepProcessorState* G4VITSteppingVerbose::fpState
protected

Definition at line 138 of file G4VITSteppingVerbose.hh.

Referenced by CopyState(), and G4VITSteppingVerbose().

◆ fpStepProcessor

const G4ITStepProcessor* G4VITSteppingVerbose::fpStepProcessor
protected

Definition at line 135 of file G4VITSteppingVerbose.hh.

Referenced by CopyState(), G4VITSteppingVerbose(), and SetStepProcessor().

◆ fpVerboseUI

G4UIcmdWithAnInteger* G4VITSteppingVerbose::fpVerboseUI
protected

◆ fSecondary

◆ fSelectedAtRestDoItVector

G4SelectedAtRestDoItVector* G4VITSteppingVerbose::fSelectedAtRestDoItVector
protected

◆ fSelectedPostStepDoItVector

G4SelectedPostStepDoItVector* G4VITSteppingVerbose::fSelectedPostStepDoItVector
protected

◆ fStep

◆ fStepStatus

G4StepStatus G4VITSteppingVerbose::fStepStatus
protected

◆ fTouchableHandle

G4TouchableHandle G4VITSteppingVerbose::fTouchableHandle
protected

Definition at line 190 of file G4VITSteppingVerbose.hh.

Referenced by CopyState(), and G4VITSteppingVerbose().

◆ fTrack

◆ fVerboseLevel

◆ MAXofAlongStepLoops

size_t G4VITSteppingVerbose::MAXofAlongStepLoops
protected

◆ MAXofAtRestLoops

size_t G4VITSteppingVerbose::MAXofAtRestLoops
protected

◆ MAXofPostStepLoops

size_t G4VITSteppingVerbose::MAXofPostStepLoops
protected

◆ PhysicalStep

G4double G4VITSteppingVerbose::PhysicalStep
protected

Definition at line 141 of file G4VITSteppingVerbose.hh.

Referenced by CopyState(), and G4VITSteppingVerbose().

◆ physIntLength


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