Geant4
10.02.p02
|
#include <G4NtupleMessenger.hh>
Public Member Functions | |
G4NtupleMessenger (G4VAnalysisManager *manager) | |
virtual | ~G4NtupleMessenger () |
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 | SetActivationCmd () |
void | SetActivationToAllCmd () |
Private Attributes | |
G4VAnalysisManager * | fManager |
Associated class. More... | |
std::unique_ptr< G4UIdirectory > | fNtupleDir |
std::unique_ptr< G4UIcommand > | fSetActivationCmd |
std::unique_ptr< G4UIcmdWithABool > | fSetActivationAllCmd |
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 | |
G4UIdirectory * | baseDir |
G4String | baseDirName |
G4bool | commandsShouldBeInMaster |
Definition at line 45 of file G4NtupleMessenger.hh.
|
explicit |
Definition at line 43 of file G4NtupleMessenger.cc.
References fNtupleDir, SetActivationCmd(), and SetActivationToAllCmd().
|
virtual |
Definition at line 57 of file G4NtupleMessenger.cc.
|
private |
Definition at line 66 of file G4NtupleMessenger.cc.
References fSetActivationCmd, G4State_Idle, and G4State_PreInit.
Referenced by G4NtupleMessenger().
|
private |
Definition at line 86 of file G4NtupleMessenger.cc.
References fSetActivationAllCmd.
Referenced by G4NtupleMessenger().
|
finalvirtual |
Reimplemented from G4UImessenger.
Definition at line 100 of file G4NtupleMessenger.cc.
References G4UIcommand::ConvertToBool(), G4UIcommand::ConvertToInt(), fManager, fSetActivationAllCmd, fSetActivationCmd, G4endl, G4Exception(), G4UIcommand::GetCommandName(), G4UIcommand::GetParameterEntries(), JustWarning, G4VAnalysisManager::SetNtupleActivation(), and G4Analysis::Tokenize().
|
private |
|
private |
Definition at line 60 of file G4NtupleMessenger.hh.
Referenced by G4NtupleMessenger().
|
private |
Definition at line 62 of file G4NtupleMessenger.hh.
Referenced by SetActivationToAllCmd(), and SetNewValue().
|
private |
Definition at line 61 of file G4NtupleMessenger.hh.
Referenced by SetActivationCmd(), and SetNewValue().