Geant4 10.7.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// G4VSteppingVerbose class implementation
27//
28// Contact:
29// Questions and comments to this code should be sent to
30// Katsuya Amako (e-mail: [email protected])
31// Takashi Sasaki (e-mail: [email protected])
32// --------------------------------------------------------------------
33
34#include "G4VSteppingVerbose.hh"
35#include "G4SteppingManager.hh"
36#include "G4Track.hh"
38
42
43//////////////////////////////////////////////////
45//////////////////////////////////////////////////
46{
47 if(fInstance!= nullptr)
48 {
49 G4Exception("G4VSteppingVerbose::G4VSteppingVerbose()",
50 "Tracking0014", FatalException,
51 "Only one SteppingVerbose class can be instantiated.");
52 }
53}
54
55//////////////////////////////////////////////////
57//////////////////////////////////////////////////
58{
59 fInstance = nullptr;
60}
61
62//////////////////////////////////////////////////////////////////
64//////////////////////////////////////////////////////////////////
65{
66 fManager = fMan;
67}
68
69//////////////////////////////////////////////////
71//////////////////////////////////////////////////
72{
74
81
85
87
94
98
102
106
110
114
118
120
122
126
128
130
132
136}
137
139{
140 fInstance = Instance;
141}
142
144{
145 return fInstance;
146}
147
149{
150 return Silent;
151}
152
154{
155 Silent=fSilent;
156}
157
159{
160 return SilentStepInfo;
161}
162
164{
165 SilentStepInfo = fSilent;
166}
@ FatalException
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
Definition: G4Exception.cc:35
int G4int
Definition: G4Types.hh:85
G4ProcessVector * GetfPostStepDoItVector()
std::size_t GetfAtRestDoItProcTriggered()
std::size_t GetMAXofAtRestLoops()
G4TrackVector * GetfSecondary()
std::size_t GetMAXofAlongStepLoops()
G4SteppingControl GetStepControlFlag()
std::size_t GetMAXofPostStepLoops()
G4SelectedPostStepDoItVector * GetfSelectedPostStepDoItVector()
G4Navigator * GetfNavigator()
G4VPhysicalVolume * GetfCurrentVolume()
G4StepPoint * GetfPreStepPoint()
G4ProcessVector * GetfAlongStepDoItVector()
G4VParticleChange * GetfParticleChange()
std::size_t GetfPostStepDoItProcTriggered()
std::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()
std::size_t MAXofAlongStepLoops
G4StepPoint * fPostStepPoint
static G4int GetSilentStepInfo()
static G4VSteppingVerbose * GetInstance()
static G4ThreadLocal G4VSteppingVerbose * fInstance
static void SetSilentStepInfo(G4int fSilent)
G4ProcessVector * fPostStepGetPhysIntVector
G4UserSteppingAction * fUserSteppingAction
G4ForceCondition fCondition
G4ProcessVector * fAlongStepGetPhysIntVector
G4TouchableHandle fTouchableHandle
G4GPILSelection fGPILSelection
std::size_t fAlongStepDoItProcTriggered
G4VParticleChange * fParticleChange
G4SteppingControl StepControlFlag
static void SetInstance(G4VSteppingVerbose *Instance)
G4VPhysicalVolume * fCurrentVolume
G4SelectedPostStepDoItVector * fSelectedPostStepDoItVector
static G4int GetSilent()
G4ProcessVector * fAtRestDoItVector
G4SelectedAtRestDoItVector * fSelectedAtRestDoItVector
G4VProcess * fCurrentProcess
G4ProcessVector * fAtRestGetPhysIntVector
G4SelectedAlongStepDoItVector * fSelectedAlongStepDoItVector
G4StepPoint * fPreStepPoint
static void SetSilent(G4int fSilent)
std::size_t fAtRestDoItProcTriggered
G4VSensitiveDetector * fSensitive
G4ProcessVector * fPostStepDoItVector
G4ProcessVector * fAlongStepDoItVector
std::size_t fPostStepDoItProcTriggered
static G4ThreadLocal G4int SilentStepInfo
G4SteppingManager * fManager
static G4ThreadLocal G4int Silent
void SetManager(G4SteppingManager *const)
std::size_t MAXofPostStepLoops
G4TrackVector * fSecondary
#define G4ThreadLocal
Definition: tls.hh:77