Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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: G4VSteppingVerbose.cc 66872 2013-01-15 01:25:57Z japost $
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: Katsuya.Amako@kek.jp)
40 // Takashi Sasaki (e-mail: Takashi.Sasaki@kek.jp)
41 //
42 //---------------------------------------------------------------
43 
44 #include "G4VSteppingVerbose.hh"
45 #include "G4SteppingManager.hh"
46 #include "G4Track.hh"
47 #include "G4ParticleDefinition.hh"
48 
52 
54  : fManager(0), fUserSteppingAction(0),
56  PreStepPointIsGeom(false), FirstStep(false),
58  fParticleChange(0), fTrack(0), fSecondary(0), fStep(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 
84 {
85  fManager=fMan;
86 }
87 
91 {
92 
94  // fVerbose = this;
95 
102 
105  Mass = fManager->GetMass();
106 
108 
110  fTrack = fManager->GetfTrack();
112  fStep = fManager->GetfStep();
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 
G4StepPoint * GetfPreStepPoint()
G4SelectedPostStepDoItVector * fSelectedPostStepDoItVector
G4ProcessVector * GetfAlongStepDoItVector()
static G4VSteppingVerbose * GetInstance()
G4double GetTempInitVelocity()
static void SetSilent(G4int fSilent)
G4ProcessVector * fAtRestDoItVector
G4ProcessVector * fPostStepDoItVector
G4double GetGeometricalStep()
G4VParticleChange * fParticleChange
G4VProcess * fCurrentProcess
G4double numberOfInteractionLengthLeft
G4ProcessVector * fPostStepGetPhysIntVector
G4VSensitiveDetector * GetfSensitive()
G4StepPoint * GetfPostStepPoint()
#define G4ThreadLocal
Definition: tls.hh:89
G4ForceCondition GetfCondition()
int G4int
Definition: G4Types.hh:78
G4StepStatus GetfStepStatus()
G4Navigator * GetfNavigator()
G4ProcessVector * fAlongStepGetPhysIntVector
static G4ThreadLocal G4int Silent
size_t GetfPostStepDoItProcTriggered()
G4double GetsumEnergyChange()
G4TouchableHandle fTouchableHandle
void SetManager(G4SteppingManager *const)
G4SteppingManager * fManager
static G4ThreadLocal G4int SilentStepInfo
G4double GetfPreviousStepSize()
G4SelectedPostStepDoItVector * GetfSelectedPostStepDoItVector()
G4TrackVector * fSecondary
const G4TouchableHandle & GetTouchableHandle()
G4ProcessVector * GetfPostStepDoItVector()
G4SelectedAtRestDoItVector * GetfSelectedAtRestDoItVector()
G4VParticleChange * GetfParticleChange()
static G4int GetSilentStepInfo()
G4SelectedAtRestDoItVector * fSelectedAtRestDoItVector
G4StepPoint * fPreStepPoint
static G4int GetSilent()
G4int GetfN2ndariesAlongStepDoIt()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4VPhysicalVolume * GetfCurrentVolume()
G4ProcessVector * fAlongStepDoItVector
G4SteppingControl StepControlFlag
static void SetInstance(G4VSteppingVerbose *Instance)
G4ForceCondition fCondition
G4ProcessVector * GetfAlongStepGetPhysIntVector()
G4ProcessVector * fAtRestGetPhysIntVector
static G4ThreadLocal G4VSteppingVerbose * fInstance
size_t GetfAtRestDoItProcTriggered()
G4StepPoint * fPostStepPoint
G4UserSteppingAction * fUserSteppingAction
G4GPILSelection fGPILSelection
size_t GetfAlongStepDoItProcTriggered()
G4ProcessVector * GetfAtRestDoItVector()
G4VProcess * GetfCurrentProcess()
G4SelectedAlongStepDoItVector * fSelectedAlongStepDoItVector
G4VSensitiveDetector * fSensitive
G4VPhysicalVolume * fCurrentVolume
G4ProcessVector * GetfAtRestGetPhysIntVector()
static void SetSilentStepInfo(G4int fSilent)
G4SelectedAlongStepDoItVector * GetfSelectedAlongStepDoItVector()
G4TrackVector * GetfSecondary()
G4SteppingControl GetStepControlFlag()
G4ProcessVector * GetfPostStepGetPhysIntVector()
G4GPILSelection GetfGPILSelection()
G4UserSteppingAction * GetUserAction()