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

#include <geant4/tree/geant4-10.6-release/source/persistency/mctruth/include/G4PersistencyCenterMessenger.hh>

+ Inheritance diagram for G4PersistencyCenterMessenger:
+ Collaboration diagram for G4PersistencyCenterMessenger:

Public Member Functions

 G4PersistencyCenterMessenger (G4PersistencyCenter *p)
 
 ~G4PersistencyCenterMessenger ()
 
void SetNewValue (G4UIcommand *command, G4String newValues)
 
G4String GetCurrentValue (G4UIcommand *command)
 
- Public Member Functions inherited from G4UImessenger
 G4UImessenger ()
 
 G4UImessenger (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true)
 
virtual ~G4UImessenger ()
 
G4bool operator== (const G4UImessenger &messenger) const
 
G4bool CommandsShouldBeInMaster () const
 

Private Member Functions

std::string PopWord (std::string text, int n, std::string delim)
 

Private Attributes

G4PersistencyCenterpc
 
G4UIdirectorydirectory
 
G4UIdirectorysubdir1
 
G4UIdirectorysubdir2
 
G4UIdirectorysubdir3
 
G4UIdirectorysubdir4
 
G4UIdirectorysubdir5
 
G4UIcmdWithAnIntegerverboseCmd
 
G4UIcmdWithAStringselect
 
G4UIcmdWithAStringregHitIO
 
std::vector< std::string > wrObj
 
std::vector< std::string > rdObj
 
std::vector< G4UIcmdWithAString * > storeObj
 
std::vector< G4UIcmdWithAString * > setWrFile
 
std::vector< G4UIcmdWithAString * > setRdFile
 
G4UIcmdWithoutParameterprintAll
 

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 G4PersistencyCenterMessenger.hh.

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

Constructor & Destructor Documentation

G4PersistencyCenterMessenger::G4PersistencyCenterMessenger ( G4PersistencyCenter p)

Definition at line 34 of file G4PersistencyCenterMessenger.cc.

View newest version in sPHENIX GitHub at line 34 of file G4PersistencyCenterMessenger.cc

References directory, printAll, rdObj, regHitIO, select, G4UIcmdWithAString::SetCandidates(), G4UIcmdWithAnInteger::SetDefaultValue(), G4UIcommand::SetGuidance(), G4UIcmdWithAString::SetParameterName(), G4UIcmdWithAnInteger::SetParameterName(), G4UIcommand::SetRange(), setRdFile, setWrFile, storeObj, subdir1, subdir2, subdir3, subdir4, subdir5, verboseCmd, and wrObj.

+ Here is the call graph for this function:

G4PersistencyCenterMessenger::~G4PersistencyCenterMessenger ( )

Definition at line 131 of file G4PersistencyCenterMessenger.cc.

View newest version in sPHENIX GitHub at line 131 of file G4PersistencyCenterMessenger.cc

References directory, printAll, regHitIO, select, setRdFile, setWrFile, storeObj, subdir1, subdir2, subdir3, subdir4, subdir5, and verboseCmd.

Member Function Documentation

G4String G4PersistencyCenterMessenger::GetCurrentValue ( G4UIcommand command)
virtual

Reimplemented from G4UImessenger.

Definition at line 203 of file G4PersistencyCenterMessenger.cc.

View newest version in sPHENIX GitHub at line 203 of file G4PersistencyCenterMessenger.cc

References G4PersistencyCenter::CurrentHCIOmanager(), G4PersistencyCenter::CurrentReadFile(), G4PersistencyCenter::CurrentStoreMode(), G4PersistencyCenter::CurrentSystem(), G4PersistencyCenter::CurrentWriteFile(), kOff, kOn, kRecycle, pc, rdObj, regHitIO, select, setRdFile, setWrFile, storeObj, verboseCmd, G4PersistencyCenter::VerboseLevel(), and wrObj.

+ Here is the call graph for this function:

std::string G4PersistencyCenterMessenger::PopWord ( std::string  text,
int  n,
std::string  delim 
)
private

Definition at line 254 of file G4PersistencyCenterMessenger.cc.

View newest version in sPHENIX GitHub at line 254 of file G4PersistencyCenterMessenger.cc

References n.

Referenced by SetNewValue().

+ Here is the caller graph for this function:

void G4PersistencyCenterMessenger::SetNewValue ( G4UIcommand command,
G4String  newValues 
)
virtual

Reimplemented from G4UImessenger.

Definition at line 152 of file G4PersistencyCenterMessenger.cc.

View newest version in sPHENIX GitHub at line 152 of file G4PersistencyCenterMessenger.cc

References G4PersistencyCenter::AddHCIOmanager(), G4cerr, G4endl, G4UIcmdWithAnInteger::GetNewIntValue(), kOff, kOn, kRecycle, pc, PopWord(), printAll, G4PersistencyCenter::PrintAll(), rdObj, regHitIO, select, G4PersistencyCenter::SelectSystem(), setRdFile, G4PersistencyCenter::SetStoreMode(), G4PersistencyCenter::SetVerboseLevel(), setWrFile, G4PersistencyCenter::SetWriteFile(), storeObj, verboseCmd, and wrObj.

+ Here is the call graph for this function:

Member Data Documentation

G4UIdirectory* G4PersistencyCenterMessenger::directory
private

Definition at line 70 of file G4PersistencyCenterMessenger.hh.

View newest version in sPHENIX GitHub at line 70 of file G4PersistencyCenterMessenger.hh

Referenced by G4PersistencyCenterMessenger(), and ~G4PersistencyCenterMessenger().

G4PersistencyCenter* G4PersistencyCenterMessenger::pc
private

Definition at line 69 of file G4PersistencyCenterMessenger.hh.

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

Referenced by GetCurrentValue(), and SetNewValue().

G4UIcmdWithoutParameter* G4PersistencyCenterMessenger::printAll
private

Definition at line 80 of file G4PersistencyCenterMessenger.hh.

View newest version in sPHENIX GitHub at line 80 of file G4PersistencyCenterMessenger.hh

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

std::vector<std::string> G4PersistencyCenterMessenger::rdObj
private

Definition at line 76 of file G4PersistencyCenterMessenger.hh.

View newest version in sPHENIX GitHub at line 76 of file G4PersistencyCenterMessenger.hh

Referenced by G4PersistencyCenterMessenger(), GetCurrentValue(), and SetNewValue().

G4UIcmdWithAString* G4PersistencyCenterMessenger::regHitIO
private

Definition at line 74 of file G4PersistencyCenterMessenger.hh.

View newest version in sPHENIX GitHub at line 74 of file G4PersistencyCenterMessenger.hh

Referenced by G4PersistencyCenterMessenger(), GetCurrentValue(), SetNewValue(), and ~G4PersistencyCenterMessenger().

G4UIcmdWithAString* G4PersistencyCenterMessenger::select
private

Definition at line 73 of file G4PersistencyCenterMessenger.hh.

View newest version in sPHENIX GitHub at line 73 of file G4PersistencyCenterMessenger.hh

Referenced by G4PersistencyCenterMessenger(), GetCurrentValue(), SetNewValue(), and ~G4PersistencyCenterMessenger().

std::vector<G4UIcmdWithAString*> G4PersistencyCenterMessenger::setRdFile
private

Definition at line 79 of file G4PersistencyCenterMessenger.hh.

View newest version in sPHENIX GitHub at line 79 of file G4PersistencyCenterMessenger.hh

Referenced by G4PersistencyCenterMessenger(), GetCurrentValue(), SetNewValue(), and ~G4PersistencyCenterMessenger().

std::vector<G4UIcmdWithAString*> G4PersistencyCenterMessenger::setWrFile
private

Definition at line 78 of file G4PersistencyCenterMessenger.hh.

View newest version in sPHENIX GitHub at line 78 of file G4PersistencyCenterMessenger.hh

Referenced by G4PersistencyCenterMessenger(), GetCurrentValue(), SetNewValue(), and ~G4PersistencyCenterMessenger().

std::vector<G4UIcmdWithAString*> G4PersistencyCenterMessenger::storeObj
private

Definition at line 77 of file G4PersistencyCenterMessenger.hh.

View newest version in sPHENIX GitHub at line 77 of file G4PersistencyCenterMessenger.hh

Referenced by G4PersistencyCenterMessenger(), GetCurrentValue(), SetNewValue(), and ~G4PersistencyCenterMessenger().

G4UIdirectory * G4PersistencyCenterMessenger::subdir1
private

Definition at line 70 of file G4PersistencyCenterMessenger.hh.

View newest version in sPHENIX GitHub at line 70 of file G4PersistencyCenterMessenger.hh

Referenced by G4PersistencyCenterMessenger(), and ~G4PersistencyCenterMessenger().

G4UIdirectory * G4PersistencyCenterMessenger::subdir2
private

Definition at line 70 of file G4PersistencyCenterMessenger.hh.

View newest version in sPHENIX GitHub at line 70 of file G4PersistencyCenterMessenger.hh

Referenced by G4PersistencyCenterMessenger(), and ~G4PersistencyCenterMessenger().

G4UIdirectory * G4PersistencyCenterMessenger::subdir3
private

Definition at line 70 of file G4PersistencyCenterMessenger.hh.

View newest version in sPHENIX GitHub at line 70 of file G4PersistencyCenterMessenger.hh

Referenced by G4PersistencyCenterMessenger(), and ~G4PersistencyCenterMessenger().

G4UIdirectory * G4PersistencyCenterMessenger::subdir4
private

Definition at line 70 of file G4PersistencyCenterMessenger.hh.

View newest version in sPHENIX GitHub at line 70 of file G4PersistencyCenterMessenger.hh

Referenced by G4PersistencyCenterMessenger(), and ~G4PersistencyCenterMessenger().

G4UIdirectory * G4PersistencyCenterMessenger::subdir5
private

Definition at line 70 of file G4PersistencyCenterMessenger.hh.

View newest version in sPHENIX GitHub at line 70 of file G4PersistencyCenterMessenger.hh

Referenced by G4PersistencyCenterMessenger(), and ~G4PersistencyCenterMessenger().

G4UIcmdWithAnInteger* G4PersistencyCenterMessenger::verboseCmd
private

Definition at line 72 of file G4PersistencyCenterMessenger.hh.

View newest version in sPHENIX GitHub at line 72 of file G4PersistencyCenterMessenger.hh

Referenced by G4PersistencyCenterMessenger(), GetCurrentValue(), SetNewValue(), and ~G4PersistencyCenterMessenger().

std::vector<std::string> G4PersistencyCenterMessenger::wrObj
private

Definition at line 75 of file G4PersistencyCenterMessenger.hh.

View newest version in sPHENIX GitHub at line 75 of file G4PersistencyCenterMessenger.hh

Referenced by G4PersistencyCenterMessenger(), GetCurrentValue(), and SetNewValue().


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