Geant4 11.1.1
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
52 G4SteppingVerboseWithUnits(G4int precision = 4);
54
56 { return new G4SteppingVerboseWithUnits; }
57
58 void SetManager(G4SteppingManager* const) override;
59
60 void TrackingStarted() override;
61 void StepInfo() override;
62
63 void AtRestDoItInvoked() override;
64 void AlongStepDoItAllDone()override;
65 void PostStepDoItAllDone()override;
66 void AlongStepDoItOneByOne()override;
67 void PostStepDoItOneByOne()override;
68 void DPSLStarted() override;
69 void DPSLUserLimit() override;
70 void DPSLPostStep() override;
71 void DPSLAlongStep() override;
72 void VerboseTrack() override;
73 void VerboseParticleChange() override;
74 void ShowStep() const override;
75
76 private:
77
78 G4int fprec;
79 G4GenericMessenger* fmessenger = nullptr;
80};
81
82//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
83
84#endif
int G4int
Definition: G4Types.hh:85
void SetManager(G4SteppingManager *const) override
G4VSteppingVerbose * Clone() override