#include <G4SteppingVerbose.hh>
Inherits G4VSteppingVerbose.
Inherited by eRositaSteppingVerbose, ExN02SteppingVerbose, ExN04SteppingVerbose, ExN04SteppingVerbose, ExP01SteppingVerbose, F01SteppingVerbose, F02SteppingVerbose, F03SteppingVerbose, F04SteppingVerbose, F05SteppingVerbose, FCALSteppingVerbose, LXeSteppingVerbose, OpNoviceSteppingVerbose, PurgMagSteppingVerbose, RE05SteppingVerbose, SteppingVerbose, SteppingVerbose, SteppingVerbose, SteppingVerbose, SteppingVerbose, SteppingVerbose, SteppingVerbose, SteppingVerbose, SteppingVerbose, SteppingVerbose, SteppingVerbose, SteppingVerbose, SteppingVerbose, SteppingVerbose, SteppingVerbose, SteppingVerbose, SteppingVerbose, SteppingVerbose, SteppingVerbose, SteppingVerbose, SteppingVerbose, SteppingVerbose, SteppingVerbose, SteppingVerbose, SteppingVerbose, SteppingVerbose, SteppingVerbose, SteppingVerbose, SteppingVerbose, SteppingVerbose, SteppingVerbose, SteppingVerbose, SteppingVerbose, WLSSteppingVerbose, and XrayFluoSteppingVerbose.
Definition at line 51 of file G4SteppingVerbose.hh.
G4SteppingVerbose::G4SteppingVerbose |
( |
| ) |
|
Definition at line 57 of file G4SteppingVerbose.cc.
60 #ifdef G4_TRACKING_DEBUG
61 G4cout <<
"G4SteppingVerbose has instantiated" <<
G4endl;
G4GLOB_DLL std::ostream G4cout
G4SteppingVerbose::~G4SteppingVerbose |
( |
| ) |
|
void G4SteppingVerbose::AlongStepDoItAllDone |
( |
| ) |
|
|
virtual |
Implements G4VSteppingVerbose.
Definition at line 133 of file G4SteppingVerbose.cc.
144 G4cout <<
" >>AlongStepDoIt (after all invocations):" <<
G4endl;
148 ptProcManager = (*fAlongStepDoItVector)(ci);
149 G4cout <<
" " << ci+1 <<
") ";
150 if(ptProcManager != 0){
157 G4cout <<
" ++List of secondaries generated "
158 <<
"(x,y,z,kE,t,PID):"
159 <<
" No. of secodaries = "
160 << (*fSecondary).size() <<
G4endl;
162 if((*fSecondary).size()>0){
163 for(
size_t lp1=0; lp1<(*fSecondary).size(); lp1++){
176 << (*fSecondary)[lp1]->GetDefinition()->GetParticleName() <<
G4endl;
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
static G4ThreadLocal G4int Silent
size_t MAXofAlongStepLoops
G4GLOB_DLL std::ostream G4cout
G4TrackVector * fSecondary
const G4String & GetProcessName() const
void G4SteppingVerbose::AlongStepDoItOneByOne |
( |
| ) |
|
|
virtual |
Implements G4VSteppingVerbose.
Definition at line 467 of file G4SteppingVerbose.cc.
476 G4cout <<
" >>AlongStepDoIt (process by process): "
477 <<
" Process Name = "
482 <<
"!Note! Safety of PostStep is only valid "
483 <<
"after all DoIt invocations."
489 G4cout <<
" ++List of secondaries generated "
490 <<
"(x,y,z,kE,t,PID):"
491 <<
" No. of secodaries = "
508 << (*fSecondary)[lp1]->GetDefinition()->GetParticleName() <<
G4endl;
G4VProcess * fCurrentProcess
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
G4int fN2ndariesAlongStepDoIt
void VerboseParticleChange()
static G4ThreadLocal G4int Silent
G4GLOB_DLL std::ostream G4cout
G4TrackVector * fSecondary
const G4String & GetProcessName() const
void G4SteppingVerbose::AtRestDoItInvoked |
( |
| ) |
|
|
virtual |
Implements G4VSteppingVerbose.
Definition at line 78 of file G4SteppingVerbose.cc.
90 size_t npGPIL = MAXofAtRestLoops-np-1;
93 ptProcManager = (*fAtRestDoItVector)[np];
94 G4cout <<
" # " << npt <<
" : "
99 ptProcManager = (*fAtRestDoItVector)[np];
107 G4cout <<
" -- List of secondaries generated : " <<
"(x,y,z,kE,t,PID) --" <<
G4endl;
109 lp1<(*fSecondary).size(); lp1++) {
122 << (*fSecondary)[lp1]->GetDefinition()->GetParticleName() <<
G4endl;
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
static G4ThreadLocal G4int Silent
G4GLOB_DLL std::ostream G4cout
G4int fN2ndariesAtRestDoIt
G4TrackVector * fSecondary
G4SelectedAtRestDoItVector * fSelectedAtRestDoItVector
const G4String & GetProcessName() const
void G4SteppingVerbose::DPSLAlongStep |
( |
| ) |
|
|
virtual |
Implements G4VSteppingVerbose.
Definition at line 388 of file G4SteppingVerbose.cc.
395 G4cout <<
" ++ProposedStep(AlongStep) = "
G4VProcess * fCurrentProcess
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
static G4ThreadLocal G4int Silent
G4GLOB_DLL std::ostream G4cout
const G4String & GetProcessName() const
G4GPILSelection fGPILSelection
void G4SteppingVerbose::DPSLPostStep |
( |
| ) |
|
|
virtual |
Implements G4VSteppingVerbose.
Definition at line 361 of file G4SteppingVerbose.cc.
G4VProcess * fCurrentProcess
static G4ThreadLocal G4int Silent
G4GLOB_DLL std::ostream G4cout
const G4String & GetProcessName() const
G4ForceCondition fCondition
void G4SteppingVerbose::DPSLStarted |
( |
| ) |
|
|
virtual |
void G4SteppingVerbose::DPSLUserLimit |
( |
| ) |
|
|
virtual |
void G4SteppingVerbose::NewStep |
( |
| ) |
|
|
virtual |
void G4SteppingVerbose::PostStepDoItAllDone |
( |
| ) |
|
|
virtual |
Implements G4VSteppingVerbose.
Definition at line 182 of file G4SteppingVerbose.cc.
200 G4cout <<
" **PostStepDoIt (after all invocations):" <<
G4endl;
204 size_t npGPIL = MAXofPostStepLoops-np-1;
207 ptProcManager = (*fPostStepDoItVector)[np];
208 G4cout <<
" " << npt <<
") "
213 ptProcManager = (*fPostStepDoItVector)[np];
220 G4cout <<
" ++List of secondaries generated "
221 <<
"(x,y,z,kE,t,PID):"
222 <<
" No. of secodaries = "
223 << (*fSecondary).size() <<
G4endl;
224 G4cout <<
" [Note]Secondaries from AlongStepDoIt included." <<
G4endl;
226 if((*fSecondary).size()>0){
227 for(
size_t lp1=0; lp1<(*fSecondary).size(); lp1++){
240 << (*fSecondary)[lp1]->GetDefinition()->GetParticleName() <<
G4endl;
G4SelectedPostStepDoItVector * fSelectedPostStepDoItVector
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
static G4ThreadLocal G4int Silent
G4GLOB_DLL std::ostream G4cout
G4TrackVector * fSecondary
size_t MAXofPostStepLoops
const G4String & GetProcessName() const
G4ForceCondition fCondition
void G4SteppingVerbose::PostStepDoItOneByOne |
( |
| ) |
|
|
virtual |
Implements G4VSteppingVerbose.
Definition at line 514 of file G4SteppingVerbose.cc.
523 G4cout <<
" >>PostStepDoIt (process by process): "
524 <<
" Process Name = "
532 G4cout <<
" ++List of secondaries generated "
533 <<
"(x,y,z,kE,t,PID):"
534 <<
" No. of secodaries = "
551 << (*fSecondary)[lp1]->GetDefinition()->GetParticleName() <<
G4endl;
G4int fN2ndariesPostStepDoIt
G4VProcess * fCurrentProcess
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
void VerboseParticleChange()
static G4ThreadLocal G4int Silent
G4GLOB_DLL std::ostream G4cout
G4TrackVector * fSecondary
const G4String & GetProcessName() const
void G4SteppingVerbose::ShowStep |
( |
| ) |
const |
Definition at line 735 of file G4SteppingVerbose.cc.
745 oldprc =
G4cout.precision(16);
753 G4cout <<
" -------------------------------------------------------"
754 <<
"----------------" <<
G4endl;
755 G4cout <<
" StepPoint Information " << std::setw(20) <<
"PreStep"
756 << std::setw(20) <<
"PostStep" <<
G4endl;
757 G4cout <<
" -------------------------------------------------------"
758 <<
"----------------" <<
G4endl;
759 G4cout <<
" Position - x (mm) : "
762 G4cout <<
" Position - y (mm) : "
765 G4cout <<
" Position - z (mm) : "
768 G4cout <<
" Global Time (ns) : "
771 G4cout <<
" Local Time (ns) : "
774 G4cout <<
" Proper Time (ns) : "
777 G4cout <<
" Momentum Direct - x : "
780 G4cout <<
" Momentum Direct - y : "
783 G4cout <<
" Momentum Direct - z : "
786 G4cout <<
" Momentum - x (MeV/c): "
789 G4cout <<
" Momentum - y (MeV/c): "
792 G4cout <<
" Momentum - z (MeV/c): "
795 G4cout <<
" Total Energy (MeV) : "
798 G4cout <<
" Kinetic Energy (MeV): "
801 G4cout <<
" Velocity (mm/ns) : "
804 G4cout <<
" Volume Name : "
812 volName =
"OutOfWorld";
815 G4cout <<
" Safety (mm) : "
818 G4cout <<
" Polarization - x : "
821 G4cout <<
" Polarization - y : "
824 G4cout <<
" Polarization - Z : "
830 G4cout <<
" Step Status : " ;
833 G4cout << std::setw(20) <<
"Geom Limit";
835 G4cout << std::setw(20) <<
"AlongStep Proc.";
837 G4cout << std::setw(20) <<
"PostStep Proc";
839 G4cout << std::setw(20) <<
"AtRest Proc";
841 G4cout << std::setw(20) <<
"Undefined";
846 G4cout << std::setw(20) <<
"Geom Limit";
848 G4cout << std::setw(20) <<
"AlongStep Proc.";
850 G4cout << std::setw(20) <<
"PostStep Proc";
852 G4cout << std::setw(20) <<
"AtRest Proc";
854 G4cout << std::setw(20) <<
"Undefined";
858 G4cout <<
" Process defined Step: " ;
860 G4cout << std::setw(20) <<
"Undefined";
865 G4cout << std::setw(20) <<
"Undefined";
872 G4cout <<
" -------------------------------------------------------"
873 <<
"----------------" <<
G4endl;
G4double GetTotalEnergy() const
G4double GetWeight() const
G4StepStatus GetStepStatus() const
G4ThreeVector GetMomentum() const
G4double GetVelocity() const
G4double GetLocalTime() const
static G4ThreadLocal G4int Silent
G4StepPoint * GetPreStepPoint() const
const G4ThreeVector & GetMomentumDirection() const
G4GLOB_DLL std::ostream G4cout
G4VPhysicalVolume * GetPhysicalVolume() const
const G4String & GetName() const
const G4ThreeVector & GetPosition() const
const G4String & GetProcessName() const
G4double GetTotalEnergyDeposit() const
const G4VProcess * GetProcessDefinedStep() const
G4StepPoint * GetPostStepPoint() const
G4double GetSafety() const
G4double GetProperTime() const
G4double GetGlobalTime() const
G4double GetKineticEnergy() const
G4Track * GetTrack() const
const G4ThreeVector & GetPolarization() const
G4double GetStepLength() const
void G4SteppingVerbose::StepInfo |
( |
| ) |
|
|
virtual |
Implements G4VSteppingVerbose.
Definition at line 248 of file G4SteppingVerbose.cc.
262 #ifdef G4_USE_G4BESTUNIT_FOR_VERBOSE
263 G4cout << std::setw( 5) <<
"#Step#" <<
" "
264 << std::setw( 8) <<
"X" <<
" " << std::setw( 8) <<
"Y" <<
" "
265 << std::setw( 8) <<
"Z" <<
" "
266 << std::setw( 9) <<
"KineE" <<
" " << std::setw( 8) <<
"dE" <<
" "
267 << std::setw(12) <<
"StepLeng" <<
" " << std::setw(12) <<
"TrackLeng" <<
" "
268 << std::setw(12) <<
"NextVolume" <<
" " << std::setw( 8) <<
"ProcName" <<
G4endl;
270 G4cout << std::setw( 5) <<
"#Step#" <<
" "
271 << std::setw( 8) <<
"X(mm)" <<
" " << std::setw( 8) <<
"Y(mm)" <<
" "
272 << std::setw( 8) <<
"Z(mm)" <<
" "
273 << std::setw( 9) <<
"KinE(MeV)" <<
" " << std::setw( 8) <<
"dE(MeV)" <<
" "
274 << std::setw( 8) <<
"StepLeng" <<
" " << std::setw( 9) <<
"TrackLeng" <<
" "
275 << std::setw(11) <<
"NextVolume" <<
" " << std::setw( 8) <<
"ProcName" <<
G4endl;
291 G4cout << std::setw(11) <<
"OutOfWorld" <<
" ";
303 G4cout <<
" :----- List of 2ndaries - "
304 <<
"#SpawnInStep=" << std::setw(3) << tN2ndariesTot
307 <<
",Post=" << std::setw(2) << fN2ndariesPostStepDoIt
309 <<
"#SpawnTotal=" << std::setw(3) << (*fSecondary).size()
310 <<
" ---------------"
313 for(
size_t lp1=(*fSecondary).size()-tN2ndariesTot; lp1<(*fSecondary).size(); lp1++){
324 << (*fSecondary)[lp1]->GetDefinition()->GetParticleName() <<
G4endl;
326 G4cout <<
" :-----------------------------" <<
"----------------------------------"
327 <<
"-- EndOf2ndaries Info ---------------" <<
G4endl;
G4int fN2ndariesPostStepDoIt
G4double GetStepLength() const
const G4ThreeVector & GetPosition() const
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
G4int fN2ndariesAlongStepDoIt
G4VPhysicalVolume * GetNextVolume() const
static G4ThreadLocal G4int Silent
static G4ThreadLocal G4int SilentStepInfo
G4double GetKineticEnergy() const
G4GLOB_DLL std::ostream G4cout
G4int fN2ndariesAtRestDoIt
G4int GetCurrentStepNumber() const
G4TrackVector * fSecondary
const G4String & GetName() const
const G4String & GetProcessName() const
G4double GetTotalEnergyDeposit() const
G4double GetTrackLength() const
const G4VProcess * GetProcessDefinedStep() const
G4StepPoint * GetPostStepPoint() const
void G4SteppingVerbose::TrackingStarted |
( |
| ) |
|
|
virtual |
Implements G4VSteppingVerbose.
Definition at line 414 of file G4SteppingVerbose.cc.
424 #ifdef G4_USE_G4BESTUNIT_FOR_VERBOSE
425 G4cout << std::setw( 5) <<
"Step#" <<
" "
426 << std::setw( 8) <<
"X" <<
" "
427 << std::setw( 8) <<
"Y" <<
" "
428 << std::setw( 8) <<
"Z" <<
" "
429 << std::setw( 9) <<
"KineE" <<
" "
430 << std::setw( 8) <<
"dE" <<
" "
431 << std::setw(12) <<
"StepLeng" <<
" "
432 << std::setw(12) <<
"TrackLeng" <<
" "
433 << std::setw(12) <<
"NextVolume" <<
" "
434 << std::setw( 8) <<
"ProcName" <<
G4endl;
436 G4cout << std::setw( 5) <<
"Step#" <<
" "
437 << std::setw( 8) <<
"X(mm)" <<
" "
438 << std::setw( 8) <<
"Y(mm)" <<
" "
439 << std::setw( 8) <<
"Z(mm)" <<
" "
440 << std::setw( 9) <<
"KinE(MeV)" <<
" "
441 << std::setw( 8) <<
"dE(MeV)" <<
" "
442 << std::setw( 8) <<
"StepLeng" <<
" "
443 << std::setw( 9) <<
"TrackLeng" <<
" "
444 << std::setw(11) <<
"NextVolume" <<
" "
445 << std::setw( 8) <<
"ProcName" <<
G4endl;
460 G4cout << std::setw(11) <<
"OutOfWorld" <<
" ";
G4double GetStepLength() const
const G4ThreeVector & GetPosition() const
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
G4VPhysicalVolume * GetNextVolume() const
static G4ThreadLocal G4int Silent
G4double GetKineticEnergy() const
G4GLOB_DLL std::ostream G4cout
G4int GetCurrentStepNumber() const
const G4String & GetName() const
G4double GetTotalEnergyDeposit() const
G4double GetTrackLength() const
void G4SteppingVerbose::VerboseParticleChange |
( |
| ) |
|
|
virtual |
Implements G4VSteppingVerbose.
Definition at line 725 of file G4SteppingVerbose.cc.
G4VParticleChange * fParticleChange
virtual void DumpInfo() const
static G4ThreadLocal G4int Silent
G4GLOB_DLL std::ostream G4cout
void G4SteppingVerbose::VerboseTrack |
( |
| ) |
|
|
virtual |
Implements G4VSteppingVerbose.
Definition at line 559 of file G4SteppingVerbose.cc.
571 G4cout <<
" -----------------------------------------------"
573 G4cout <<
" G4Track Information " << std::setw(20) <<
G4endl;
574 G4cout <<
" -----------------------------------------------"
577 G4cout <<
" Step number : "
580 #ifdef G4_USE_G4BESTUNIT_FOR_VERBOSE
581 G4cout <<
" Position - x : "
584 G4cout <<
" Position - y : "
587 G4cout <<
" Position - z : "
590 G4cout <<
" Global Time : "
593 G4cout <<
" Local Time : "
597 G4cout <<
" Position - x (mm) : "
600 G4cout <<
" Position - y (mm) : "
603 G4cout <<
" Position - z (mm) : "
606 G4cout <<
" Global Time (ns) : "
609 G4cout <<
" Local Time (ns) : "
613 G4cout <<
" Momentum Direct - x : "
616 G4cout <<
" Momentum Direct - y : "
619 G4cout <<
" Momentum Direct - z : "
622 #ifdef G4_USE_G4BESTUNIT_FOR_VERBOSE
623 G4cout <<
" Kinetic Energy : "
625 G4cout <<
" Kinetic Energy (MeV): "
629 G4cout <<
" Polarization - x : "
632 G4cout <<
" Polarization - y : "
635 G4cout <<
" Polarization - z : "
638 G4cout <<
" Track Length : "
641 G4cout <<
" Track ID # : "
644 G4cout <<
" Parent Track ID # : "
647 G4cout <<
" Next Volume : "
652 G4cout <<
"OutOfWorld" <<
" ";
655 G4cout <<
" Track Status : "
660 G4cout <<
" StopButAlive";
664 G4cout <<
" KillTrackAndSecondaries";
668 G4cout <<
" PostponeToNextEvent";
671 #ifdef G4_USE_G4BESTUNIT_FOR_VERBOSE
672 G4cout <<
" Vertex - x : "
675 G4cout <<
" Vertex - y : "
678 G4cout <<
" Vertex - z : "
682 G4cout <<
" Vertex - x (mm) : "
685 G4cout <<
" Vertex - y (mm) : "
688 G4cout <<
" Vertex - z (mm) : "
692 G4cout <<
" Vertex - Px (MomDir): "
695 G4cout <<
" Vertex - Py (MomDir): "
698 G4cout <<
" Vertex - Pz (MomDir): "
701 #ifdef G4_USE_G4BESTUNIT_FOR_VERBOSE
702 G4cout <<
" Vertex - KineE : "
704 G4cout <<
" Vertex - KineE (MeV): "
709 G4cout <<
" Creator Process : "
717 G4cout <<
" -----------------------------------------------"
G4int GetParentID() const
const G4ThreeVector & GetPolarization() const
G4double GetLocalTime() const
static constexpr double mm
const G4ThreeVector & GetPosition() const
G4TrackStatus GetTrackStatus() const
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
G4VPhysicalVolume * GetNextVolume() const
static G4ThreadLocal G4int Silent
const G4VProcess * GetCreatorProcess() const
G4double GetKineticEnergy() const
G4GLOB_DLL std::ostream G4cout
G4int GetCurrentStepNumber() const
const G4String & GetName() const
G4double GetVertexKineticEnergy() const
G4double GetGlobalTime() const
const G4String & GetProcessName() const
const G4ThreeVector & GetVertexPosition() const
G4double GetTrackLength() const
const G4ThreeVector & GetMomentumDirection() const
const G4ThreeVector & GetVertexMomentumDirection() const
The documentation for this class was generated from the following files: