ACTARSim
ACTAR TPC Simulation Reference Guide
ActarSimAnalysisMessenger.hh
Go to the documentation of this file.
1 // - AUTHOR: Hector Alvarez-Pol 01/2006
2 /******************************************************************
3  * Copyright (C) 2005-2016, Hector Alvarez-Pol *
4  * All rights reserved. *
5  * *
6  * License according to GNU LESSER GPL (see lgpl-3.0.txt). *
7  * For the list of contributors see CREDITS. *
8  ******************************************************************/
9 
10 #ifndef ActarSimAnalysisMessenger_h
11 #define ActarSimAnalysisMessenger_h 1
12 
13 #include "globals.hh"
14 #include "G4UImessenger.hh"
15 
17 class G4UIdirectory;
18 class G4UIcmdWithAString;
19 class G4UIcmdWithADoubleAndUnit;
20 class G4UIcmdWithAnInteger;
21 
22 class ActarSimAnalysisMessenger: public G4UImessenger {
23 private:
24  ActarSimROOTAnalysis* analExample; ///< Pointer to main analysis class
25  G4UIdirectory* analDir; ///< Directory in messenger structure
26  G4UIcmdWithAString* storeTracksCmd; ///< Store the tracks in the output Tree
27  G4UIcmdWithAString* storeTrackHistosCmd; ///< Store the tracks in Histograms
28  G4UIcmdWithADoubleAndUnit* setMinStrideLengthCmd; ///< Sets the minimum value for the stride length
29  G4UIcmdWithAString* storeEventsCmd; ///< Store the events in the output Tree
30  G4UIcmdWithAString* storeSimpleTracksCmd; ///< Store the simple tracks in the output Tree
31  G4UIcmdWithAString* storeHistosCmd; ///< Store histograms in the output Tree
32 
33 public:
36 
37  void SetNewValue(G4UIcommand*, G4String);
38 };
39 #endif
ActarSimAnalysisMessenger(ActarSimROOTAnalysis *)
G4UIcmdWithAString * storeSimpleTracksCmd
Store the simple tracks in the output Tree.
G4UIcmdWithAString * storeTracksCmd
Store the tracks in the output Tree.
G4UIcmdWithADoubleAndUnit * setMinStrideLengthCmd
Sets the minimum value for the stride length.
G4UIdirectory * analDir
Directory in messenger structure.
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.
G4UIcmdWithAString * storeEventsCmd
Store the events in the output Tree.