#include <CexmcPrimaryGeneratorActionMessenger.hh>
Definition at line 51 of file CexmcPrimaryGeneratorActionMessenger.cc.
53 primaryGeneratorAction( primaryGeneratorAction ),
54 fwhmPosX( NULL ), fwhmPosY( NULL ), fwhmDirX( NULL ), fwhmDirY( NULL ),
55 fwhmMomentumAmp( NULL )
59 fwhmPosX->
SetGuidance(
"Set positional fwhm of the beam along X axis" );
68 fwhmPosY->
SetGuidance(
"Set positional fwhm of the beam along Y axis" );
77 fwhmDirX->
SetGuidance(
"Set directional fwhm of the beam along X axis" );
86 fwhmDirY->
SetGuidance(
"Set directional fwhm of the beam along Y axis" );
95 fwhmMomentumAmp->
SetGuidance(
"Set fwhm of the beam momentum as fraction "
void SetDefaultValue(G4double defVal)
void SetGuidance(const char *aGuidance)
void AvailableForStates(G4ApplicationState s1)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetDefaultUnit(const char *defUnit)
static G4String gunDirName
void SetDefaultValue(G4double defVal)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetUnitCandidates(const char *candidateList)
CexmcPrimaryGeneratorActionMessenger::~CexmcPrimaryGeneratorActionMessenger |
( |
| ) |
|
Reimplemented from G4UImessenger.
Definition at line 113 of file CexmcPrimaryGeneratorActionMessenger.cc.
118 if ( cmd == fwhmPosX )
124 if ( cmd == fwhmPosY )
130 if ( cmd == fwhmDirX )
136 if ( cmd == fwhmDirY )
142 if ( cmd == fwhmMomentumAmp )
static G4double GetNewDoubleValue(const char *paramString)
static G4double GetNewDoubleValue(const char *paramString)
void SetFwhmDirY(G4double value, G4bool fromMessenger=true)
void SetFwhmPosX(G4double value, G4bool fromMessenger=true)
void SetFwhmDirX(G4double value, G4bool fromMessenger=true)
void SetFwhmMomentumAmp(G4double value, G4bool fromMessenger=true)
void SetFwhmPosY(G4double value, G4bool fromMessenger=true)
The documentation for this class was generated from the following files: