Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
F04EventActionMessenger Class Reference

#include <Doxymodules_field.h>

Inheritance diagram for F04EventActionMessenger:
G4UImessenger

Public Member Functions

 F04EventActionMessenger (F04EventAction *)
 
 ~F04EventActionMessenger () override
 
void SetNewValue (G4UIcommand *, G4String) override
 

Private Attributes

F04EventActionfEventAction = nullptr
 
G4UIcmdWithAnIntegerfSetVerboseCmd = nullptr
 

Detailed Description

Definition at line 103 of file Doxymodules_field.h.

Constructor & Destructor Documentation

◆ F04EventActionMessenger()

F04EventActionMessenger::F04EventActionMessenger ( F04EventAction eventAction)

Definition at line 40 of file F04EventActionMessenger.cc.

41 : fEventAction(eventAction)
42{
43 fSetVerboseCmd = new G4UIcmdWithAnInteger("/event/setverbose",this);
44 fSetVerboseCmd->SetGuidance("Set verbose level ." );
45 fSetVerboseCmd->SetParameterName("level",true);
46 fSetVerboseCmd->SetDefaultValue(0);
47}
G4UIcmdWithAnInteger * fSetVerboseCmd

◆ ~F04EventActionMessenger()

F04EventActionMessenger::~F04EventActionMessenger ( )
override

Definition at line 51 of file F04EventActionMessenger.cc.

52{
53 delete fSetVerboseCmd;
54}

Member Function Documentation

◆ SetNewValue()

void F04EventActionMessenger::SetNewValue ( G4UIcommand command,
G4String  newValue 
)
override

Definition at line 58 of file F04EventActionMessenger.cc.

60{
61 if(command == fSetVerboseCmd)
62 fEventAction->SetEventVerbose(fSetVerboseCmd->GetNewIntValue(newValue));
63}
void SetEventVerbose(G4int)

Member Data Documentation

◆ fEventAction

F04EventAction* F04EventActionMessenger::fEventAction = nullptr
private

Definition at line 53 of file F04EventActionMessenger.hh.

◆ fSetVerboseCmd

G4UIcmdWithAnInteger* F04EventActionMessenger::fSetVerboseCmd = nullptr
private

Definition at line 55 of file F04EventActionMessenger.hh.


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

Applications | User Support | Publications | Collaboration