/home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/cmd/include/RAT/CoincidenceMessenger.hh Source File

Ratpac-two: /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/cmd/include/RAT/CoincidenceMessenger.hh Source File
Ratpac-two
CoincidenceMessenger.hh
1 // RAT::CoincidenceMessenger
2 // 16 July 2008 JR Wilson
3 
4 // Provide user commands to allow the user to change
5 // the Coincidence parameters via the command line.
6 
7 #ifndef RAT_CoincidenceMessenger_hh
8 #define RAT_CoincidenceMessenger_hh
9 
10 #include <RAT/Coincidence_Gen.hh>
11 
12 #include "G4String.hh"
13 #include "G4UImessenger.hh"
14 
15 // Forward declarations
16 class G4UIcommand;
17 class G4UIcmdWithADouble;
18 class G4UIcmdWithABool;
19 
20 namespace RAT {
21 
22 // Foward declarations in namespace
23 class Coincidence_Gen;
24 
25 class CoincidenceMessenger : public G4UImessenger {
26  public:
29 
30  void SetNewValue(G4UIcommand *command, G4String newValues);
31  G4String GetCurrentValue(G4UIcommand *command);
32 
33  private:
34  Coincidence_Gen *Co_gen;
35 
36  G4UIcommand *GenAddCmd;
37  G4UIcommand *VtxSetCmd;
38  G4UIcommand *PosSetCmd;
39  G4UIcommand *ERangeCmd;
40  G4UIcommand *ExpCmd;
41  G4UIcmdWithABool *ExpForceWinCmd;
42  G4UIcmdWithADouble *TimeWinCmd;
43 };
44 
45 } // namespace RAT
46 
47 #endif // RAT_CoincidenceMessenger_hh
Definition: CoincidenceMessenger.hh:25
Definition: Coincidence_Gen.hh:35
Definition: CCCrossSecMessenger.hh:29