Belle II Software development
ExtMessenger.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8
9#pragma once
10
11#include <globals.hh>
12#include <G4UImessenger.hh>
13
14class G4UIdirectory;
15class G4UIcmdWithAString;
16class G4UIcmdWithADoubleAndUnit;
17class G4UIcmdWithADouble;
18
19namespace Belle2 {
24
25 namespace Simulation {
26
29 class ExtEnergyLoss;
30
35 class ExtMessenger: public G4UImessenger {
36
37 public:
38
43
46
48 void SetNewValue(G4UIcommand*, G4String);
49
50 private:
51
54
57
60
62 G4UIdirectory* m_dir;
63
65 G4UIdirectory* m_dirLimits;
66
68 G4UIcmdWithADoubleAndUnit* m_stepLengthLimitCmd;
69
71 G4UIcmdWithADouble* m_magFieldLimitCmd;
72
74 G4UIcmdWithADouble* m_energyLossCmd;
75
76 };
77
78 } //end namespace Simulation
79
81} //end Belle2 namespace
Define physics process to calculate energy loss without fluctuations.
Defines the physics process that avoids hit invocation in sensitive volumes.
G4UIcmdWithADouble * m_magFieldLimitCmd
Defines UI command "/geant4e/limits/magField" to limit step length.
ExtMessenger(ExtStepLengthLimitProcess *, ExtMagFieldLimitProcess *, ExtEnergyLoss *)
constructor
G4UIdirectory * m_dir
Defines UI directory for "/geant4e/" commands.
G4UIcmdWithADoubleAndUnit * m_stepLengthLimitCmd
Defines UI command "/geant4e/limits/stepLength" to limit step length.
void SetNewValue(G4UIcommand *, G4String)
Process a geant4 UI command.
ExtEnergyLoss * m_energyLossAction
Process that limits the geant4e step length due to energy loss.
ExtStepLengthLimitProcess * m_stepLengthAction
Process that limits the geant4e step length.
G4UIcmdWithADouble * m_energyLossCmd
defines UI command "/geant4e/limits/energyLoss" to limit step length
ExtMagFieldLimitProcess * m_magFieldAction
Process that limits the geant4e step length in magnetic field.
G4UIdirectory * m_dirLimits
Defines UI directory for "/geant4e/limits/" commands.
Defines the physics process that avoids hit invocation in sensitive volumes.
Abstract base class for different kinds of events.