Geant4  10.02
CML2MainMessenger Class Reference

#include <ML2MainMessenger.hh>

+ Inheritance diagram for CML2MainMessenger:
+ Collaboration diagram for CML2MainMessenger:

Public Member Functions

 CML2MainMessenger (CML2CInputData *CInputData)
 
 ~CML2MainMessenger (void)
 
void SetNewValue (G4UIcommand *cmd, G4String newValue)
 
- Public Member Functions inherited from G4UImessenger
 G4UImessenger ()
 
 G4UImessenger (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true)
 
virtual ~G4UImessenger ()
 
virtual G4String GetCurrentValue (G4UIcommand *command)
 
G4bool operator== (const G4UImessenger &messenger) const
 
G4bool CommandsShouldBeInMaster () const
 

Private Attributes

CML2CInputDataCInputData
 
G4UIcmdWith3VectorAndUnitphaseSpaceCentre
 
G4UIcmdWith3VectorAndUnitphaseSpaceHalfSize
 
G4UIcmdWithAStringphaseSPaceOutFile
 
G4UIcmdWithAStringROGOutFile
 
G4UIcmdWithABoolbSavePhaseSpace
 
G4UIcmdWithABoolbStopAtPhaseSpace
 
G4UIcmdWithABoolbSaveROG
 
G4UIcmdWithABoolbForcePhaseSpaceBeforeJaws
 
G4UIcmdWithAnIntegernBeam
 
G4UIcmdWithAnIntegernMaxParticlesInRamPlanePhaseSpace
 
G4UIcmdWithAnIntegermaxNumberOfEvents
 
G4UIcmdWithABoolbCompareExp
 
G4UIcmdWithABoolbOnlyVisio
 
G4UIcmdWithAStringfileExperimentalData
 
G4UIcmdWithAStringfileExperimentalDataOut
 
G4UIcmdWithAnIntegersaving_in_Selected_Voxels_every_events
 
G4UIcmdWithAnIntegersaving_in_ROG_Voxels_every_events
 
G4UIcmdWithAnIntegermax_N_particles_in_PhSp_File
 
G4UIcmdWithAnIntegernMaxLoop
 

Additional Inherited Members

- Protected Member Functions inherited from G4UImessenger
G4String ItoS (G4int i)
 
G4String DtoS (G4double a)
 
G4String BtoS (G4bool b)
 
G4int StoI (G4String s)
 
G4double StoD (G4String s)
 
G4bool StoB (G4String s)
 
void AddUIcommand (G4UIcommand *newCommand)
 
void CreateDirectory (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true)
 
template<typename T >
T * CreateCommand (const G4String &cname, const G4String &dsc)
 
- Protected Attributes inherited from G4UImessenger
G4UIdirectorybaseDir
 
G4String baseDirName
 
G4bool commandsShouldBeInMaster
 

Detailed Description

Definition at line 69 of file ML2MainMessenger.hh.

Constructor & Destructor Documentation

CML2MainMessenger::CML2MainMessenger ( CML2CInputData CInputData)

Definition at line 46 of file ML2MainMessenger.cc.

References bCompareExp, bForcePhaseSpaceBeforeJaws, bOnlyVisio, bSavePhaseSpace, bSaveROG, bStopAtPhaseSpace, CInputData, fileExperimentalData, fileExperimentalDataOut, max_N_particles_in_PhSp_File, maxNumberOfEvents, mm, nBeam, nMaxLoop, nMaxParticlesInRamPlanePhaseSpace, phaseSpaceCentre, phaseSpaceHalfSize, phaseSPaceOutFile, ROGOutFile, saving_in_ROG_Voxels_every_events, saving_in_Selected_Voxels_every_events, CML2CInputData::setBCompareExp(), CML2CInputData::setbForcePhaseSpaceBeforeJaws(), CML2CInputData::setbOnlyVisio(), CML2CInputData::setbSavePhaseSPace(), CML2CInputData::setbSaveROG(), CML2CInputData::setbStopAtPhaseSpace(), G4UIcmdWith3VectorAndUnit::SetDefaultUnit(), G4UIcmdWithAnInteger::SetDefaultValue(), G4UIcmdWithAString::SetDefaultValue(), G4UIcmdWithABool::SetDefaultValue(), G4UIcmdWith3VectorAndUnit::SetDefaultValue(), CML2CInputData::setFileExperimentalData(), CML2CInputData::setFileExperimentalDataOut(), G4UIcommand::SetGuidance(), CML2CInputData::setMax_N_particles_in_PhSp_File(), CML2CInputData::setMaxNumberOfEvents(), CML2CInputData::setNBeams(), CML2CInputData::setNmaxLoop(), CML2CInputData::setNMaxParticlesInRamPlanePhaseSpace(), CML2CInputData::setPhaseSpaceCentre(), CML2CInputData::setPhaseSpaceHalfSize(), CML2CInputData::setPhaseSpaceOutFile(), CML2CInputData::setROGOutFile(), CML2CInputData::setSaving_in_ROG_Voxels_every_events(), and CML2CInputData::setSaving_in_Selected_Voxels_every_events().

+ Here is the call graph for this function:

Member Function Documentation

void CML2MainMessenger::SetNewValue ( G4UIcommand cmd,
G4String  newValue 
)
virtual

Reimplemented from G4UImessenger.

Definition at line 173 of file ML2MainMessenger.cc.

References bCompareExp, bForcePhaseSpaceBeforeJaws, bOnlyVisio, bSavePhaseSpace, bSaveROG, bStopAtPhaseSpace, CInputData, fileExperimentalData, fileExperimentalDataOut, G4UIcmdWith3VectorAndUnit::GetNew3VectorRawValue(), G4UIcmdWithABool::GetNewBoolValue(), G4UIcmdWithAnInteger::GetNewIntValue(), max_N_particles_in_PhSp_File, maxNumberOfEvents, nBeam, nMaxLoop, nMaxParticlesInRamPlanePhaseSpace, phaseSpaceCentre, phaseSpaceHalfSize, phaseSPaceOutFile, ROGOutFile, saving_in_ROG_Voxels_every_events, saving_in_Selected_Voxels_every_events, CML2CInputData::setBCompareExp(), CML2CInputData::setbForcePhaseSpaceBeforeJaws(), CML2CInputData::setbOnlyVisio(), CML2CInputData::setbSavePhaseSPace(), CML2CInputData::setbSaveROG(), CML2CInputData::setbStopAtPhaseSpace(), CML2CInputData::setFileExperimentalData(), CML2CInputData::setFileExperimentalDataOut(), CML2CInputData::setMax_N_particles_in_PhSp_File(), CML2CInputData::setMaxNumberOfEvents(), CML2CInputData::setNBeams(), CML2CInputData::setNmaxLoop(), CML2CInputData::setNMaxParticlesInRamPlanePhaseSpace(), CML2CInputData::setPhaseSpaceCentre(), CML2CInputData::setPhaseSpaceHalfSize(), CML2CInputData::setPhaseSpaceOutFile(), CML2CInputData::setROGOutFile(), CML2CInputData::setSaving_in_ROG_Voxels_every_events(), and CML2CInputData::setSaving_in_Selected_Voxels_every_events().

+ Here is the call graph for this function:

Member Data Documentation

G4UIcmdWithABool* CML2MainMessenger::bCompareExp
private

Definition at line 83 of file ML2MainMessenger.hh.

Referenced by CML2MainMessenger(), SetNewValue(), and ~CML2MainMessenger().

G4UIcmdWithABool * CML2MainMessenger::bForcePhaseSpaceBeforeJaws
private

Definition at line 80 of file ML2MainMessenger.hh.

Referenced by CML2MainMessenger(), SetNewValue(), and ~CML2MainMessenger().

G4UIcmdWithABool * CML2MainMessenger::bOnlyVisio
private

Definition at line 83 of file ML2MainMessenger.hh.

Referenced by CML2MainMessenger(), SetNewValue(), and ~CML2MainMessenger().

G4UIcmdWithABool* CML2MainMessenger::bSavePhaseSpace
private

Definition at line 80 of file ML2MainMessenger.hh.

Referenced by CML2MainMessenger(), SetNewValue(), and ~CML2MainMessenger().

G4UIcmdWithABool * CML2MainMessenger::bSaveROG
private

Definition at line 80 of file ML2MainMessenger.hh.

Referenced by CML2MainMessenger(), SetNewValue(), and ~CML2MainMessenger().

G4UIcmdWithABool * CML2MainMessenger::bStopAtPhaseSpace
private

Definition at line 80 of file ML2MainMessenger.hh.

Referenced by CML2MainMessenger(), SetNewValue(), and ~CML2MainMessenger().

CML2CInputData* CML2MainMessenger::CInputData
private

Definition at line 76 of file ML2MainMessenger.hh.

Referenced by CML2MainMessenger(), and SetNewValue().

G4UIcmdWithAString* CML2MainMessenger::fileExperimentalData
private

Definition at line 84 of file ML2MainMessenger.hh.

Referenced by CML2MainMessenger(), SetNewValue(), and ~CML2MainMessenger().

G4UIcmdWithAString * CML2MainMessenger::fileExperimentalDataOut
private

Definition at line 84 of file ML2MainMessenger.hh.

Referenced by CML2MainMessenger(), SetNewValue(), and ~CML2MainMessenger().

G4UIcmdWithAnInteger* CML2MainMessenger::max_N_particles_in_PhSp_File
private

Definition at line 87 of file ML2MainMessenger.hh.

Referenced by CML2MainMessenger(), SetNewValue(), and ~CML2MainMessenger().

G4UIcmdWithAnInteger * CML2MainMessenger::maxNumberOfEvents
private

Definition at line 82 of file ML2MainMessenger.hh.

Referenced by CML2MainMessenger(), SetNewValue(), and ~CML2MainMessenger().

G4UIcmdWithAnInteger* CML2MainMessenger::nBeam
private

Definition at line 82 of file ML2MainMessenger.hh.

Referenced by CML2MainMessenger(), SetNewValue(), and ~CML2MainMessenger().

G4UIcmdWithAnInteger * CML2MainMessenger::nMaxLoop
private

Definition at line 87 of file ML2MainMessenger.hh.

Referenced by CML2MainMessenger(), SetNewValue(), and ~CML2MainMessenger().

G4UIcmdWithAnInteger * CML2MainMessenger::nMaxParticlesInRamPlanePhaseSpace
private

Definition at line 82 of file ML2MainMessenger.hh.

Referenced by CML2MainMessenger(), SetNewValue(), and ~CML2MainMessenger().

G4UIcmdWith3VectorAndUnit* CML2MainMessenger::phaseSpaceCentre
private

Definition at line 78 of file ML2MainMessenger.hh.

Referenced by CML2MainMessenger(), SetNewValue(), and ~CML2MainMessenger().

G4UIcmdWith3VectorAndUnit * CML2MainMessenger::phaseSpaceHalfSize
private

Definition at line 78 of file ML2MainMessenger.hh.

Referenced by CML2MainMessenger(), SetNewValue(), and ~CML2MainMessenger().

G4UIcmdWithAString* CML2MainMessenger::phaseSPaceOutFile
private

Definition at line 79 of file ML2MainMessenger.hh.

Referenced by CML2MainMessenger(), SetNewValue(), and ~CML2MainMessenger().

G4UIcmdWithAString * CML2MainMessenger::ROGOutFile
private

Definition at line 79 of file ML2MainMessenger.hh.

Referenced by CML2MainMessenger(), SetNewValue(), and ~CML2MainMessenger().

G4UIcmdWithAnInteger* CML2MainMessenger::saving_in_ROG_Voxels_every_events
private

Definition at line 86 of file ML2MainMessenger.hh.

Referenced by CML2MainMessenger(), SetNewValue(), and ~CML2MainMessenger().

G4UIcmdWithAnInteger* CML2MainMessenger::saving_in_Selected_Voxels_every_events
private

Definition at line 85 of file ML2MainMessenger.hh.

Referenced by CML2MainMessenger(), SetNewValue(), and ~CML2MainMessenger().


The documentation for this class was generated from the following files: