Geant4-11
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: Katsuya.Amako@kek.jp)
31// Takashi Sasaki (e-mail: Takashi.Sasaki@kek.jp)
32// --------------------------------------------------------------------
33
34#include "G4VSteppingVerbose.hh"
35#include "G4SteppingManager.hh"
36#include "G4Track.hh"
38
43
47{
48 if(fInstance!= nullptr)
49 {
50 G4Exception("G4VSteppingVerbose::G4VSteppingVerbose()",
51 "Tracking0014", FatalException,
52 "Only one SteppingVerbose class can be instantiated.");
53 }
54 fInstance = this;
56}
57
61{
62 fInstance = nullptr;
63}
64
68{
69 G4Exception("G4VSteppingVerbose::Clone","TRKING000",FatalException,
70 "Base class method must not be invoked.");
71 return nullptr;
72}
76{
77 fManager = fMan;
78}
79
83{
85
92
96
98
105
109
113
117
121
125
129
131
133
137
139
141
143
147}
148
150{;}
151
153{
154 return fInstance;
155}
156
158{
159 return fMasterInstance;
160}
161
163{
164 return Silent;
165}
166
168{
169 Silent=fSilent;
170}
171
173{
174 return SilentStepInfo;
175}
176
178{
179 SilentStepInfo = fSilent;
180}
@ 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
virtual G4VSteppingVerbose * Clone()
G4GPILSelection fGPILSelection
std::size_t fAlongStepDoItProcTriggered
G4VParticleChange * fParticleChange
G4SteppingControl StepControlFlag
static void SetInstance(G4VSteppingVerbose *Instance)
G4VPhysicalVolume * fCurrentVolume
G4SelectedPostStepDoItVector * fSelectedPostStepDoItVector
static G4VSteppingVerbose * fMasterInstance
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 G4TRACKING_DLL G4ThreadLocal G4int SilentStepInfo
G4SteppingManager * fManager
static G4TRACKING_DLL G4ThreadLocal G4int Silent
static G4VSteppingVerbose * GetMasterInstance()
virtual void SetManager(G4SteppingManager *const)
std::size_t MAXofPostStepLoops
G4TrackVector * fSecondary
#define G4ThreadLocal
Definition: tls.hh:77