Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
XrayFluoSteppingVerbose Class Reference

#include <XrayFluoSteppingVerbose.hh>

Inheritance diagram for XrayFluoSteppingVerbose:
Collaboration diagram for XrayFluoSteppingVerbose:

Public Member Functions

 XrayFluoSteppingVerbose ()
 
 ~XrayFluoSteppingVerbose ()
 
void StepInfo ()
 
void TrackingStarted ()
 
- Public Member Functions inherited from G4SteppingVerbose
 G4SteppingVerbose ()
 
 ~G4SteppingVerbose ()
 
void NewStep ()
 
void AtRestDoItInvoked ()
 
void AlongStepDoItAllDone ()
 
void PostStepDoItAllDone ()
 
void AlongStepDoItOneByOne ()
 
void PostStepDoItOneByOne ()
 
void StepInfo ()
 
void TrackingStarted ()
 
void DPSLStarted ()
 
void DPSLUserLimit ()
 
void DPSLPostStep ()
 
void DPSLAlongStep ()
 
void VerboseTrack ()
 
void VerboseParticleChange ()
 
void ShowStep () const
 
- Public Member Functions inherited from G4VSteppingVerbose
virtual ~G4VSteppingVerbose ()
 
void CopyState ()
 
void SetManager (G4SteppingManager *const)
 

Additional Inherited Members

- Static Public Member Functions inherited from G4VSteppingVerbose
static void SetInstance (G4VSteppingVerbose *Instance)
 
static G4VSteppingVerboseGetInstance ()
 
static G4int GetSilent ()
 
static void SetSilent (G4int fSilent)
 
static G4int GetSilentStepInfo ()
 
static void SetSilentStepInfo (G4int fSilent)
 
- Protected Types inherited from G4VSteppingVerbose
typedef std::vector< G4intG4SelectedAtRestDoItVector
 
typedef std::vector< G4intG4SelectedAlongStepDoItVector
 
typedef std::vector< G4intG4SelectedPostStepDoItVector
 
- Protected Member Functions inherited from G4VSteppingVerbose
 G4VSteppingVerbose ()
 
- Protected Attributes inherited from G4VSteppingVerbose
G4SteppingManagerfManager
 
G4UserSteppingActionfUserSteppingAction
 
G4double PhysicalStep
 
G4double GeometricalStep
 
G4double CorrectedStep
 
G4bool PreStepPointIsGeom
 
G4bool FirstStep
 
G4StepStatus fStepStatus
 
G4double TempInitVelocity
 
G4double TempVelocity
 
G4double Mass
 
G4double sumEnergyChange
 
G4VParticleChangefParticleChange
 
G4TrackfTrack
 
G4TrackVectorfSecondary
 
G4StepfStep
 
G4StepPointfPreStepPoint
 
G4StepPointfPostStepPoint
 
G4VPhysicalVolumefCurrentVolume
 
G4VSensitiveDetectorfSensitive
 
G4VProcessfCurrentProcess
 
G4ProcessVectorfAtRestDoItVector
 
G4ProcessVectorfAlongStepDoItVector
 
G4ProcessVectorfPostStepDoItVector
 
G4ProcessVectorfAtRestGetPhysIntVector
 
G4ProcessVectorfAlongStepGetPhysIntVector
 
G4ProcessVectorfPostStepGetPhysIntVector
 
size_t MAXofAtRestLoops
 
size_t MAXofAlongStepLoops
 
size_t MAXofPostStepLoops
 
G4double currentMinimumStep
 
G4double numberOfInteractionLengthLeft
 
size_t fAtRestDoItProcTriggered
 
size_t fAlongStepDoItProcTriggered
 
size_t fPostStepDoItProcTriggered
 
G4int fN2ndariesAtRestDoIt
 
G4int fN2ndariesAlongStepDoIt
 
G4int fN2ndariesPostStepDoIt
 
G4NavigatorfNavigator
 
G4int verboseLevel
 
G4SelectedAtRestDoItVectorfSelectedAtRestDoItVector
 
G4SelectedAlongStepDoItVectorfSelectedAlongStepDoItVector
 
G4SelectedPostStepDoItVectorfSelectedPostStepDoItVector
 
G4double fPreviousStepSize
 
G4TouchableHandle fTouchableHandle
 
G4SteppingControl StepControlFlag
 
G4double physIntLength
 
G4ForceCondition fCondition
 
G4GPILSelection fGPILSelection
 
- Static Protected Attributes inherited from G4VSteppingVerbose
static G4ThreadLocal
G4VSteppingVerbose
fInstance = 0
 
static G4ThreadLocal G4int Silent = 0
 
static G4ThreadLocal G4int SilentStepInfo = 0
 

Detailed Description

Definition at line 46 of file XrayFluoSteppingVerbose.hh.

Constructor & Destructor Documentation

XrayFluoSteppingVerbose::XrayFluoSteppingVerbose ( )

Definition at line 44 of file XrayFluoSteppingVerbose.cc.

46 {
47 
48  G4cout << "XrayFluoSteppingVerbose created" << G4endl;
49 
50 }
G4GLOB_DLL std::ostream G4cout
#define G4endl
Definition: G4ios.hh:61
XrayFluoSteppingVerbose::~XrayFluoSteppingVerbose ( )

Definition at line 53 of file XrayFluoSteppingVerbose.cc.

55 {
56 
57  G4cout << "XrayFluoSteppingVerbose deleted" << G4endl;
58 
59 }
G4GLOB_DLL std::ostream G4cout
#define G4endl
Definition: G4ios.hh:61

Member Function Documentation

void XrayFluoSteppingVerbose::StepInfo ( )
virtual

Implements G4VSteppingVerbose.

Definition at line 62 of file XrayFluoSteppingVerbose.cc.

64 {
65  CopyState();
66 
67  G4int prec = G4cout.precision(3);
68 
69  if( verboseLevel >= 1 ){
70  if( verboseLevel >= 4 ) VerboseTrack();
71  if( verboseLevel >= 3 ){
72  G4cout << G4endl;
73  G4cout << std::setw( 5) << "#Step#" << " "
74  << std::setw( 6) << "X" << " "
75  << std::setw( 6) << "Y" << " "
76  << std::setw( 6) << "Z" << " "
77  << std::setw( 9) << "KineE" << " "
78  << std::setw( 9) << "dEStep" << " "
79  << std::setw(10) << "StepLeng"
80  << std::setw(10) << "TrakLeng"
81  << std::setw(10) << "NextVolu"
82  << std::setw(10) << "Process" << G4endl;
83  }
84 
85  G4cout << std::setw( 5) << fTrack->GetCurrentStepNumber() << " "
86  << std::setw( 6) << G4BestUnit(fTrack->GetPosition().x(),"Length")
87  << std::setw( 6) << G4BestUnit(fTrack->GetPosition().y(),"Length")
88  << std::setw( 6) << G4BestUnit(fTrack->GetPosition().z(),"Length")
89  << std::setw( 6) << G4BestUnit(fTrack->GetKineticEnergy(),"Energy")
90  << std::setw( 6) << G4BestUnit(fStep->GetTotalEnergyDeposit(),"Energy")
91  << std::setw( 6) << G4BestUnit(fStep->GetStepLength(),"Length")
92  << std::setw( 6) << G4BestUnit(fTrack->GetTrackLength(),"Length");
93 
94  // if( fStepStatus != fWorldBoundary){
95  if( fTrack->GetNextVolume() != 0 ) {
96  G4cout << std::setw(10) << fTrack->GetNextVolume()->GetName();
97  } else {
98  G4cout << std::setw(10) << "OutOfWorld";
99  }
100 
101  if(fStep->GetPostStepPoint()->GetProcessDefinedStep() != NULL){
102  G4cout << std::setw(10) << fStep->GetPostStepPoint()->GetProcessDefinedStep()
103  ->GetProcessName();
104  } else {
105  G4cout << "User Limit";
106  }
107 
108  G4cout << G4endl;
109 
110  if( verboseLevel == 2 ){
111  G4int tN2ndariesTot = fN2ndariesAtRestDoIt +
114  if(tN2ndariesTot>0){
115  G4cout << " :----- List of 2ndaries - "
116  << "#SpawnInStep=" << std::setw(3) << tN2ndariesTot
117  << "(Rest=" << std::setw(2) << fN2ndariesAtRestDoIt
118  << ",Along=" << std::setw(2) << fN2ndariesAlongStepDoIt
119  << ",Post=" << std::setw(2) << fN2ndariesPostStepDoIt
120  << "), "
121  << "#SpawnTotal=" << std::setw(3) << (*fSecondary).size()
122  << " ---------------"
123  << G4endl;
124 
125  for(size_t lp1=(*fSecondary).size()-tN2ndariesTot;
126  lp1<(*fSecondary).size(); lp1++){
127  G4cout << " : "
128  << std::setw(6)
129  << G4BestUnit((*fSecondary)[lp1]->GetPosition().x(),"Length")
130  << std::setw(6)
131  << G4BestUnit((*fSecondary)[lp1]->GetPosition().y(),"Length")
132  << std::setw(6)
133  << G4BestUnit((*fSecondary)[lp1]->GetPosition().z(),"Length")
134  << std::setw(6)
135  << G4BestUnit((*fSecondary)[lp1]->GetKineticEnergy(),"Energy")
136  << std::setw(10)
137  << (*fSecondary)[lp1]->GetDefinition()->GetParticleName();
138  G4cout << G4endl;
139  }
140 
141  G4cout << " :-----------------------------"
142  << "----------------------------------"
143  << "-- EndOf2ndaries Info ---------------"
144  << G4endl;
145  }
146  }
147 
148  }
149  G4cout.precision(prec);
150 }
G4double GetStepLength() const
double x() const
const G4ThreeVector & GetPosition() const
tuple x
Definition: test.py:50
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
int G4int
Definition: G4Types.hh:78
double z() const
G4VPhysicalVolume * GetNextVolume() const
static const double prec
Definition: RanecuEngine.cc:58
G4double GetKineticEnergy() const
G4GLOB_DLL std::ostream G4cout
G4int GetCurrentStepNumber() const
G4TrackVector * fSecondary
const G4String & GetName() const
const G4String & GetProcessName() const
Definition: G4VProcess.hh:408
G4double GetTotalEnergyDeposit() const
G4double GetTrackLength() const
const G4VProcess * GetProcessDefinedStep() const
G4StepPoint * GetPostStepPoint() const
double y() const
tuple z
Definition: test.py:28
#define G4endl
Definition: G4ios.hh:61

Here is the call graph for this function:

void XrayFluoSteppingVerbose::TrackingStarted ( )
virtual

Implements G4VSteppingVerbose.

Definition at line 153 of file XrayFluoSteppingVerbose.cc.

155 {
156 
157  CopyState();
158 G4int prec = G4cout.precision(3);
159  if( verboseLevel > 0 ){
160 
161  G4cout << std::setw( 5) << "Step#" << " "
162  << std::setw( 6) << "X" << " "
163  << std::setw( 6) << "Y" << " "
164  << std::setw( 6) << "Z" << " "
165  << std::setw( 9) << "KineE" << " "
166  << std::setw( 9) << "dEStep" << " "
167  << std::setw(10) << "StepLeng"
168  << std::setw(10) << "TrakLeng"
169  << std::setw(10) << "NextVolu"
170  << std::setw(10) << "Process" << G4endl;
171 
172  G4cout << std::setw( 5) << fTrack->GetCurrentStepNumber() << " "
173  << std::setw( 6) << G4BestUnit(fTrack->GetPosition().x(),"Length")
174  << std::setw( 6) << G4BestUnit(fTrack->GetPosition().y(),"Length")
175  << std::setw( 6) << G4BestUnit(fTrack->GetPosition().z(),"Length")
176  << std::setw( 6) << G4BestUnit(fTrack->GetKineticEnergy(),"Energy")
177  << std::setw( 6) << G4BestUnit(fStep->GetTotalEnergyDeposit(),"Energy")
178  << std::setw( 6) << G4BestUnit(fStep->GetStepLength(),"Length")
179  << std::setw( 6) << G4BestUnit(fTrack->GetTrackLength(),"Length");
180 
181  if(fTrack->GetNextVolume()){
182  G4cout << std::setw(10) << fTrack->GetNextVolume()->GetName() << " ";
183  } else {
184  G4cout << std::setw(10) << "OutOfWorld" << " ";
185  }
186  G4cout << std::setw(10) << "initStep" << G4endl;
187  }
188  G4cout.precision(prec);
189 }
G4double GetStepLength() const
double x() const
const G4ThreeVector & GetPosition() const
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
int G4int
Definition: G4Types.hh:78
double z() const
G4VPhysicalVolume * GetNextVolume() const
static const double prec
Definition: RanecuEngine.cc:58
G4double GetKineticEnergy() const
G4GLOB_DLL std::ostream G4cout
G4int GetCurrentStepNumber() const
const G4String & GetName() const
G4double GetTotalEnergyDeposit() const
G4double GetTrackLength() const
double y() const
#define G4endl
Definition: G4ios.hh:61

Here is the call graph for this function:


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