Geant4  10.02.p03
G4VITSteppingVerbose Class Referenceabstract

#include <G4VITSteppingVerbose.hh>

Inheritance diagram for G4VITSteppingVerbose:
Collaboration diagram for G4VITSteppingVerbose:

Public Member Functions

 G4VITSteppingVerbose ()
 
virtual ~G4VITSteppingVerbose ()
 
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 ()
 
virtual void SetNewValue (G4UIcommand *command, G4String newValue)
 
virtual G4String GetCurrentValue (G4UIcommand *command)
 
void SetStepProcessor (const G4ITStepProcessor *stepProcessor)
 
void TrackBanner (G4Track *track, const G4String &message)
 

Protected Types

typedef std::vector< G4intG4SelectedAtRestDoItVector
 
typedef std::vector< G4intG4SelectedAlongStepDoItVector
 
typedef std::vector< G4intG4SelectedPostStepDoItVector
 

Protected Attributes

const G4ITStepProcessorfpStepProcessor
 
G4UIcmdWithAnIntegerfpVerboseUI
 
G4ITStepProcessorStatefpState
 
const ProcessGeneralInfofpProcessGeneralInfo
 
G4double PhysicalStep
 
G4StepStatus fStepStatus
 
const G4VParticleChange * fParticleChange
 
const G4Track * fTrack
 
const G4TrackVector * fSecondary
 
const G4Step * fStep
 
G4StepPoint * fPreStepPoint
 
G4StepPoint * fPostStepPoint
 
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
 

Additional Inherited Members

- Private Member Functions inherited from G4UImessenger
 G4UImessenger ()
 
 G4UImessenger (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true)
 
virtual ~G4UImessenger ()
 
G4bool operator== (const G4UImessenger &messenger) const
 
G4bool CommandsShouldBeInMaster () const
 
G4String ItoS (G4int i)
 
G4String DtoS (G4double a)
 
G4String BtoS (G4bool b)
 
G4int StoI (G4String s)
 
G4double StoD (G4String s)
 
G4bool StoB (G4String s)
 
void AddUIcommand (G4UIcommand *newCommand)
 
void CreateDirectory (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true)
 
template<typename T >
T * CreateCommand (const G4String &cname, const G4String &dsc)
 
- Private Attributes inherited from G4UImessenger
G4UIdirectorybaseDir
 
G4String baseDirName
 
G4bool commandsShouldBeInMaster
 

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 = 0;
41  fpState = 0;
43 
44  PhysicalStep = -1;
45  fStepStatus = fUndefined;
46 
47  fParticleChange = 0;
48  fTrack = 0;
49  fSecondary = 0;
50  fStep = 0;
51  fPreStepPoint = 0;
52  fPostStepPoint = 0;
53 
54  fCurrentVolume = 0;
55  // fSensitive = fpStepProcessor->GetfSensitive();
56  fCurrentProcess = 0;
57 
61 
65 
66  MAXofAtRestLoops = 0;
69 
72 
76 
77  // fNavigator = fpStepProcessor->GetfNavigator();
78 
79  fVerboseLevel = 0;
80  fpVerboseUI = new G4UIcmdWithAnInteger("/chem/tracking/verbose", this);
81 
84 
85  fPreviousStepSize = 0.;
86 
87  fTouchableHandle = 0;
88 
89  // StepControlFlag = fpStepProcessor->GetStepControlFlag();
90 
91  physIntLength = 0;
92  fCondition = InActivated;
93  fGPILSelection = NotCandidateForSelection;
94 
95 }
const ProcessGeneralInfo * fpProcessGeneralInfo
G4ITStepProcessorState * fpState
const G4TrackVector * fSecondary
const G4VITProcess * fCurrentProcess
G4ProcessVector * fAtRestDoItVector
const G4VPhysicalVolume * fCurrentVolume
G4ProcessVector * fAlongStepDoItVector
const G4VParticleChange * fParticleChange
G4ProcessVector * fPostStepDoItVector
G4ProcessVector * fAlongStepGetPhysIntVector
G4SelectedAtRestDoItVector * fSelectedAtRestDoItVector
G4UIcmdWithAnInteger * fpVerboseUI
G4ProcessVector * fPostStepGetPhysIntVector
G4ProcessVector * fAtRestGetPhysIntVector
G4TouchableHandle fTouchableHandle
G4GPILSelection fGPILSelection
G4SelectedPostStepDoItVector * fSelectedPostStepDoItVector
const G4ITStepProcessor * fpStepProcessor

◆ ~G4VITSteppingVerbose()

G4VITSteppingVerbose::~G4VITSteppingVerbose ( )
virtual

Definition at line 99 of file G4VITSteppingVerbose.cc.

100 {
101  if(fpVerboseUI) delete fpVerboseUI;
102 }
G4UIcmdWithAnInteger * fpVerboseUI

Member Function Documentation

◆ AlongStepDoItAllDone()

virtual void G4VITSteppingVerbose::AlongStepDoItAllDone ( )
pure virtual

Implemented in G4ITSteppingVerbose.

◆ AlongStepDoItOneByOne()

virtual void G4VITSteppingVerbose::AlongStepDoItOneByOne ( )
pure virtual

Implemented in G4ITSteppingVerbose.

◆ AtRestDoItInvoked()

virtual void G4VITSteppingVerbose::AtRestDoItInvoked ( )
pure virtual

Implemented in G4ITSteppingVerbose.

◆ AtRestDoItOneByOne()

virtual void G4VITSteppingVerbose::AtRestDoItOneByOne ( )
pure virtual

Implemented in G4ITSteppingVerbose.

◆ CopyState()

void G4VITSteppingVerbose::CopyState ( )

Definition at line 106 of file G4VITSteppingVerbose.cc.

107 {
108 
110  else
111  {
113  }
114 
116 
119 
124  fPreStepPoint = fStep->GetPreStepPoint();
125  fPostStepPoint = fStep->GetPostStepPoint();
126 
128 // fSensitive = fpStepProcessor->GetfSensitive();
130 
131  fAtRestDoItVector = fpProcessGeneralInfo->fpAtRestDoItVector;
132  fAlongStepDoItVector = fpProcessGeneralInfo->fpAlongStepDoItVector;
133  fPostStepDoItVector = fpProcessGeneralInfo->fpPostStepDoItVector;
134 
135  fAtRestGetPhysIntVector = fpProcessGeneralInfo->fpAtRestGetPhysIntVector;
137  fpProcessGeneralInfo->fpAlongStepGetPhysIntVector;
138  fPostStepGetPhysIntVector = fpProcessGeneralInfo->fpPostStepGetPhysIntVector;
139 
140  MAXofAtRestLoops = fpProcessGeneralInfo->MAXofAtRestLoops;
141  MAXofAlongStepLoops = fpProcessGeneralInfo->MAXofAlongStepLoops;
142  MAXofPostStepLoops = fpProcessGeneralInfo->MAXofPostStepLoops;
143 
146 
150 
151 // fNavigator = fpStepProcessor->GetfNavigator();
152 
155 
157 
159 
160 // StepControlFlag = fpStepProcessor->GetStepControlFlag();
161 
165 }
const ProcessGeneralInfo * fpProcessGeneralInfo
G4ITStepProcessorState * fpState
const G4TrackVector * fSecondary
const ProcessGeneralInfo * GetCurrentProcessInfo() const
const G4VITProcess * fCurrentProcess
G4TrackVector * GetSecondaries() const
G4TouchableHandle fTouchableHandle
G4ForceCondition GetCondition() const
G4double GetPhysIntLength() const
G4ProcessVector * fAtRestDoItVector
const G4VPhysicalVolume * fCurrentVolume
G4int GetN2ndariesAlongStepDoIt() const
G4SelectedAtRestDoItVector fSelectedAtRestDoItVector
G4ProcessVector * fAlongStepDoItVector
G4SelectedPostStepDoItVector fSelectedPostStepDoItVector
size_t GetAtRestDoItProcTriggered() const
const G4VParticleChange * fParticleChange
G4int GetN2ndariesPostStepDoIt() const
G4ProcessVector * fPostStepDoItVector
G4ProcessVector * fAlongStepGetPhysIntVector
G4SelectedAtRestDoItVector * fSelectedAtRestDoItVector
const G4VPhysicalVolume * GetCurrentVolume() const
const G4VParticleChange * GetParticleChange() const
const G4VITProcess * GetCurrentProcess() const
G4ProcessVector * fPostStepGetPhysIntVector
G4ProcessVector * fAtRestGetPhysIntVector
G4int GetN2ndariesAtRestDoIt() const
G4TouchableHandle fTouchableHandle
G4GPILSelection fGPILSelection
const G4ITStepProcessorState * GetProcessorState() const
G4GPILSelection GetGPILSelection() const
G4SelectedPostStepDoItVector * fSelectedPostStepDoItVector
size_t GetPostStepDoItProcTriggered() const
const G4ITStepProcessor * fpStepProcessor
Here is the call graph for this function:

◆ DoItStarted()

virtual void G4VITSteppingVerbose::DoItStarted ( )
pure virtual

Implemented in G4ITSteppingVerbose.

◆ DPSLAlongStep()

virtual void G4VITSteppingVerbose::DPSLAlongStep ( )
pure virtual

Implemented in G4ITSteppingVerbose.

◆ DPSLPostStep()

virtual void G4VITSteppingVerbose::DPSLPostStep ( )
pure virtual

Implemented in G4ITSteppingVerbose.

◆ DPSLStarted()

virtual void G4VITSteppingVerbose::DPSLStarted ( )
pure virtual

Implemented in G4ITSteppingVerbose.

◆ DPSLUserLimit()

virtual void G4VITSteppingVerbose::DPSLUserLimit ( )
pure virtual

Implemented in G4ITSteppingVerbose.

◆ GetCurrentValue()

G4String G4VITSteppingVerbose::GetCurrentValue ( G4UIcommand command)
virtual

Reimplemented from G4UImessenger.

Definition at line 179 of file G4VITSteppingVerbose.cc.

180 {
181  return command->ConvertToString(fVerboseLevel);
182 }
static G4String ConvertToString(G4bool boolVal)
Definition: G4UIcommand.cc:371
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetVerbose()

G4int G4VITSteppingVerbose::GetVerbose ( )
inline

Definition at line 112 of file G4VITSteppingVerbose.hh.

113  {
114  return fVerboseLevel;
115  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ NewStep()

virtual void G4VITSteppingVerbose::NewStep ( )
pure virtual

Implemented in G4ITSteppingVerbose.

◆ PostStepDoItAllDone()

virtual void G4VITSteppingVerbose::PostStepDoItAllDone ( )
pure virtual

Implemented in G4ITSteppingVerbose.

◆ PostStepDoItOneByOne()

virtual void G4VITSteppingVerbose::PostStepDoItOneByOne ( )
pure virtual

Implemented in G4ITSteppingVerbose.

◆ PostStepVerbose()

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

Implemented in G4ITSteppingVerbose.

◆ PreStepVerbose()

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

Implemented in G4ITSteppingVerbose.

◆ SetNewValue()

void G4VITSteppingVerbose::SetNewValue ( G4UIcommand command,
G4String  newValue 
)
virtual

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)
G4UIcmdWithAnInteger * fpVerboseUI
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetStepProcessor()

void G4VITSteppingVerbose::SetStepProcessor ( const G4ITStepProcessor stepProcessor)
inline

Definition at line 127 of file G4VITSteppingVerbose.hh.

128  {
129  this->fpStepProcessor = stepProcessor;
130  }
const G4ITStepProcessor * fpStepProcessor
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetVerbose()

void G4VITSteppingVerbose::SetVerbose ( int  flag)
inline

Definition at line 107 of file G4VITSteppingVerbose.hh.

108  {
109  fVerboseLevel = flag;
110  }
Here is the caller graph for this function:

◆ StepInfo()

virtual void G4VITSteppingVerbose::StepInfo ( )
pure virtual

Implemented in G4ITSteppingVerbose.

◆ StepInfoForLeadingTrack()

virtual void G4VITSteppingVerbose::StepInfoForLeadingTrack ( )
pure virtual

Implemented in G4ITSteppingVerbose.

◆ 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 != "")
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 }
G4GLOB_DLL std::ostream G4cout
#define G4endl
Definition: G4ios.hh:61
Here is the caller graph for this function:

◆ 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)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ 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 }
void TrackBanner(G4Track *track, const G4String &message)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ 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.

◆ fAlongStepGetPhysIntVector

G4ProcessVector* G4VITSteppingVerbose::fAlongStepGetPhysIntVector
protected

Definition at line 162 of file G4VITSteppingVerbose.hh.

◆ fAtRestDoItProcTriggered

size_t G4VITSteppingVerbose::fAtRestDoItProcTriggered
protected

Definition at line 169 of file G4VITSteppingVerbose.hh.

◆ fAtRestDoItVector

G4ProcessVector* G4VITSteppingVerbose::fAtRestDoItVector
protected

Definition at line 157 of file G4VITSteppingVerbose.hh.

◆ fAtRestGetPhysIntVector

G4ProcessVector* G4VITSteppingVerbose::fAtRestGetPhysIntVector
protected

Definition at line 161 of file G4VITSteppingVerbose.hh.

◆ fCondition

G4ForceCondition G4VITSteppingVerbose::fCondition
protected

Definition at line 195 of file G4VITSteppingVerbose.hh.

◆ fCurrentProcess

const G4VITProcess* G4VITSteppingVerbose::fCurrentProcess
protected

Definition at line 153 of file G4VITSteppingVerbose.hh.

◆ fCurrentVolume

const G4VPhysicalVolume* G4VITSteppingVerbose::fCurrentVolume
protected

Definition at line 151 of file G4VITSteppingVerbose.hh.

◆ fGPILSelection

G4GPILSelection G4VITSteppingVerbose::fGPILSelection
protected

Definition at line 196 of file G4VITSteppingVerbose.hh.

◆ fN2ndariesAlongStepDoIt

G4int G4VITSteppingVerbose::fN2ndariesAlongStepDoIt
protected

Definition at line 173 of file G4VITSteppingVerbose.hh.

◆ fN2ndariesAtRestDoIt

G4int G4VITSteppingVerbose::fN2ndariesAtRestDoIt
protected

Definition at line 172 of file G4VITSteppingVerbose.hh.

◆ fN2ndariesPostStepDoIt

G4int G4VITSteppingVerbose::fN2ndariesPostStepDoIt
protected

Definition at line 174 of file G4VITSteppingVerbose.hh.

◆ fParticleChange

const G4VParticleChange* G4VITSteppingVerbose::fParticleChange
protected

Definition at line 144 of file G4VITSteppingVerbose.hh.

◆ fPostStepDoItProcTriggered

size_t G4VITSteppingVerbose::fPostStepDoItProcTriggered
protected

Definition at line 170 of file G4VITSteppingVerbose.hh.

◆ fPostStepDoItVector

G4ProcessVector* G4VITSteppingVerbose::fPostStepDoItVector
protected

Definition at line 159 of file G4VITSteppingVerbose.hh.

◆ fPostStepGetPhysIntVector

G4ProcessVector* G4VITSteppingVerbose::fPostStepGetPhysIntVector
protected

Definition at line 163 of file G4VITSteppingVerbose.hh.

◆ fPostStepPoint

G4StepPoint* G4VITSteppingVerbose::fPostStepPoint
protected

Definition at line 149 of file G4VITSteppingVerbose.hh.

◆ fpProcessGeneralInfo

const ProcessGeneralInfo* G4VITSteppingVerbose::fpProcessGeneralInfo
protected

Definition at line 139 of file G4VITSteppingVerbose.hh.

◆ fPreStepPoint

G4StepPoint* G4VITSteppingVerbose::fPreStepPoint
protected

Definition at line 148 of file G4VITSteppingVerbose.hh.

◆ fPreviousStepSize

G4double G4VITSteppingVerbose::fPreviousStepSize
protected

Definition at line 188 of file G4VITSteppingVerbose.hh.

◆ fpState

G4ITStepProcessorState* G4VITSteppingVerbose::fpState
protected

Definition at line 138 of file G4VITSteppingVerbose.hh.

◆ fpStepProcessor

const G4ITStepProcessor* G4VITSteppingVerbose::fpStepProcessor
protected

Definition at line 135 of file G4VITSteppingVerbose.hh.

◆ fpVerboseUI

G4UIcmdWithAnInteger* G4VITSteppingVerbose::fpVerboseUI
protected

Definition at line 137 of file G4VITSteppingVerbose.hh.

◆ fSecondary

const G4TrackVector* G4VITSteppingVerbose::fSecondary
protected

Definition at line 146 of file G4VITSteppingVerbose.hh.

◆ fSelectedAtRestDoItVector

G4SelectedAtRestDoItVector* G4VITSteppingVerbose::fSelectedAtRestDoItVector
protected

Definition at line 185 of file G4VITSteppingVerbose.hh.

◆ fSelectedPostStepDoItVector

G4SelectedPostStepDoItVector* G4VITSteppingVerbose::fSelectedPostStepDoItVector
protected

Definition at line 186 of file G4VITSteppingVerbose.hh.

◆ fStep

const G4Step* G4VITSteppingVerbose::fStep
protected

Definition at line 147 of file G4VITSteppingVerbose.hh.

◆ fStepStatus

G4StepStatus G4VITSteppingVerbose::fStepStatus
protected

Definition at line 142 of file G4VITSteppingVerbose.hh.

◆ fTouchableHandle

G4TouchableHandle G4VITSteppingVerbose::fTouchableHandle
protected

Definition at line 190 of file G4VITSteppingVerbose.hh.

◆ fTrack

const G4Track* G4VITSteppingVerbose::fTrack
protected

Definition at line 145 of file G4VITSteppingVerbose.hh.

◆ fVerboseLevel

G4int G4VITSteppingVerbose::fVerboseLevel
protected

Definition at line 180 of file G4VITSteppingVerbose.hh.

◆ MAXofAlongStepLoops

size_t G4VITSteppingVerbose::MAXofAlongStepLoops
protected

Definition at line 166 of file G4VITSteppingVerbose.hh.

◆ MAXofAtRestLoops

size_t G4VITSteppingVerbose::MAXofAtRestLoops
protected

Definition at line 165 of file G4VITSteppingVerbose.hh.

◆ MAXofPostStepLoops

size_t G4VITSteppingVerbose::MAXofPostStepLoops
protected

Definition at line 167 of file G4VITSteppingVerbose.hh.

◆ PhysicalStep

G4double G4VITSteppingVerbose::PhysicalStep
protected

Definition at line 141 of file G4VITSteppingVerbose.hh.

◆ physIntLength

G4double G4VITSteppingVerbose::physIntLength
protected

Definition at line 194 of file G4VITSteppingVerbose.hh.


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