39 using namespace G4Analysis;
45 fSetActivationCmd(nullptr),
46 fSetActivationAllCmd(nullptr)
48 fNtupleDir = G4Analysis::make_unique<G4UIdirectory>(
"/analysis/ntuple/");
68 ntupleId->SetGuidance(
"Ntuple id");
69 ntupleId->SetParameterRange(
"NtupleId>=0");
71 auto ntupleActivation =
new G4UIparameter(
"NtupleActivation",
's',
true);
72 ntupleActivation->SetGuidance(
"Ntuple activation");
73 ntupleActivation->SetDefaultValue(
"none");
75 fSetActivationCmd = G4Analysis::make_unique<G4UIcommand>(
"/analysis/ntuple/setActivation",
this);
76 G4String guidance(
"Set activation for the ntuple of given id");
88 = G4Analysis::make_unique<G4UIcmdWithABool>(
"/analysis/ntuple/setActivationToAll",
this);
89 G4String guidance(
"Set activation to all ntuples");
117 <<
"\" parameters: " << parameters.size()