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

#include <geant4/tree/geant4-10.6-release/source/analysis/management/include/G4HnMessenger.hh>

+ Inheritance diagram for G4HnMessenger:
+ Collaboration diagram for G4HnMessenger:

Public Member Functions

 G4HnMessenger (G4HnManager &manager)
 
virtual ~G4HnMessenger ()
 
virtual void SetNewValue (G4UIcommand *command, G4String value) final
 
- 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 Member Functions

void SetHnAsciiCmd ()
 
void SetHnActivationCmd ()
 
void SetHnActivationToAllCmd ()
 
void SetHnPlottingCmd ()
 
void SetHnPlottingToAllCmd ()
 

Private Attributes

G4HnManagerfManager
 Associated class.
 
std::unique_ptr
< G4AnalysisMessengerHelper
fHelper
 
std::unique_ptr
< G4UIcmdWithAnInteger
fSetHnAsciiCmd
 
std::unique_ptr< G4UIcommandfSetHnActivationCmd
 
std::unique_ptr< G4UIcmdWithABoolfSetHnActivationAllCmd
 
std::unique_ptr< G4UIcommandfSetHnPlottingCmd
 
std::unique_ptr< G4UIcmdWithABoolfSetHnPlottingAllCmd
 

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 46 of file G4HnMessenger.hh.

View newest version in sPHENIX GitHub at line 46 of file G4HnMessenger.hh

Constructor & Destructor Documentation

G4HnMessenger::G4HnMessenger ( G4HnManager manager)
explicit

Definition at line 43 of file G4HnMessenger.cc.

View newest version in sPHENIX GitHub at line 43 of file G4HnMessenger.cc

References fHelper, fManager, G4HnManager::GetHnType(), SetHnActivationCmd(), SetHnActivationToAllCmd(), SetHnAsciiCmd(), SetHnPlottingCmd(), SetHnPlottingToAllCmd(), and G4String::toLower().

+ Here is the call graph for this function:

G4HnMessenger::~G4HnMessenger ( )
virtual

Definition at line 65 of file G4HnMessenger.cc.

View newest version in sPHENIX GitHub at line 65 of file G4HnMessenger.cc

Member Function Documentation

void G4HnMessenger::SetHnActivationCmd ( )
private

Definition at line 86 of file G4HnMessenger.cc.

View newest version in sPHENIX GitHub at line 86 of file G4HnMessenger.cc

References fHelper, fSetHnActivationCmd, G4State_Idle, and G4State_PreInit.

Referenced by G4HnMessenger().

+ Here is the caller graph for this function:

void G4HnMessenger::SetHnActivationToAllCmd ( )
private

Definition at line 106 of file G4HnMessenger.cc.

View newest version in sPHENIX GitHub at line 106 of file G4HnMessenger.cc

References fHelper, and fSetHnActivationAllCmd.

Referenced by G4HnMessenger().

+ Here is the caller graph for this function:

void G4HnMessenger::SetHnAsciiCmd ( )
private

Definition at line 73 of file G4HnMessenger.cc.

View newest version in sPHENIX GitHub at line 73 of file G4HnMessenger.cc

References fHelper, fSetHnAsciiCmd, G4State_Idle, and G4State_PreInit.

Referenced by G4HnMessenger().

+ Here is the caller graph for this function:

void G4HnMessenger::SetHnPlottingCmd ( )
private

Definition at line 116 of file G4HnMessenger.cc.

View newest version in sPHENIX GitHub at line 116 of file G4HnMessenger.cc

References fHelper, fSetHnPlottingCmd, G4State_Idle, and G4State_PreInit.

Referenced by G4HnMessenger().

+ Here is the caller graph for this function:

void G4HnMessenger::SetHnPlottingToAllCmd ( )
private

Definition at line 136 of file G4HnMessenger.cc.

View newest version in sPHENIX GitHub at line 136 of file G4HnMessenger.cc

References fHelper, and fSetHnPlottingAllCmd.

Referenced by G4HnMessenger().

+ Here is the caller graph for this function:

void G4HnMessenger::SetNewValue ( G4UIcommand command,
G4String  value 
)
finalvirtual

Reimplemented from G4UImessenger.

Definition at line 150 of file G4HnMessenger.cc.

View newest version in sPHENIX GitHub at line 150 of file G4HnMessenger.cc

References G4UIcommand::ConvertToBool(), G4UIcommand::ConvertToInt(), fHelper, fManager, fSetHnActivationAllCmd, fSetHnActivationCmd, fSetHnAsciiCmd, fSetHnPlottingAllCmd, fSetHnPlottingCmd, G4UIcommand::GetParameterEntries(), Dataset::parameters, G4HnManager::SetActivation(), G4HnManager::SetAscii(), G4HnManager::SetPlotting(), and G4Analysis::Tokenize().

+ Here is the call graph for this function:

Member Data Documentation

std::unique_ptr<G4AnalysisMessengerHelper> G4HnMessenger::fHelper
private

Definition at line 63 of file G4HnMessenger.hh.

View newest version in sPHENIX GitHub at line 63 of file G4HnMessenger.hh

Referenced by G4HnMessenger(), SetHnActivationCmd(), SetHnActivationToAllCmd(), SetHnAsciiCmd(), SetHnPlottingCmd(), SetHnPlottingToAllCmd(), and SetNewValue().

G4HnManager& G4HnMessenger::fManager
private

Associated class.

Definition at line 62 of file G4HnMessenger.hh.

View newest version in sPHENIX GitHub at line 62 of file G4HnMessenger.hh

Referenced by G4HnMessenger(), and SetNewValue().

std::unique_ptr<G4UIcmdWithABool> G4HnMessenger::fSetHnActivationAllCmd
private

Definition at line 67 of file G4HnMessenger.hh.

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

Referenced by SetHnActivationToAllCmd(), and SetNewValue().

std::unique_ptr<G4UIcommand> G4HnMessenger::fSetHnActivationCmd
private

Definition at line 66 of file G4HnMessenger.hh.

View newest version in sPHENIX GitHub at line 66 of file G4HnMessenger.hh

Referenced by SetHnActivationCmd(), and SetNewValue().

std::unique_ptr<G4UIcmdWithAnInteger> G4HnMessenger::fSetHnAsciiCmd
private

Definition at line 65 of file G4HnMessenger.hh.

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

Referenced by SetHnAsciiCmd(), and SetNewValue().

std::unique_ptr<G4UIcmdWithABool> G4HnMessenger::fSetHnPlottingAllCmd
private

Definition at line 69 of file G4HnMessenger.hh.

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

Referenced by SetHnPlottingToAllCmd(), and SetNewValue().

std::unique_ptr<G4UIcommand> G4HnMessenger::fSetHnPlottingCmd
private

Definition at line 68 of file G4HnMessenger.hh.

View newest version in sPHENIX GitHub at line 68 of file G4HnMessenger.hh

Referenced by SetHnPlottingCmd(), and SetNewValue().


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