#include <G4PolarizationMessenger.hh>
Definition at line 61 of file G4PolarizationMessenger.hh.
Definition at line 57 of file G4PolarizationMessenger.cc.
58 : polarizationManager(polMgr)
61 polarizationDirectory->
SetGuidance(
"polarization control commands.");
63 managerDirectory =
new G4UIdirectory(
"/polarization/manager/");
64 managerDirectory->
SetGuidance(
"general polarization information.");
67 verboseCmd->
SetGuidance(
"Set the Verbose level of G4PolarizationManager.");
72 verboseCmd->
SetRange(
"level >=0 && level <=1");
74 optActivateCmd =
new G4UIcmdWithABool(
"/polarization/manager/activate",
this);
75 optActivateCmd->
SetGuidance(
"activate/deactivate polarization treatment");
80 volumeDirectory->
SetGuidance(
"Status control commands of registered polarized logical volumes.");
83 printVolumeListCmd->
SetGuidance(
"print list of registered polarized logical volumes");
86 setPolarizationCmd =
new G4UIcommand(
"/polarization/volume/set",
this);
87 setPolarizationCmd->
SetGuidance(
"set or change polarization of a logical volume");
107 testDirectory->
SetGuidance(
"provides access to some internal test routines.");
109 testPolarizationTransformationCmd =
new G4UIcmdWithoutParameter(
"/polarization/test/polarizationTransformation",
this);
110 testPolarizationTransformationCmd->
SetGuidance(
"checks definition of particle reference frame and corresponding translation routines");
114 testInteractionFrameCmd->
SetGuidance(
"checks definition of interaction frame");
void SetParameter(G4UIparameter *const newParameter)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetDefaultValue(const char *theDefaultValue)
void SetDefaultValue(G4bool defVal)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetRange(const char *rs)
void SetGuidance(const char *aGuidance)
void AvailableForStates(G4ApplicationState s1)
void SetDefaultValue(G4int defVal)
G4PolarizationMessenger::~G4PolarizationMessenger |
( |
| ) |
|
Definition at line 118 of file G4PolarizationMessenger.cc.
121 delete testInteractionFrameCmd;
122 delete testPolarizationTransformationCmd;
123 delete testDirectory;
124 delete setPolarizationCmd;
125 delete printVolumeListCmd;
126 delete volumeDirectory;
127 delete optActivateCmd;
128 delete managerDirectory;
129 delete polarizationDirectory;
Reimplemented from G4UImessenger.
Definition at line 132 of file G4PolarizationMessenger.cc.
134 if( command==verboseCmd ) {
137 else if ( command==optActivateCmd ) {
140 else if ( command==printVolumeListCmd ) {
143 else if ( command==setPolarizationCmd ) {
160 else if ( command==testPolarizationTransformationCmd ) {
163 else if (command==testInteractionFrameCmd ) {
static void TestPolarizationTransformations()
static G4int GetNewIntValue(const char *paramString)
static G4bool GetNewBoolValue(const char *paramString)
void SetActivated(G4bool val)
static void TestInteractionFrame()
G4double StoD(G4String s)
void SetVerbose(G4int val)
void SetVolumePolarization(G4LogicalVolume *lVol, const G4ThreeVector &pol)
The documentation for this class was generated from the following files: