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

#include <geant4/tree/geant4-10.6-release/source/analysis/management/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) 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
 

Public Attributes

G4VAnalysisManagerfManager
 Associated class.
 
std::unique_ptr
< G4UIcmdWithAString
fSetFileNameCmd
 
std::unique_ptr
< G4UIcmdWithAString
fSetHistoDirNameCmd
 
std::unique_ptr
< G4UIcmdWithAString
fSetNtupleDirNameCmd
 

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 47 of file G4FileMessenger.hh.

View newest version in sPHENIX GitHub at line 47 of file G4FileMessenger.hh

Constructor & Destructor Documentation

G4FileMessenger::G4FileMessenger ( G4VAnalysisManager manager)
explicit

Definition at line 39 of file G4FileMessenger.cc.

View newest version in sPHENIX GitHub at line 39 of file G4FileMessenger.cc

References fSetFileNameCmd, fSetHistoDirNameCmd, fSetNtupleDirNameCmd, G4State_Idle, and G4State_PreInit.

G4FileMessenger::~G4FileMessenger ( )
virtual

Definition at line 63 of file G4FileMessenger.cc.

View newest version in sPHENIX GitHub at line 63 of file G4FileMessenger.cc

Member Function Documentation

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

Reimplemented from G4UImessenger.

Definition at line 70 of file G4FileMessenger.cc.

View newest version in sPHENIX GitHub at line 70 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 56 of file G4FileMessenger.hh.

View newest version in sPHENIX GitHub at line 56 of file G4FileMessenger.hh

Referenced by SetNewValue().

std::unique_ptr<G4UIcmdWithAString> G4FileMessenger::fSetFileNameCmd

Definition at line 58 of file G4FileMessenger.hh.

View newest version in sPHENIX GitHub at line 58 of file G4FileMessenger.hh

Referenced by G4FileMessenger(), and SetNewValue().

std::unique_ptr<G4UIcmdWithAString> G4FileMessenger::fSetHistoDirNameCmd

Definition at line 59 of file G4FileMessenger.hh.

View newest version in sPHENIX GitHub at line 59 of file G4FileMessenger.hh

Referenced by G4FileMessenger(), and SetNewValue().

std::unique_ptr<G4UIcmdWithAString> G4FileMessenger::fSetNtupleDirNameCmd

Definition at line 60 of file G4FileMessenger.hh.

View newest version in sPHENIX GitHub at line 60 of file G4FileMessenger.hh

Referenced by G4FileMessenger(), and SetNewValue().


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