#include <LBNFWormPlotMessenger.hh>
Definition at line 49 of file LBNFWormPlotMessenger.hh.
LBNFWormPlotMessenger::~LBNFWormPlotMessenger |
( |
| ) |
|
|
virtual |
Definition at line 117 of file LBNFWormPlotMessenger.cc.
G4UIcmdWithAString * yNameCmd
G4UIcmdWithADoubleAndUnit * yMaxCmd
G4UIcmdWith3Vector * yAxisCmd
G4UIcmdWithAString * fileCmd
G4UIcmdWithADoubleAndUnit * xMaxCmd
G4UIcmdWithAString * xNameCmd
G4UIcmdWith3Vector * xAxisCmd
G4UIcmdWithADoubleAndUnit * yMinCmd
G4UIcmdWithADoubleAndUnit * z0Cmd
G4UIcmdWithADoubleAndUnit * xMinCmd
Definition at line 52 of file LBNFWormPlotMessenger.cc.
56 wormDir =
new G4UIdirectory(
"/vis/wormPlot/");
57 wormDir->SetGuidance(
"WormPlot commands.");
59 xAxisCmd =
new G4UIcmdWith3Vector(
"/vis/wormPlot/xAxis",
this);
60 xAxisCmd->SetGuidance(
"Define the xAxis direction vector");
61 xAxisCmd->SetParameterName(
"x",
"y",
"z",
true);
62 xAxisCmd->SetDefaultValue(G4ThreeVector(0.0, 0.0, 1.0));
64 xNameCmd =
new G4UIcmdWithAString(
"/vis/wormPlot/xName",
this);
65 xNameCmd->SetGuidance(
"Define the name of the plot xAxis");
66 xNameCmd->SetParameterName(
"xName",
true);
69 yAxisCmd =
new G4UIcmdWith3Vector(
"/vis/wormPlot/yAxis",
this);
70 yAxisCmd->SetGuidance(
"Define the yAxis direction vector");
71 yAxisCmd->SetParameterName(
"x",
"y",
"z",
true);
72 yAxisCmd->SetDefaultValue(G4ThreeVector(0.0, 1.0, 0.0));
74 yNameCmd =
new G4UIcmdWithAString(
"/vis/wormPlot/yName",
this);
75 yNameCmd->SetGuidance(
"Define the name of the plot yAxis");
76 yNameCmd->SetParameterName(
"yName",
true);
79 xMinCmd =
new G4UIcmdWithADoubleAndUnit(
"/vis/wormPlot/xMin",
this);
80 xMinCmd->SetGuidance(
"Set the minimum co-ordinate for the plot's x axis");
81 xMinCmd->SetParameterName(
"x",
true);
85 xMaxCmd =
new G4UIcmdWithADoubleAndUnit(
"/vis/wormPlot/xMax",
this);
86 xMaxCmd->SetGuidance(
"Set the maximum co-ordinate for the plot's x axis");
87 xMaxCmd->SetParameterName(
"x",
true);
91 yMinCmd =
new G4UIcmdWithADoubleAndUnit(
"/vis/wormPlot/yMin",
this);
92 yMinCmd->SetGuidance(
"Set the minimum co-ordinate for the plot's y axis");
93 yMinCmd->SetParameterName(
"y",
true);
97 yMaxCmd =
new G4UIcmdWithADoubleAndUnit(
"/vis/wormPlot/yMax",
this);
98 yMaxCmd->SetGuidance(
"Set the maximum co-ordinate for the plot's y axis");
99 yMaxCmd->SetParameterName(
"y",
true);
103 z0Cmd =
new G4UIcmdWithADoubleAndUnit(
"/vis/wormPlot/z0",
this);
104 z0Cmd->SetGuidance(
"Set the z (third axis) co-ordinate of the plot's x-y plane position");
105 z0Cmd->SetParameterName(
"z",
true);
106 z0Cmd->SetDefaultUnit(
"m");
107 z0Cmd->SetDefaultValue(0.0);
109 fileCmd =
new G4UIcmdWithAString(
"/vis/wormPlot/createPlot",
this);
110 fileCmd->SetGuidance(
"Create the worm plot; specify the name of the output file");
111 fileCmd->SetParameterName(
"fileName",
true);
112 fileCmd->SetDefaultValue(
"wormPlot.png");
113 fileCmd->AvailableForStates(G4State_Idle);
G4UIcmdWithAString * yNameCmd
G4UIcmdWithADoubleAndUnit * yMaxCmd
G4UIcmdWith3Vector * yAxisCmd
G4UIcmdWithAString * fileCmd
G4UIcmdWithADoubleAndUnit * xMaxCmd
G4UIcmdWithAString * xNameCmd
G4UIcmdWith3Vector * xAxisCmd
G4UIcmdWithADoubleAndUnit * yMinCmd
LBNFWormPlotter * theWorm
G4UIcmdWithADoubleAndUnit * z0Cmd
G4UIcmdWithADoubleAndUnit * xMinCmd
G4String LBNFWormPlotMessenger::GetCurrentValue |
( |
G4UIcommand * |
command | ) |
|
|
virtual |
Definition at line 132 of file LBNFWormPlotMessenger.cc.
135 G4String currentValue(
"");
G4UIcmdWithADoubleAndUnit * yMaxCmd
G4ThreeVector GetXAxis() const
G4UIcmdWith3Vector * yAxisCmd
G4UIcmdWithADoubleAndUnit * xMaxCmd
G4UIcmdWith3Vector * xAxisCmd
G4UIcmdWithADoubleAndUnit * yMinCmd
LBNFWormPlotter * theWorm
G4ThreeVector GetYAxis() const
G4UIcmdWithADoubleAndUnit * xMinCmd
Definition at line 45 of file LBNFWormPlotMessenger.cc.
LBNFWormPlotMessenger(LBNFWormPlotter *wPlot)
static LBNFWormPlotMessenger * fpInstance
void LBNFWormPlotMessenger::SetNewValue |
( |
G4UIcommand * |
command, |
|
|
G4String |
newValue |
|
) |
| |
|
virtual |
Definition at line 155 of file LBNFWormPlotMessenger.cc.
void SetYMax(const G4double &val)
void SetYAxis(const G4ThreeVector &vect)
G4UIcmdWithAString * yNameCmd
void SetYMin(const G4double &val)
void CreatePlot(const G4String &fileName)
G4UIcmdWithADoubleAndUnit * yMaxCmd
void SetXMax(const G4double &val)
G4UIcmdWith3Vector * yAxisCmd
G4UIcmdWithAString * fileCmd
void SetXAxis(const G4ThreeVector &vect)
G4UIcmdWithADoubleAndUnit * xMaxCmd
void SetYName(const G4String &word)
G4UIcmdWithAString * xNameCmd
G4UIcmdWith3Vector * xAxisCmd
G4UIcmdWithADoubleAndUnit * yMinCmd
LBNFWormPlotter * theWorm
void SetXName(const G4String &word)
G4UIcmdWithADoubleAndUnit * z0Cmd
void SetXMin(const G4double &val)
void SetZ0(const G4double &val)
G4UIcmdWithADoubleAndUnit * xMinCmd
G4UIcmdWithAString* LBNFWormPlotMessenger::fileCmd |
|
private |
G4UIdirectory* LBNFWormPlotMessenger::wormDir |
|
private |
G4UIcmdWith3Vector* LBNFWormPlotMessenger::xAxisCmd |
|
private |
G4UIcmdWithADoubleAndUnit* LBNFWormPlotMessenger::xMaxCmd |
|
private |
G4UIcmdWithADoubleAndUnit* LBNFWormPlotMessenger::xMinCmd |
|
private |
G4UIcmdWithAString* LBNFWormPlotMessenger::xNameCmd |
|
private |
G4UIcmdWith3Vector* LBNFWormPlotMessenger::yAxisCmd |
|
private |
G4UIcmdWithADoubleAndUnit* LBNFWormPlotMessenger::yMaxCmd |
|
private |
G4UIcmdWithADoubleAndUnit* LBNFWormPlotMessenger::yMinCmd |
|
private |
G4UIcmdWithAString* LBNFWormPlotMessenger::yNameCmd |
|
private |
G4UIcmdWithADoubleAndUnit* LBNFWormPlotMessenger::z0Cmd |
|
private |
The documentation for this class was generated from the following files: