Geant4  10.01.p02
G4FileMessenger Class Reference

#include <G4FileMessenger.hh>

+ Inheritance diagram for G4FileMessenger:
+ Collaboration diagram for G4FileMessenger:

Public Member Functions

 G4FileMessenger (G4VAnalysisManager *manager)
 
virtual ~G4FileMessenger ()
 
virtual void SetNewValue (G4UIcommand *command, 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
 

Public Attributes

G4VAnalysisManagerfManager
 Associated class. More...
 
G4UIcmdWithAStringfSetFileNameCmd
 
G4UIcmdWithAStringfSetHistoDirNameCmd
 
G4UIcmdWithAStringfSetNtupleDirNameCmd
 

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

Definition at line 46 of file G4FileMessenger.hh.

Constructor & Destructor Documentation

G4FileMessenger::G4FileMessenger ( G4VAnalysisManager manager)

Definition at line 37 of file G4FileMessenger.cc.

References G4UIcommand::AvailableForStates(), fSetFileNameCmd, fSetHistoDirNameCmd, fSetNtupleDirNameCmd, G4State_Idle, G4State_PreInit, G4UIcommand::SetGuidance(), and G4UIcmdWithAString::SetParameterName().

+ Here is the call graph for this function:

G4FileMessenger::~G4FileMessenger ( )
virtual

Definition at line 61 of file G4FileMessenger.cc.

References fSetFileNameCmd, fSetHistoDirNameCmd, and fSetNtupleDirNameCmd.

Member Function Documentation

void G4FileMessenger::SetNewValue ( G4UIcommand command,
G4String  value 
)
virtual

Reimplemented from G4UImessenger.

Definition at line 72 of file G4FileMessenger.cc.

References fManager, fSetFileNameCmd, fSetHistoDirNameCmd, fSetNtupleDirNameCmd, G4cout, G4endl, G4VAnalysisManager::SetFileName(), G4VAnalysisManager::SetHistoDirectoryName(), and G4VAnalysisManager::SetNtupleDirectoryName().

+ Here is the call graph for this function:

Member Data Documentation

G4VAnalysisManager* G4FileMessenger::fManager

Associated class.

Definition at line 55 of file G4FileMessenger.hh.

Referenced by SetNewValue().

G4UIcmdWithAString* G4FileMessenger::fSetFileNameCmd

Definition at line 57 of file G4FileMessenger.hh.

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

G4UIcmdWithAString* G4FileMessenger::fSetHistoDirNameCmd

Definition at line 58 of file G4FileMessenger.hh.

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

G4UIcmdWithAString* G4FileMessenger::fSetNtupleDirNameCmd

Definition at line 59 of file G4FileMessenger.hh.

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


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