BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
Public Member Functions | Protected Attributes
BDSMessenger Class Reference

User interface commands. More...

#include <BDSMessenger.hh>

Inheritance diagram for BDSMessenger:
Inheritance graph
Collaboration diagram for BDSMessenger:
Collaboration graph

Public Member Functions

void SetNewValue (G4UIcommand *command, G4String newValue)
 
void BeamLineList ()
 
std::string BDSBeamlineElementToString (G4int iElement)
 
void ElementNameSearch (std::string name)
 
void GoToElement (const std::string &value)
 
void ElementTypeSearch (std::string type)
 
void SamplerList ()
 
void ViewSamplers ()
 
std::string BDSSamplerToString (G4int iSampler)
 
std::string BDSSamplerToString (std::string samplerName)
 
void ListQueries ()
 

Protected Attributes

G4UIdirectory * bdsDirectory
 
G4UIdirectory * bdsBeamlineDirectory
 
G4UIcmdWithoutParameter * beamlineListCmd
 
G4UIcmdWithAString * elementNameSearchCmd
 
BDSUIcmdStringIntelementGoToCmd
 
G4UIdirectory * bdsSamplersDirectory
 
G4UIcmdWithoutParameter * samplerListCmd
 
G4UIcmdWithoutParameter * samplerViewCmd
 
G4UIcmdWithoutParameter * queryListCmd
 

Detailed Description

User interface commands.

Author
Stewart Boogert

Definition at line 39 of file BDSMessenger.hh.

Constructor & Destructor Documentation

◆ BDSMessenger()

BDSMessenger::BDSMessenger ( )

Definition at line 42 of file BDSMessenger.cc.

◆ ~BDSMessenger()

BDSMessenger::~BDSMessenger ( )
virtual

Definition at line 75 of file BDSMessenger.cc.

Member Function Documentation

◆ BDSBeamlineElementToString()

std::string BDSMessenger::BDSBeamlineElementToString ( G4int  iElement)

Definition at line 120 of file BDSMessenger.cc.

◆ BDSSamplerToString()

std::string BDSMessenger::BDSSamplerToString ( std::string  samplerName)

Definition at line 219 of file BDSMessenger.cc.

◆ BeamLineList()

void BDSMessenger::BeamLineList ( )

Definition at line 103 of file BDSMessenger.cc.

◆ ElementNameSearch()

void BDSMessenger::ElementNameSearch ( std::string  name)

Definition at line 137 of file BDSMessenger.cc.

◆ ElementTypeSearch()

void BDSMessenger::ElementTypeSearch ( std::string  type)

Definition at line 197 of file BDSMessenger.cc.

◆ GoToElement()

void BDSMessenger::GoToElement ( const std::string &  value)

Definition at line 148 of file BDSMessenger.cc.

◆ ListQueries()

void BDSMessenger::ListQueries ( )

Definition at line 236 of file BDSMessenger.cc.

◆ SamplerList()

void BDSMessenger::SamplerList ( )

Definition at line 200 of file BDSMessenger.cc.

◆ SetNewValue()

void BDSMessenger::SetNewValue ( G4UIcommand *  command,
G4String  newValue 
)

Definition at line 87 of file BDSMessenger.cc.

◆ ViewSamplers()

void BDSMessenger::ViewSamplers ( )

Definition at line 206 of file BDSMessenger.cc.

Field Documentation

◆ bdsBeamlineDirectory

G4UIdirectory* BDSMessenger::bdsBeamlineDirectory
protected

Definition at line 59 of file BDSMessenger.hh.

◆ bdsDirectory

G4UIdirectory* BDSMessenger::bdsDirectory
protected

Definition at line 58 of file BDSMessenger.hh.

◆ bdsSamplersDirectory

G4UIdirectory* BDSMessenger::bdsSamplersDirectory
protected

Definition at line 63 of file BDSMessenger.hh.

◆ beamlineListCmd

G4UIcmdWithoutParameter* BDSMessenger::beamlineListCmd
protected

Definition at line 60 of file BDSMessenger.hh.

◆ elementGoToCmd

BDSUIcmdStringInt* BDSMessenger::elementGoToCmd
protected

Definition at line 62 of file BDSMessenger.hh.

◆ elementNameSearchCmd

G4UIcmdWithAString* BDSMessenger::elementNameSearchCmd
protected

Definition at line 61 of file BDSMessenger.hh.

◆ queryListCmd

G4UIcmdWithoutParameter* BDSMessenger::queryListCmd
protected

Definition at line 66 of file BDSMessenger.hh.

◆ samplerListCmd

G4UIcmdWithoutParameter* BDSMessenger::samplerListCmd
protected

Definition at line 64 of file BDSMessenger.hh.

◆ samplerViewCmd

G4UIcmdWithoutParameter* BDSMessenger::samplerViewCmd
protected

Definition at line 65 of file BDSMessenger.hh.


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