ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
G4UserPhysicsListMessenger.hh
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file G4UserPhysicsListMessenger.hh
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
//
28
//
29
//---------------------------------------------------------------
30
//
31
// G4UserPhysicsListMessenger.hh
32
//
33
// Class Description:
34
// This is a messenger class to interface to exchange information
35
// between ParticleUserList and UI.
36
// --
37
// the List of Directory and Commands
38
// -
39
// /run/particle/ Paricle control commands.
40
// Commands :
41
// SetCuts * Set default cut value
42
// dumpList * Dump List of particles in G4VUserPhysicsList.
43
// verbose * Set the Verbose level of G4VUserPhysicsList.
44
// addProcessManager * add process manager
45
// buildPhysicsTable * build physics table
46
// storePhysicsTable * store physics table into files
47
// retreivePhysicsTable * retreive physics table from files
48
// setStoredInAscii * Switch on/off ascii mode in store/retreive Physics Table
49
// ------------------------------------------------------------
50
// History
51
// first version 09 Jan. 1998 by H.Kurashige
52
// second version 24 Jan. 1998 by H.Kurashige
53
// add buildPhysicsTable command 13 Apr. 1999 by H.Kurashige
54
// add store/retreivePhysicsTable 08 Nov. 2000 by H.Kurashige
55
// add setStoredInAscii command 12 Mar. 2001 by H.Kurashige
56
// add applyCuts command 2 Aug. 2001 by H.Kurashige
57
// add dumpOrderingParam command 3 May. 2011 by H.Kurashige
58
// add getCutForAGivenParticle 11 June 2011 by H.Kurashige
59
// ------------------------------------------------------------
60
61
#ifndef G4UserPhysicsListMessenger_h
62
#define G4UserPhysicsListMessenger_h 1
63
64
class
G4VUserPhysicsList
;
65
66
class
G4VUserPhysicsList
;
67
class
G4UIdirectory
;
68
class
G4UIcmdWithoutParameter
;
69
class
G4UIcmdWithAnInteger
;
70
class
G4UIcmdWithADoubleAndUnit
;
71
class
G4UIcmdWithAString
;
72
class
G4UIcommand
;
73
74
#include "
G4UImessenger.hh
"
75
#include "
globals.hh
"
76
77
class
G4UserPhysicsListMessenger
:
public
G4UImessenger
78
{
79
private
:
80
// hide default constructor
81
G4UserPhysicsListMessenger
(){}
82
83
public
:
84
G4UserPhysicsListMessenger
(
G4VUserPhysicsList
* pParticleList);
85
virtual
~G4UserPhysicsListMessenger
();
86
87
public
:
// with description
88
virtual
void
SetNewValue
(
G4UIcommand
* command,
G4String
newValues);
89
virtual
G4String
GetCurrentValue
(
G4UIcommand
* command);
90
91
protected
:
92
G4VUserPhysicsList
*
thePhysicsList
;
93
94
private
:
//commands
95
G4UIdirectory
*
theDirectory
;
96
G4UIcmdWithADoubleAndUnit
*
setCutCmd
;
97
G4UIcommand
*
setCutRCmd
;
98
G4UIcommand
*
setCutForAGivenParticleCmd
;
99
G4UIcmdWithAString
*
getCutForAGivenParticleCmd
;
100
G4UIcmdWithAnInteger
*
verboseCmd
;
101
G4UIcmdWithoutParameter
*
dumpListCmd
;
102
G4UIcmdWithAString
*
addProcManCmd
;
103
G4UIcmdWithAString
*
buildPTCmd
;
104
G4UIcmdWithAString
*
storeCmd
;
105
G4UIcmdWithAString
*
retrieveCmd
;
106
G4UIcmdWithAnInteger
*
asciiCmd
;
107
G4UIcommand
*
applyCutsCmd
;
108
G4UIcmdWithAString
*
dumpCutValuesCmd
;
109
G4UIcmdWithAnInteger
*
dumpOrdParamCmd
;
110
};
111
112
#endif
113
114
geant4
tree
geant4-10.6-release
source
run
include
G4UserPhysicsListMessenger.hh
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:25:53
using
1.8.2 with
ECCE GitHub integration