ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CexmcEventActionMessenger Class Reference

#include <geant4/tree/geant4-10.6-release/examples/advanced/ChargeExchangeMC/include/CexmcEventActionMessenger.hh>

+ Inheritance diagram for CexmcEventActionMessenger:
+ Collaboration diagram for CexmcEventActionMessenger:

Public Member Functions

 CexmcEventActionMessenger (CexmcEventAction *eventAction)
 
 ~CexmcEventActionMessenger ()
 
void SetNewValue (G4UIcommand *cmd, G4String value)
 
- 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

CexmcEventActioneventAction
 
G4UIcmdWithAnIntegersetVerboseLevel
 
G4UIcmdWithAnIntegersetVerboseDrawLevel
 

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)
 
G4long StoL (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 >
TCreateCommand (const G4String &cname, const G4String &dsc)
 
- Protected Attributes inherited from G4UImessenger
G4UIdirectorybaseDir
 
G4String baseDirName
 
G4bool commandsShouldBeInMaster
 

Detailed Description

Definition at line 54 of file CexmcEventActionMessenger.hh.

View newest version in sPHENIX GitHub at line 54 of file CexmcEventActionMessenger.hh

Constructor & Destructor Documentation

CexmcEventActionMessenger::CexmcEventActionMessenger ( CexmcEventAction eventAction)
explicit

Definition at line 50 of file CexmcEventActionMessenger.cc.

View newest version in sPHENIX GitHub at line 50 of file CexmcEventActionMessenger.cc

References G4UIcommand::AvailableForStates(), CexmcMessenger::eventDirName, G4State_Idle, G4State_PreInit, G4UIcmdWithAnInteger::SetDefaultValue(), G4UIcommand::SetGuidance(), G4UIcmdWithAnInteger::SetParameterName(), G4UIcommand::SetRange(), setVerboseDrawLevel, setVerboseLevel, and CexmcMessenger::visDirName.

+ Here is the call graph for this function:

CexmcEventActionMessenger::~CexmcEventActionMessenger ( )

Definition at line 92 of file CexmcEventActionMessenger.cc.

View newest version in sPHENIX GitHub at line 92 of file CexmcEventActionMessenger.cc

References setVerboseDrawLevel, and setVerboseLevel.

Member Function Documentation

void CexmcEventActionMessenger::SetNewValue ( G4UIcommand cmd,
G4String  value 
)
virtual

Reimplemented from G4UImessenger.

Definition at line 99 of file CexmcEventActionMessenger.cc.

View newest version in sPHENIX GitHub at line 99 of file CexmcEventActionMessenger.cc

References eventAction, G4UIcmdWithAnInteger::GetNewIntValue(), setVerboseDrawLevel, CexmcEventAction::SetVerboseDrawLevel(), setVerboseLevel, and CexmcEventAction::SetVerboseOnCexmcLevel().

+ Here is the call graph for this function:

Member Data Documentation

CexmcEventAction* CexmcEventActionMessenger::eventAction
private

Definition at line 65 of file CexmcEventActionMessenger.hh.

View newest version in sPHENIX GitHub at line 65 of file CexmcEventActionMessenger.hh

Referenced by SetNewValue().

G4UIcmdWithAnInteger* CexmcEventActionMessenger::setVerboseDrawLevel
private

Definition at line 69 of file CexmcEventActionMessenger.hh.

View newest version in sPHENIX GitHub at line 69 of file CexmcEventActionMessenger.hh

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

G4UIcmdWithAnInteger* CexmcEventActionMessenger::setVerboseLevel
private

Definition at line 67 of file CexmcEventActionMessenger.hh.

View newest version in sPHENIX GitHub at line 67 of file CexmcEventActionMessenger.hh

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


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