#include <G4NtupleMessenger.hh>
Definition at line 45 of file G4NtupleMessenger.hh.
◆ G4NtupleMessenger()
Definition at line 43 of file G4NtupleMessenger.cc.
49 fNtupleDir = G4Analysis::make_unique<G4UIdirectory>(
"/analysis/ntuple/");
std::unique_ptr< G4UIdirectory > fNtupleDir
std::unique_ptr< G4UIcmdWithABool > fSetActivationAllCmd
void SetActivationToAllCmd()
G4VAnalysisManager * fManager
Associated class.
std::unique_ptr< G4UIcommand > fSetActivationCmd
◆ ~G4NtupleMessenger()
G4NtupleMessenger::~G4NtupleMessenger |
( |
| ) |
|
|
virtual |
◆ SetActivationCmd()
void G4NtupleMessenger::SetActivationCmd |
( |
| ) |
|
|
private |
Definition at line 66 of file G4NtupleMessenger.cc.
69 ntupleId->SetGuidance(
"Ntuple id");
70 ntupleId->SetParameterRange(
"NtupleId>=0");
72 auto ntupleActivation =
new G4UIparameter(
"NtupleActivation",
's',
true);
73 ntupleActivation->SetGuidance(
"Ntuple activation");
74 ntupleActivation->SetDefaultValue(
"none");
76 fSetActivationCmd = G4Analysis::make_unique<G4UIcommand>(
"/analysis/ntuple/setActivation",
this);
77 G4String guidance(
"Set activation for the ntuple of given id");
std::unique_ptr< G4UIcommand > fSetActivationCmd
◆ SetActivationToAllCmd()
void G4NtupleMessenger::SetActivationToAllCmd |
( |
| ) |
|
|
private |
Definition at line 86 of file G4NtupleMessenger.cc.
89 = G4Analysis::make_unique<G4UIcmdWithABool>(
"/analysis/ntuple/setActivationToAll",
this);
90 G4String guidance(
"Set activation to all ntuples");
std::unique_ptr< G4UIcmdWithABool > fSetActivationAllCmd
◆ SetNewValue()
Reimplemented from G4UImessenger.
Definition at line 100 of file G4NtupleMessenger.cc.
104 std::vector<G4String> parameters;
118 <<
"\" parameters: " << parameters.size()
const G4String & GetCommandName() const
std::ostringstream G4ExceptionDescription
std::unique_ptr< G4UIcmdWithABool > fSetActivationAllCmd
static G4bool ConvertToBool(const char *st)
static G4int ConvertToInt(const char *st)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
void Tokenize(const G4String &line, std::vector< G4String > &tokens)
G4VAnalysisManager * fManager
Associated class.
G4int GetParameterEntries() const
void SetNtupleActivation(G4bool activation)
std::unique_ptr< G4UIcommand > fSetActivationCmd
◆ fManager
◆ fNtupleDir
◆ fSetActivationAllCmd
◆ fSetActivationCmd
std::unique_ptr<G4UIcommand> G4NtupleMessenger::fSetActivationCmd |
|
private |
The documentation for this class was generated from the following files: