Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VSteppingVerbose.cc
Go to the documentation of this file.
1//
2// ********************************************************************
3// * License and Disclaimer *
4// * *
5// * The Geant4 software is copyright of the Copyright Holders of *
6// * the Geant4 Collaboration. It is provided under the terms and *
7// * conditions of the Geant4 Software License, included in the file *
8// * LICENSE and available at http://cern.ch/geant4/license . These *
9// * include a list of copyright holders. *
10// * *
11// * Neither the authors of this software system, nor their employing *
12// * institutes,nor the agencies providing financial support for this *
13// * work make any representation or warranty, express or implied, *
14// * regarding this software system or assume any liability for its *
15// * use. Please see the license in the file LICENSE and URL above *
16// * for the full disclaimer and the limitation of liability. *
17// * *
18// * This code implementation is the result of the scientific and *
19// * technical work of the GEANT4 collaboration. *
20// * By using, copying, modifying or distributing the software (or *
21// * any work based on the software) you agree to acknowledge its *
22// * use in resulting scientific publications, and indicate your *
23// * acceptance of all terms of the Geant4 Software license. *
24// ********************************************************************
25//
26//
27// $Id$
28//
29//---------------------------------------------------------------
30//
31// G4VSteppingVerbose.cc
32//
33// Description:
34// This class manages the vervose outputs in G4SteppingManager.
35//
36//
37// Contact:
38// Questions and comments to this code should be sent to
39// Katsuya Amako (e-mail: [email protected])
40// Takashi Sasaki (e-mail: [email protected])
41//
42//---------------------------------------------------------------
43
44#include "G4VSteppingVerbose.hh"
45#include "G4SteppingManager.hh"
46#include "G4Track.hh"
48
52
54 : fManager(0), fUserSteppingAction(0),
55 PhysicalStep(0.), GeometricalStep(0.), CorrectedStep(0.),
56 PreStepPointIsGeom(false), FirstStep(false),
57 TempInitVelocity(0.), TempVelocity(0.), Mass(0.), sumEnergyChange(0.),
58 fParticleChange(0), fTrack(0), fSecondary(0), fStep(0),
59 fPreStepPoint(0), fPostStepPoint(0), fCurrentVolume(0),
60 fSensitive(0), fCurrentProcess(0), fAtRestDoItVector(0),
61 fAlongStepDoItVector(0), fPostStepDoItVector(0), fAtRestGetPhysIntVector(0),
62 fAlongStepGetPhysIntVector(0), fPostStepGetPhysIntVector(0),
63 MAXofAtRestLoops(0), MAXofAlongStepLoops(0), MAXofPostStepLoops(0),
64 currentMinimumStep(0.), numberOfInteractionLengthLeft(0.),
65 fAtRestDoItProcTriggered(0), fAlongStepDoItProcTriggered(0),
66 fPostStepDoItProcTriggered(0), fN2ndariesAtRestDoIt(0),
67 fN2ndariesAlongStepDoIt(0), fN2ndariesPostStepDoIt(0),
68 fNavigator(0), verboseLevel(0), fSelectedAtRestDoItVector(0),
69 fSelectedAlongStepDoItVector(0), fSelectedPostStepDoItVector(0),
70 fPreviousStepSize(0.), physIntLength(0.)
71{
72 if(fInstance!= 0)
73 {
74 G4Exception("G4VSteppingVerbose::G4VSteppingVerbose()",
75 "Tracking0014", FatalException,
76 "Only one SteppingVerbose class can be instantiated.");
77 }
78}
80
81//////////////////////////////////////////////////////////////////
83//////////////////////////////////////////////////////////////////
84{
85 fManager=fMan;
86}
87
88//////////////////////////////////////////////////
90//////////////////////////////////////////////////
91{
92
94 // fVerbose = this;
95
102
105 Mass = fManager->GetMass();
106
108
115
119
123
127
131
135
139
141
143
147
149
151
153
157}
158
160{
161 fInstance=Instance;
162}
163
165{
166 return fInstance;
167}
168
170{
171 return Silent;
172}
173
175{
176 Silent=fSilent;
177}
178
180{
181 return SilentStepInfo;
182}
183
185{
186 SilentStepInfo=fSilent;
187}
188
@ FatalException
int G4int
Definition: G4Types.hh:66
G4ProcessVector * GetfPostStepDoItVector()
size_t GetfAtRestDoItProcTriggered()
G4TrackVector * GetfSecondary()
G4SteppingControl GetStepControlFlag()
G4SelectedPostStepDoItVector * GetfSelectedPostStepDoItVector()
G4Navigator * GetfNavigator()
G4VPhysicalVolume * GetfCurrentVolume()
G4StepPoint * GetfPreStepPoint()
G4ProcessVector * GetfAlongStepDoItVector()
G4VParticleChange * GetfParticleChange()
size_t GetfPostStepDoItProcTriggered()
size_t GetfAlongStepDoItProcTriggered()
G4double GetfPreviousStepSize()
G4SelectedAlongStepDoItVector * GetfSelectedAlongStepDoItVector()
G4ForceCondition GetfCondition()
G4ProcessVector * GetfAlongStepGetPhysIntVector()
G4double GetsumEnergyChange()
G4double GetTempInitVelocity()
G4VSensitiveDetector * GetfSensitive()
G4ProcessVector * GetfAtRestDoItVector()
G4StepStatus GetfStepStatus()
G4SelectedAtRestDoItVector * GetfSelectedAtRestDoItVector()
G4int GetfN2ndariesAlongStepDoIt()
G4GPILSelection GetfGPILSelection()
G4ProcessVector * GetfAtRestGetPhysIntVector()
G4ProcessVector * GetfPostStepGetPhysIntVector()
G4StepPoint * GetfPostStepPoint()
G4UserSteppingAction * GetUserAction()
G4VProcess * GetfCurrentProcess()
const G4TouchableHandle & GetTouchableHandle()
G4double GetGeometricalStep()
G4StepPoint * fPostStepPoint
static G4int GetSilentStepInfo()
static G4VSteppingVerbose * GetInstance()
static void SetSilentStepInfo(G4int fSilent)
G4ProcessVector * fPostStepGetPhysIntVector
G4UserSteppingAction * fUserSteppingAction
G4ForceCondition fCondition
G4ProcessVector * fAlongStepGetPhysIntVector
G4TouchableHandle fTouchableHandle
G4GPILSelection fGPILSelection
static G4int SilentStepInfo
G4VParticleChange * fParticleChange
G4SteppingControl StepControlFlag
static void SetInstance(G4VSteppingVerbose *Instance)
static G4VSteppingVerbose * fInstance
G4VPhysicalVolume * fCurrentVolume
G4SelectedPostStepDoItVector * fSelectedPostStepDoItVector
static G4int GetSilent()
G4ProcessVector * fAtRestDoItVector
G4SelectedAtRestDoItVector * fSelectedAtRestDoItVector
G4VProcess * fCurrentProcess
G4ProcessVector * fAtRestGetPhysIntVector
G4SelectedAlongStepDoItVector * fSelectedAlongStepDoItVector
G4StepPoint * fPreStepPoint
static void SetSilent(G4int fSilent)
G4VSensitiveDetector * fSensitive
G4ProcessVector * fPostStepDoItVector
G4ProcessVector * fAlongStepDoItVector
G4SteppingManager * fManager
void SetManager(G4SteppingManager *const)
G4TrackVector * fSecondary
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41