Geant4
10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4OpticalParametersMessenger.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
//
27
//
28
//---------------------------------------------------------------------------
29
//
30
// ClassName: G4OpticalPhysicsMessenger
31
//
32
// Author: P.Gumplinger 30.09.2009
33
//
34
// Modified: P.Gumplinger 29.09.2011
35
// (based on code from I. Hrivnacova)
36
//
37
//----------------------------------------------------------------------------
38
//
39
// This class defines commands for the optical physics
40
//
41
42
#ifndef G4OpticalParametersMessenger_h
43
#define G4OpticalParametersMessenger_h 1
44
45
#include "
G4UImessenger.hh
"
46
//#include "G4OpticalProcessIndex.hh"
47
48
#include "
globals.hh
"
49
50
class
G4VProcess
;
51
class
G4OpticalParameters
;
52
53
class
G4UIdirectory
;
54
class
G4UIcmdWithABool
;
55
class
G4UIcmdWithADouble
;
56
class
G4UIcmdWithAString
;
57
class
G4UIcmdWithAnInteger
;
58
class
G4UIcommand
;
59
60
// Messenger class that defines commands for the optical physics
61
62
class
G4OpticalParametersMessenger
:
public
G4UImessenger
63
{
64
public
:
65
66
G4OpticalParametersMessenger
(
G4OpticalParameters
*);
67
virtual
~G4OpticalParametersMessenger
();
68
69
// methods
70
virtual
void
SetNewValue
(
G4UIcommand
*,
G4String
);
71
72
private
:
73
74
G4OpticalParametersMessenger
() =
delete
;
75
G4OpticalParametersMessenger
(
const
G4OpticalParametersMessenger
& right) =
delete
;
76
G4OpticalParametersMessenger
& operator=(
const
G4OpticalParametersMessenger
& right) =
delete
;
77
78
void
Deprecated(
void
);
79
80
// data members
81
82
/// associated class
83
G4OpticalParameters
* params;
84
85
/// command directory
86
G4UIdirectory
* fDir;
87
G4UIdirectory
* fDir2;
88
89
/// selected optical process
90
//G4OpticalProcessIndex fSelectedProcessIndex;
91
92
/// selectOpProcess command
93
G4UIcommand
* fActivateProcessCmd;
94
95
/// setProcessVerbose command
96
G4UIcmdWithAnInteger
* fVerboseCmd;
97
98
/// setTrackSecondariesFirst command
99
G4UIcommand
* fTrackSecondariesFirstCmd;
100
101
// Cerenkov
102
103
// setCerenkovMaxPhotons command
104
G4UIcmdWithAnInteger
* fCerenkovMaxPhotonsCmd;
105
G4UIcmdWithAnInteger
* fCerenkovMaxPhotons1Cmd;
106
107
/// setCerenkovMaxBetaChange command
108
G4UIcmdWithADouble
* fCerenkovMaxBetaChangeCmd;
109
G4UIcmdWithADouble
* fCerenkovMaxBetaChange1Cmd;
110
111
/// setStackPhotons command
112
G4UIcmdWithABool
* fCerenkovStackPhotonsCmd;
113
G4UIcmdWithABool
* fCerenkovStackPhotons1Cmd;
114
115
G4UIcmdWithABool
* fCerenkovTrackSecondariesFirstCmd;
116
G4UIcmdWithAnInteger
* fCerenkovVerboseLevelCmd;
117
118
// Scintillation
119
120
// setScintillationYieldFactor command
121
G4UIcmdWithADouble
* fScintYieldFactorCmd;
122
G4UIcmdWithADouble
* fScintYieldFactor1Cmd;
123
124
/// setScintillationByParticleType command
125
G4UIcmdWithABool
* fScintByParticleTypeCmd;
126
G4UIcmdWithABool
* fScintByParticleType1Cmd;
127
128
/// setScintillationTrackInfo command
129
G4UIcmdWithABool
* fScintTrackInfoCmd;
130
G4UIcmdWithABool
* fScintTrackInfo1Cmd;
131
132
/// setStackPhotons command
133
G4UIcmdWithABool
* fScintStackPhotonsCmd;
134
G4UIcmdWithABool
* fScintStackPhotons1Cmd;
135
136
G4UIcmdWithADouble
* fScintExcitationRatioCmd;
137
138
G4UIcmdWithABool
* fScintTrackSecondariesFirstCmd;
139
140
/// setFiniteRiseTime command
141
G4UIcmdWithABool
* fScintFiniteRiseTimeCmd;
142
G4UIcmdWithABool
* fScintFiniteRiseTime1Cmd;
143
144
// setEnhancedTimeConstants commnad
145
G4UIcmdWithABool
* fScintEnhancedTimeConstantsCmd;
146
147
G4UIcmdWithAnInteger
* fScintVerboseLevelCmd;
148
149
// WLS
150
151
/// setWLSTimeProfile command
152
G4UIcmdWithAString
* fWLSTimeProfileCmd;
153
G4UIcmdWithAString
* fWLSTimeProfile1Cmd;
154
G4UIcmdWithAnInteger
* fWLSVerboseLevelCmd;
155
156
// WLS2
157
158
/// setWLS2TimeProfile command
159
G4UIcmdWithAString
* fWLS2TimeProfileCmd;
160
G4UIcmdWithAnInteger
* fWLS2VerboseLevelCmd;
161
162
/// setInvokeSD command
163
G4UIcmdWithABool
* fBoundaryInvokeSDCmd;
164
G4UIcmdWithABool
* fBoundaryInvokeSD1Cmd;
165
G4UIcmdWithAnInteger
* fBoundaryVerboseLevelCmd;
166
167
G4UIcmdWithAnInteger
* fAbsorptionVerboseLevelCmd;
168
G4UIcmdWithAnInteger
* fRayleighVerboseLevelCmd;
169
G4UIcmdWithAnInteger
* fMieVerboseLevelCmd;
170
171
G4UIcommand
* fDumpCmd;
172
};
173
174
#endif
// G4OpticalParametersMessenger_h
G4UImessenger.hh
G4OpticalParametersMessenger
Definition:
G4OpticalParametersMessenger.hh:63
G4OpticalParametersMessenger::~G4OpticalParametersMessenger
virtual ~G4OpticalParametersMessenger()
Definition:
G4OpticalParametersMessenger.cc:340
G4OpticalParametersMessenger::SetNewValue
virtual void SetNewValue(G4UIcommand *, G4String)
Definition:
G4OpticalParametersMessenger.cc:383
G4OpticalParameters
Definition:
G4OpticalParameters.hh:97
G4String
Definition:
G4String.hh:53
G4UIcmdWithABool
Definition:
G4UIcmdWithABool.hh:46
G4UIcmdWithADouble
Definition:
G4UIcmdWithADouble.hh:42
G4UIcmdWithAString
Definition:
G4UIcmdWithAString.hh:43
G4UIcmdWithAnInteger
Definition:
G4UIcmdWithAnInteger.hh:42
G4UIcommand
Definition:
G4UIcommand.hh:52
G4UIdirectory
Definition:
G4UIdirectory.hh:42
G4UImessenger
Definition:
G4UImessenger.hh:47
G4VProcess
Definition:
G4VProcess.hh:61
globals.hh
geant4-v10.7.0
source
processes
electromagnetic
utils
include
G4OpticalParametersMessenger.hh
Generated by
1.9.6