17 #include "G4UIdirectory.hh" 18 #include "G4UIcmdWithAString.hh" 19 #include "G4UIcmdWithADoubleAndUnit.hh" 20 #include "G4UIcmdWithAnInteger.hh" 33 :analExample(analEx) {
34 analDir =
new G4UIdirectory(
"/ActarSim/analControl/");
35 analDir->SetGuidance(
"Analysis control");
37 storeTracksCmd =
new G4UIcmdWithAString(
"/ActarSim/analControl/storeTracks",
this);
38 storeTracksCmd->SetGuidance(
"Store the tracks in the output Tree");
45 storeTrackHistosCmd =
new G4UIcmdWithAString(
"/ActarSim/analControl/storeTrackHistos",
this);
53 storeEventsCmd =
new G4UIcmdWithAString(
"/ActarSim/analControl/storeEvents",
this);
54 storeEventsCmd->SetGuidance(
"Store the events in the output Tree");
69 storeHistosCmd =
new G4UIcmdWithAString(
"/ActarSim/analControl/storeHistograms",
this);
70 storeHistosCmd->SetGuidance(
"Store histograms in the output Tree");
77 setMinStrideLengthCmd =
new G4UIcmdWithADoubleAndUnit(
"/ActarSim/analControl/setMinStrideLength",
this);
79 setMinStrideLengthCmd->SetGuidance(
"Specifies the minimum length of the strides in the simpleTracks approximation.");
ActarSimAnalysisMessenger(ActarSimROOTAnalysis *)
void SetStoreTracksFlag(G4String val)
G4UIcmdWithAString * storeSimpleTracksCmd
Store the simple tracks in the output Tree.
void SetStoreHistogramsFlag(G4String val)
G4UIcmdWithAString * storeTracksCmd
Store the tracks in the output Tree.
void SetStoreEventsFlag(G4String val)
void SetMinStrideLength(Double_t value)
Setter of the minimum stride length in the gas.
G4UIcmdWithADoubleAndUnit * setMinStrideLengthCmd
Sets the minimum value for the stride length.
void SetStoreTrackHistosFlag(G4String val)
G4UIdirectory * analDir
Directory in messenger structure.
void SetStoreSimpleTracksFlag(G4String val)
ActarSimROOTAnalysis * analExample
Pointer to main analysis class.
G4UIcmdWithAString * storeHistosCmd
Store histograms in the output Tree.
G4UIcmdWithAString * storeTrackHistosCmd
Store the tracks in Histograms.
void SetNewValue(G4UIcommand *, G4String)
Setting the values using the ActarSimROOTAnalysis interface.
~ActarSimAnalysisMessenger()
Destructor.
G4UIcmdWithAString * storeEventsCmd
Store the events in the output Tree.