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

#include <LXeSteppingVerbose.hh>

Inheritance diagram for LXeSteppingVerbose:
Collaboration diagram for LXeSteppingVerbose:

Public Member Functions

 LXeSteppingVerbose ()
 
virtual ~LXeSteppingVerbose ()
 
virtual void StepInfo ()
 
virtual 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 37 of file LXeSteppingVerbose.hh.

Constructor & Destructor Documentation

LXeSteppingVerbose::LXeSteppingVerbose ( )

Definition at line 39 of file LXeSteppingVerbose.cc.

39 {}
LXeSteppingVerbose::~LXeSteppingVerbose ( )
virtual

Definition at line 43 of file LXeSteppingVerbose.cc.

43 {}

Member Function Documentation

void LXeSteppingVerbose::StepInfo ( )
virtual

Implements G4VSteppingVerbose.

Definition at line 47 of file LXeSteppingVerbose.cc.

48 {
49 CopyState();
50 
51  G4int prec = G4cout.precision(3);
52 
53  if( verboseLevel >= 1 ){
54  if( verboseLevel >= 4 ) VerboseTrack();
55  if( verboseLevel >= 3 ){
56  G4cout << G4endl;
57  G4cout << std::setw( 5) << "#Step#" << " "
58  << std::setw( 6) << "X" << " "
59  << std::setw( 6) << "Y" << " "
60  << std::setw( 6) << "Z" << " "
61  << std::setw( 9) << "KineE" << " "
62  << std::setw( 9) << "dEStep" << " "
63  << std::setw(10) << "StepLeng"
64  << std::setw(10) << "TrakLeng"
65  << std::setw(10) << "Volume" << " "
66  << std::setw(10) << "Process" << G4endl;
67  }
68 
69  G4cout << std::setw(5) << fTrack->GetCurrentStepNumber() << " "
70  << std::setw(6) << G4BestUnit(fTrack->GetPosition().x(),"Length")
71  << std::setw(6) << G4BestUnit(fTrack->GetPosition().y(),"Length")
72  << std::setw(6) << G4BestUnit(fTrack->GetPosition().z(),"Length")
73  << std::setw(6) << G4BestUnit(fTrack->GetKineticEnergy(),"Energy")
74  << std::setw(6) << G4BestUnit(fStep->GetTotalEnergyDeposit(),"Energy")
75  << std::setw(6) << G4BestUnit(fStep->GetStepLength(),"Length")
76  << std::setw(6) << G4BestUnit(fTrack->GetTrackLength(),"Length")
77  << " ";
78 
79  // if( fStepStatus != fWorldBoundary){
80  if( fTrack->GetNextVolume() != 0 ) {
81  G4cout << std::setw(10) << fTrack->GetVolume()->GetName();
82  } else {
83  G4cout << std::setw(10) << "OutOfWorld";
84  }
85 
87  G4cout << " "
88  << std::setw(10) << fStep->GetPostStepPoint()->GetProcessDefinedStep()
89  ->GetProcessName();
90  } else {
91  G4cout << " UserLimit";
92  }
93 
94  G4cout << G4endl;
95 
96  if( verboseLevel == 2 ){
97  G4int tN2ndariesTot = fN2ndariesAtRestDoIt +
100  if(tN2ndariesTot>0){
101  G4cout << " :----- List of 2ndaries - "
102  << "#SpawnInStep=" << std::setw(3) << tN2ndariesTot
103  << "(Rest=" << std::setw(2) << fN2ndariesAtRestDoIt
104  << ",Along=" << std::setw(2) << fN2ndariesAlongStepDoIt
105  << ",Post=" << std::setw(2) << fN2ndariesPostStepDoIt
106  << "), "
107  << "#SpawnTotal=" << std::setw(3) << (*fSecondary).size()
108  << " ---------------"
109  << G4endl;
110 
111  for(size_t lp1=(*fSecondary).size()-tN2ndariesTot;
112  lp1<(*fSecondary).size(); lp1++){
113  G4cout << " : "
114  << std::setw(6)
115  << G4BestUnit((*fSecondary)[lp1]->GetPosition().x(),"Length")
116  << std::setw(6)
117  << G4BestUnit((*fSecondary)[lp1]->GetPosition().y(),"Length")
118  << std::setw(6)
119  << G4BestUnit((*fSecondary)[lp1]->GetPosition().z(),"Length")
120  << std::setw(6)
121  << G4BestUnit((*fSecondary)[lp1]->GetKineticEnergy(),"Energy")
122  << std::setw(10)
123  << (*fSecondary)[lp1]->GetDefinition()->GetParticleName();
124  G4cout << G4endl;
125  }
126 
127  G4cout << " :-----------------------------"
128  << "----------------------------------"
129  << "-- EndOf2ndaries Info ---------------"
130  << G4endl;
131  }
132  }
133  }
134  G4cout.precision(prec);
135 }
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
G4VPhysicalVolume * GetVolume() const
tuple z
Definition: test.py:28
#define G4endl
Definition: G4ios.hh:61

Here is the call graph for this function:

void LXeSteppingVerbose::TrackingStarted ( )
virtual

Implements G4VSteppingVerbose.

Definition at line 139 of file LXeSteppingVerbose.cc.

140 {
141  CopyState();
142  G4int prec = G4cout.precision(3);
143  if( verboseLevel > 0 ){
144 
145  G4cout << std::setw( 5) << "Step#" << " "
146  << std::setw( 6) << "X" << " "
147  << std::setw( 6) << "Y" << " "
148  << std::setw( 6) << "Z" << " "
149  << std::setw( 9) << "KineE" << " "
150  << std::setw( 9) << "dEStep" << " "
151  << std::setw(10) << "StepLeng"
152  << std::setw(10) << "TrakLeng"
153  << std::setw(10) << "Volume" << " "
154  << std::setw(10) << "Process" << G4endl;
155 
156  G4cout << std::setw(5) << fTrack->GetCurrentStepNumber() << " "
157  << std::setw(6) << G4BestUnit(fTrack->GetPosition().x(),"Length")
158  << std::setw(6) << G4BestUnit(fTrack->GetPosition().y(),"Length")
159  << std::setw(6) << G4BestUnit(fTrack->GetPosition().z(),"Length")
160  << std::setw(6) << G4BestUnit(fTrack->GetKineticEnergy(),"Energy")
161  << std::setw(6) << G4BestUnit(fStep->GetTotalEnergyDeposit(),"Energy")
162  << std::setw(6) << G4BestUnit(fStep->GetStepLength(),"Length")
163  << std::setw(6) << G4BestUnit(fTrack->GetTrackLength(),"Length")
164  << " ";
165 
166  if(fTrack->GetNextVolume()){
167  G4cout << std::setw(10) << fTrack->GetVolume()->GetName();
168  } else {
169  G4cout << std::setw(10) << "OutOfWorld";
170  }
171  G4cout << " initStep" << G4endl;
172  }
173  G4cout.precision(prec);
174 }
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
G4VPhysicalVolume * GetVolume() 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: