Geant4  10.02.p03
EventActionMessenger Class Reference

#include <EventActionMessenger.hh>

Inheritance diagram for EventActionMessenger:
Collaboration diagram for EventActionMessenger:

Public Member Functions

 EventActionMessenger (EventAction *)
 
 ~EventActionMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 EventActionMessenger (EventAction *)
 
virtual ~EventActionMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 EventActionMessenger (EventAction *)
 
virtual ~EventActionMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 EventActionMessenger (EventAction *)
 
virtual ~EventActionMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 EventActionMessenger (EventAction *)
 
virtual ~EventActionMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 EventActionMessenger (EventAction *)
 
 ~EventActionMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 EventActionMessenger (EventAction *)
 
 ~EventActionMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
- 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

EventActionfEventAction
 
G4UIdirectoryfEventDir
 
G4UIcmdWithAnIntegerfPrintCmd
 
G4UIcmdWithAnIntegerfCmd
 
G4UIcmdWithAStringfIonCmd
 
G4UIcmdWithAnIntegerfDebugCmd
 
G4UIdirectoryfAppliDir
 
EventActionfpEventAction
 
G4UIdirectoryfpPDBDir
 
G4UIcmdWithADoubleAndUnitfpThresEdepCmd
 
G4UIcmdWithAnIntegerfpThresDistCmd
 

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

Constructor & Destructor Documentation

◆ EventActionMessenger() [1/7]

EventActionMessenger::EventActionMessenger ( EventAction EvAct)

Definition at line 43 of file electromagnetic/TestEm17/src/EventActionMessenger.cc.

44 :G4UImessenger(),fEventAction(EvAct),
45  fEventDir(0),
46  fPrintCmd(0)
47 {
48  fEventDir = new G4UIdirectory("/testem/event/");
49  fEventDir ->SetGuidance("physics list");
50 
51  fPrintCmd = new G4UIcmdWithAnInteger("/testem/event/printModulo",this);
52  fPrintCmd->SetGuidance("Print events modulo n");
53  fPrintCmd->SetParameterName("EventNb",false);
54  fPrintCmd->SetRange("EventNb>0");
56 }
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetRange(const char *rs)
Definition: G4UIcommand.hh:125
void SetGuidance(const char *aGuidance)
Definition: G4UIcommand.hh:161
void AvailableForStates(G4ApplicationState s1)
Definition: G4UIcommand.cc:239
Here is the call graph for this function:

◆ ~EventActionMessenger() [1/7]

EventActionMessenger::~EventActionMessenger ( )

◆ EventActionMessenger() [2/7]

EventActionMessenger::EventActionMessenger ( EventAction )

◆ ~EventActionMessenger() [2/7]

virtual EventActionMessenger::~EventActionMessenger ( )
virtual

◆ EventActionMessenger() [3/7]

EventActionMessenger::EventActionMessenger ( EventAction )

◆ ~EventActionMessenger() [3/7]

virtual EventActionMessenger::~EventActionMessenger ( )
virtual

◆ EventActionMessenger() [4/7]

EventActionMessenger::EventActionMessenger ( EventAction )

◆ ~EventActionMessenger() [4/7]

virtual EventActionMessenger::~EventActionMessenger ( )
virtual

◆ EventActionMessenger() [5/7]

EventActionMessenger::EventActionMessenger ( EventAction )

◆ ~EventActionMessenger() [5/7]

virtual EventActionMessenger::~EventActionMessenger ( )
virtual

◆ EventActionMessenger() [6/7]

EventActionMessenger::EventActionMessenger ( EventAction )

◆ ~EventActionMessenger() [6/7]

EventActionMessenger::~EventActionMessenger ( )

◆ EventActionMessenger() [7/7]

EventActionMessenger::EventActionMessenger ( EventAction )

◆ ~EventActionMessenger() [7/7]

EventActionMessenger::~EventActionMessenger ( )

Member Function Documentation

◆ SetNewValue() [1/7]

void EventActionMessenger::SetNewValue ( G4UIcommand command,
G4String  newValue 
)
virtual

Reimplemented from G4UImessenger.

Definition at line 68 of file electromagnetic/TestEm17/src/EventActionMessenger.cc.

Here is the call graph for this function:

◆ SetNewValue() [2/7]

virtual void EventActionMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

◆ SetNewValue() [3/7]

virtual void EventActionMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

◆ SetNewValue() [4/7]

virtual void EventActionMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

◆ SetNewValue() [5/7]

virtual void EventActionMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

◆ SetNewValue() [6/7]

virtual void EventActionMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

◆ SetNewValue() [7/7]

virtual void EventActionMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

Member Data Documentation

◆ fAppliDir

G4UIdirectory* EventActionMessenger::fAppliDir
private

◆ fCmd

G4UIcmdWithAnInteger * EventActionMessenger::fCmd
private

◆ fDebugCmd

G4UIcmdWithAnInteger* EventActionMessenger::fDebugCmd
private

◆ fEventAction

EventAction * EventActionMessenger::fEventAction
private

◆ fEventDir

G4UIdirectory* EventActionMessenger::fEventDir
private

◆ fIonCmd

G4UIcmdWithAString* EventActionMessenger::fIonCmd
private

◆ fpEventAction

EventAction* EventActionMessenger::fpEventAction
private

◆ fpPDBDir

G4UIdirectory* EventActionMessenger::fpPDBDir
private

◆ fPrintCmd

G4UIcmdWithAnInteger * EventActionMessenger::fPrintCmd
private

◆ fpThresDistCmd

G4UIcmdWithAnInteger* EventActionMessenger::fpThresDistCmd
private

◆ fpThresEdepCmd

G4UIcmdWithADoubleAndUnit* EventActionMessenger::fpThresEdepCmd
private

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