ACTARSim
ACTAR TPC Simulation Reference Guide
ActarSimEventActionMessenger.hh
Go to the documentation of this file.
1 // - AUTHOR: Hector Alvarez-Pol 11/2004
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 ActarSimEventActionMessenger_h
11 #define ActarSimEventActionMessenger_h 1
12 
13 #include "globals.hh"
14 #include "G4UImessenger.hh"
15 
17 class G4UIdirectory;
18 class G4UIcmdWithAString;
19 class G4UIcmdWithAnInteger;
20 
21 class ActarSimEventActionMessenger: public G4UImessenger {
22 private:
23  ActarSimEventAction* eventAction; ///< Pointer to event action class
24  G4UIdirectory* eventDir; ///< Directory for the commands
25  G4UIcmdWithAString* DrawCmd; ///< Draw the tracks in the event
26  G4UIcmdWithAnInteger* PrintCmd; ///< Print events modulo n
27 
28 public:
31 
32  void SetNewValue(G4UIcommand*, G4String);
33 };
34 #endif
G4UIcmdWithAnInteger * PrintCmd
Print events modulo n.
G4UIdirectory * eventDir
Directory for the commands.
ActarSimEventActionMessenger(ActarSimEventAction *)
void SetNewValue(G4UIcommand *, G4String)
Setting the values using the ActarSimEventAction interface.
G4UIcmdWithAString * DrawCmd
Draw the tracks in the event.
ActarSimEventAction * eventAction
Pointer to event action class.