Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 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

Definition at line 183 of file G4VITSteppingVerbose.hh.

Definition at line 182 of file G4VITSteppingVerbose.hh.

Definition at line 184 of file G4VITSteppingVerbose.hh.

Constructor & Destructor Documentation

G4VITSteppingVerbose::G4VITSteppingVerbose ( )

Definition at line 38 of file G4VITSteppingVerbose.cc.

39 {
40  fpStepProcessor = 0;
41  fpState = 0;
43 
44  PhysicalStep = -1;
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;
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 ( )
virtual

Definition at line 99 of file G4VITSteppingVerbose.cc.

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

Member Function Documentation

virtual void G4VITSteppingVerbose::AlongStepDoItAllDone ( )
pure virtual

Implemented in G4ITSteppingVerbose.

virtual void G4VITSteppingVerbose::AlongStepDoItOneByOne ( )
pure virtual

Implemented in G4ITSteppingVerbose.

virtual void G4VITSteppingVerbose::AtRestDoItInvoked ( )
pure virtual

Implemented in G4ITSteppingVerbose.

virtual void G4VITSteppingVerbose::AtRestDoItOneByOne ( )
pure virtual

Implemented in G4ITSteppingVerbose.

void G4VITSteppingVerbose::CopyState ( )

Definition at line 106 of file G4VITSteppingVerbose.cc.

107 {
108 
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 }
const ProcessGeneralInfo * fpProcessGeneralInfo
size_t GetPostStepDoItProcTriggered() const
G4ITStepProcessorState * fpState
G4ProcessVector * fpAtRestGetPhysIntVector
const G4TrackVector * fSecondary
size_t GetAtRestDoItProcTriggered() const
const G4ITStepProcessorState * GetProcessorState() const
const G4VITProcess * fCurrentProcess
const G4VParticleChange * GetParticleChange() const
G4TouchableHandle fTouchableHandle
G4int GetN2ndariesAtRestDoIt() const
G4ProcessVector * fpAlongStepDoItVector
G4ProcessVector * fpPostStepDoItVector
G4ProcessVector * fAtRestDoItVector
const G4VPhysicalVolume * fCurrentVolume
G4SelectedAtRestDoItVector fSelectedAtRestDoItVector
G4ProcessVector * fAlongStepDoItVector
G4SelectedPostStepDoItVector fSelectedPostStepDoItVector
G4StepPoint * GetPreStepPoint() const
G4double GetPhysIntLength() const
G4int GetN2ndariesAlongStepDoIt() const
G4ProcessVector * fpAlongStepGetPhysIntVector
G4ProcessVector * fpAtRestDoItVector
const G4VParticleChange * fParticleChange
G4TrackVector * GetSecondaries() const
const G4VITProcess * GetCurrentProcess() const
G4ProcessVector * fPostStepDoItVector
G4ProcessVector * fAlongStepGetPhysIntVector
G4SelectedAtRestDoItVector * fSelectedAtRestDoItVector
G4ProcessVector * fpPostStepGetPhysIntVector
G4ProcessVector * fPostStepGetPhysIntVector
G4ProcessVector * fAtRestGetPhysIntVector
G4TouchableHandle fTouchableHandle
G4GPILSelection fGPILSelection
G4GPILSelection GetGPILSelection() const
G4ForceCondition GetCondition() const
G4StepPoint * GetPostStepPoint() const
G4int GetN2ndariesPostStepDoIt() const
const ProcessGeneralInfo * GetCurrentProcessInfo() const
G4SelectedPostStepDoItVector * fSelectedPostStepDoItVector
const G4VPhysicalVolume * GetCurrentVolume() const
const G4ITStepProcessor * fpStepProcessor

Here is the call graph for this function:

virtual void G4VITSteppingVerbose::DoItStarted ( )
pure virtual

Implemented in G4ITSteppingVerbose.

virtual void G4VITSteppingVerbose::DPSLAlongStep ( )
pure virtual

Implemented in G4ITSteppingVerbose.

Here is the caller graph for this function:

virtual void G4VITSteppingVerbose::DPSLPostStep ( )
pure virtual

Implemented in G4ITSteppingVerbose.

Here is the caller graph for this function:

virtual void G4VITSteppingVerbose::DPSLStarted ( )
pure virtual

Implemented in G4ITSteppingVerbose.

Here is the caller graph for this function:

virtual void G4VITSteppingVerbose::DPSLUserLimit ( )
pure virtual

Implemented in G4ITSteppingVerbose.

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:372

Here is the call graph for this function:

G4int G4VITSteppingVerbose::GetVerbose ( )
inline

Definition at line 112 of file G4VITSteppingVerbose.hh.

113  {
114  return fVerboseLevel;
115  }

Here is the caller graph for this function:

virtual void G4VITSteppingVerbose::NewStep ( )
pure virtual

Implemented in G4ITSteppingVerbose.

virtual void G4VITSteppingVerbose::PostStepDoItAllDone ( )
pure virtual

Implemented in G4ITSteppingVerbose.

virtual void G4VITSteppingVerbose::PostStepDoItOneByOne ( )
pure virtual

Implemented in G4ITSteppingVerbose.

virtual void G4VITSteppingVerbose::PostStepVerbose ( G4Track )
pure virtual

Implemented in G4ITSteppingVerbose.

virtual void G4VITSteppingVerbose::PreStepVerbose ( G4Track )
pure virtual

Implemented in G4ITSteppingVerbose.

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:

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 caller graph for this function:

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:

virtual void G4VITSteppingVerbose::StepInfo ( )
pure virtual

Implemented in G4ITSteppingVerbose.

virtual void G4VITSteppingVerbose::StepInfoForLeadingTrack ( )
pure virtual

Implemented in G4ITSteppingVerbose.

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 }
G4ParticleDefinition * GetDefinition() const
G4int GetParentID() const
const G4String & GetParticleName() const
G4GLOB_DLL std::ostream G4cout
G4int GetTrackID() const
#define G4endl
Definition: G4ios.hh:61

Here is the call graph for this function:

Here is the caller graph for this function:

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:

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:

virtual void G4VITSteppingVerbose::VerboseParticleChange ( )
pure virtual

Implemented in G4ITSteppingVerbose.

virtual void G4VITSteppingVerbose::VerboseTrack ( )
pure virtual

Implemented in G4ITSteppingVerbose.

Member Data Documentation

G4ProcessVector* G4VITSteppingVerbose::fAlongStepDoItVector
protected

Definition at line 158 of file G4VITSteppingVerbose.hh.

G4ProcessVector* G4VITSteppingVerbose::fAlongStepGetPhysIntVector
protected

Definition at line 162 of file G4VITSteppingVerbose.hh.

size_t G4VITSteppingVerbose::fAtRestDoItProcTriggered
protected

Definition at line 169 of file G4VITSteppingVerbose.hh.

G4ProcessVector* G4VITSteppingVerbose::fAtRestDoItVector
protected

Definition at line 157 of file G4VITSteppingVerbose.hh.

G4ProcessVector* G4VITSteppingVerbose::fAtRestGetPhysIntVector
protected

Definition at line 161 of file G4VITSteppingVerbose.hh.

G4ForceCondition G4VITSteppingVerbose::fCondition
protected

Definition at line 195 of file G4VITSteppingVerbose.hh.

const G4VITProcess* G4VITSteppingVerbose::fCurrentProcess
protected

Definition at line 153 of file G4VITSteppingVerbose.hh.

const G4VPhysicalVolume* G4VITSteppingVerbose::fCurrentVolume
protected

Definition at line 151 of file G4VITSteppingVerbose.hh.

G4GPILSelection G4VITSteppingVerbose::fGPILSelection
protected

Definition at line 196 of file G4VITSteppingVerbose.hh.

G4int G4VITSteppingVerbose::fN2ndariesAlongStepDoIt
protected

Definition at line 173 of file G4VITSteppingVerbose.hh.

G4int G4VITSteppingVerbose::fN2ndariesAtRestDoIt
protected

Definition at line 172 of file G4VITSteppingVerbose.hh.

G4int G4VITSteppingVerbose::fN2ndariesPostStepDoIt
protected

Definition at line 174 of file G4VITSteppingVerbose.hh.

const G4VParticleChange* G4VITSteppingVerbose::fParticleChange
protected

Definition at line 144 of file G4VITSteppingVerbose.hh.

size_t G4VITSteppingVerbose::fPostStepDoItProcTriggered
protected

Definition at line 170 of file G4VITSteppingVerbose.hh.

G4ProcessVector* G4VITSteppingVerbose::fPostStepDoItVector
protected

Definition at line 159 of file G4VITSteppingVerbose.hh.

G4ProcessVector* G4VITSteppingVerbose::fPostStepGetPhysIntVector
protected

Definition at line 163 of file G4VITSteppingVerbose.hh.

G4StepPoint* G4VITSteppingVerbose::fPostStepPoint
protected

Definition at line 149 of file G4VITSteppingVerbose.hh.

const ProcessGeneralInfo* G4VITSteppingVerbose::fpProcessGeneralInfo
protected

Definition at line 139 of file G4VITSteppingVerbose.hh.

G4StepPoint* G4VITSteppingVerbose::fPreStepPoint
protected

Definition at line 148 of file G4VITSteppingVerbose.hh.

G4double G4VITSteppingVerbose::fPreviousStepSize
protected

Definition at line 188 of file G4VITSteppingVerbose.hh.

G4ITStepProcessorState* G4VITSteppingVerbose::fpState
protected

Definition at line 138 of file G4VITSteppingVerbose.hh.

const G4ITStepProcessor* G4VITSteppingVerbose::fpStepProcessor
protected

Definition at line 135 of file G4VITSteppingVerbose.hh.

G4UIcmdWithAnInteger* G4VITSteppingVerbose::fpVerboseUI
protected

Definition at line 137 of file G4VITSteppingVerbose.hh.

const G4TrackVector* G4VITSteppingVerbose::fSecondary
protected

Definition at line 146 of file G4VITSteppingVerbose.hh.

G4SelectedAtRestDoItVector* G4VITSteppingVerbose::fSelectedAtRestDoItVector
protected

Definition at line 185 of file G4VITSteppingVerbose.hh.

G4SelectedPostStepDoItVector* G4VITSteppingVerbose::fSelectedPostStepDoItVector
protected

Definition at line 186 of file G4VITSteppingVerbose.hh.

const G4Step* G4VITSteppingVerbose::fStep
protected

Definition at line 147 of file G4VITSteppingVerbose.hh.

G4StepStatus G4VITSteppingVerbose::fStepStatus
protected

Definition at line 142 of file G4VITSteppingVerbose.hh.

G4TouchableHandle G4VITSteppingVerbose::fTouchableHandle
protected

Definition at line 190 of file G4VITSteppingVerbose.hh.

const G4Track* G4VITSteppingVerbose::fTrack
protected

Definition at line 145 of file G4VITSteppingVerbose.hh.

G4int G4VITSteppingVerbose::fVerboseLevel
protected

Definition at line 180 of file G4VITSteppingVerbose.hh.

size_t G4VITSteppingVerbose::MAXofAlongStepLoops
protected

Definition at line 166 of file G4VITSteppingVerbose.hh.

size_t G4VITSteppingVerbose::MAXofAtRestLoops
protected

Definition at line 165 of file G4VITSteppingVerbose.hh.

size_t G4VITSteppingVerbose::MAXofPostStepLoops
protected

Definition at line 167 of file G4VITSteppingVerbose.hh.

G4double G4VITSteppingVerbose::PhysicalStep
protected

Definition at line 141 of file G4VITSteppingVerbose.hh.

G4double G4VITSteppingVerbose::physIntLength
protected

Definition at line 194 of file G4VITSteppingVerbose.hh.


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