Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4SteppingVerboseWithUnits.hh
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/// \file
27/// \brief Definition of the G4SteppingVerboseWithUnits class
28//
29//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
30//
31// Stepping Verbose with units for all the applicable double values
32// This class is ported from TestEm2 extended example
33
34// Original author : Michel Maire (LAPP)
35// Porting with addition of UI command : Makoto Asai (SLAC) Feb.23.2021
36//
37//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
38
39#ifndef G4SteppingVerboseWithUnits_hh
40#define G4SteppingVerboseWithUnits_hh 1
41
42#include "G4SteppingVerbose.hh"
43
45
46//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
47
49{
50 public:
51 G4SteppingVerboseWithUnits(G4int precision = 4);
53
55
56 void SetManager(G4SteppingManager* const) override;
57
58 void TrackingStarted() override;
59 void StepInfo() override;
60
61 void AtRestDoItInvoked() override;
62 void AlongStepDoItAllDone() override;
63 void PostStepDoItAllDone() override;
64 void AlongStepDoItOneByOne() override;
65 void PostStepDoItOneByOne() override;
66 void DPSLStarted() override;
67 void DPSLUserLimit() override;
68 void DPSLPostStep() override;
69 void DPSLAlongStep() override;
70 void VerboseTrack() override;
71 void VerboseParticleChange() override;
72 void ShowStep() const override;
73
74 private:
75 G4int fprec;
76 G4GenericMessenger* fmessenger = nullptr;
77};
78
79//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
80
81#endif
int G4int
Definition G4Types.hh:85
void SetManager(G4SteppingManager *const) override
G4VSteppingVerbose * Clone() override