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

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

+ Inheritance diagram for G4NtupleMessenger:
+ Collaboration diagram for G4NtupleMessenger:

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

G4VAnalysisManagerfManager
 Associated class.
 
std::unique_ptr< G4UIdirectoryfNtupleDir
 
std::unique_ptr< G4UIcommandfSetActivationCmd
 
std::unique_ptr< G4UIcmdWithABoolfSetActivationAllCmd
 

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 44 of file G4NtupleMessenger.hh.

View newest version in sPHENIX GitHub at line 44 of file G4NtupleMessenger.hh

Constructor & Destructor Documentation

G4NtupleMessenger::G4NtupleMessenger ( G4VAnalysisManager manager)
explicit

Definition at line 42 of file G4NtupleMessenger.cc.

View newest version in sPHENIX GitHub at line 42 of file G4NtupleMessenger.cc

References fNtupleDir, SetActivationCmd(), and SetActivationToAllCmd().

+ Here is the call graph for this function:

G4NtupleMessenger::~G4NtupleMessenger ( )
virtual

Definition at line 56 of file G4NtupleMessenger.cc.

View newest version in sPHENIX GitHub at line 56 of file G4NtupleMessenger.cc

Member Function Documentation

void G4NtupleMessenger::SetActivationCmd ( )
private

Definition at line 65 of file G4NtupleMessenger.cc.

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

References fSetActivationCmd, G4State_Idle, and G4State_PreInit.

Referenced by G4NtupleMessenger().

+ Here is the caller graph for this function:

void G4NtupleMessenger::SetActivationToAllCmd ( )
private

Definition at line 85 of file G4NtupleMessenger.cc.

View newest version in sPHENIX GitHub at line 85 of file G4NtupleMessenger.cc

References fSetActivationAllCmd.

Referenced by G4NtupleMessenger().

+ Here is the caller graph for this function:

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

Reimplemented from G4UImessenger.

Definition at line 99 of file G4NtupleMessenger.cc.

View newest version in sPHENIX GitHub at line 99 of file G4NtupleMessenger.cc

References G4UIcommand::ConvertToBool(), G4UIcommand::ConvertToInt(), fManager, fSetActivationAllCmd, fSetActivationCmd, G4endl, G4Exception(), G4UIcommand::GetCommandName(), G4UIcommand::GetParameterEntries(), JustWarning, Dataset::parameters, G4VAnalysisManager::SetNtupleActivation(), and G4Analysis::Tokenize().

+ Here is the call graph for this function:

Member Data Documentation

G4VAnalysisManager* G4NtupleMessenger::fManager
private

Associated class.

Definition at line 57 of file G4NtupleMessenger.hh.

View newest version in sPHENIX GitHub at line 57 of file G4NtupleMessenger.hh

Referenced by SetNewValue().

std::unique_ptr<G4UIdirectory> G4NtupleMessenger::fNtupleDir
private

Definition at line 59 of file G4NtupleMessenger.hh.

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

Referenced by G4NtupleMessenger().

std::unique_ptr<G4UIcmdWithABool> G4NtupleMessenger::fSetActivationAllCmd
private

Definition at line 61 of file G4NtupleMessenger.hh.

View newest version in sPHENIX GitHub at line 61 of file G4NtupleMessenger.hh

Referenced by SetActivationToAllCmd(), and SetNewValue().

std::unique_ptr<G4UIcommand> G4NtupleMessenger::fSetActivationCmd
private

Definition at line 60 of file G4NtupleMessenger.hh.

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

Referenced by SetActivationCmd(), and SetNewValue().


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