ACTARSim
ACTAR TPC Simulation Reference Guide
ActarSimPhysicsListMessenger.hh
Go to the documentation of this file.
1 // - AUTHOR: Hector Alvarez-Pol 03/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 ActarSimPhysicsListMessenger_h
11 #define ActarSimPhysicsListMessenger_h 1
12 
13 #include "globals.hh"
14 #include "G4UImessenger.hh"
15 
17 class G4UIdirectory;
18 class G4UIcmdWithADoubleAndUnit;
19 class G4UIcmdWithAString;
20 class G4UIcmdWithAnInteger;
21 
22 class ActarSimPhysicsListMessenger: public G4UImessenger {
23 private:
24  ActarSimPhysicsList* pPhysicsList; ///< Pointer to the Physic List
25 
26  G4UIdirectory* physDir; ///< Directory
27  G4UIcmdWithADoubleAndUnit* gammaCutCmd; ///< Set gamma cut
28  G4UIcmdWithADoubleAndUnit* electCutCmd; ///< Set electron cut
29  G4UIcmdWithADoubleAndUnit* protoCutCmd; ///< Set positron cut
30  G4UIcmdWithADoubleAndUnit* allCutCmd; ///< Set cut for all
31  G4UIcmdWithAnInteger* verbCmd; ///< Set verbose level for processes
32  G4UIcmdWithAString* pListCmd; ///< Add modula physics list
33  G4UIcmdWithAString* RmPListCmd; ///< Remove all modula physics list
34 
35 public:
38 
39  void SetNewValue(G4UIcommand*, G4String);
40 };
41 #endif
G4UIcmdWithADoubleAndUnit * allCutCmd
Set cut for all.
G4UIcmdWithADoubleAndUnit * protoCutCmd
Set positron cut.
ActarSimPhysicsList * pPhysicsList
Pointer to the Physic List.
G4UIcmdWithAnInteger * verbCmd
Set verbose level for processes.
ActarSimPhysicsListMessenger(ActarSimPhysicsList *)
G4UIcmdWithAString * RmPListCmd
Remove all modula physics list.
G4UIcmdWithAString * pListCmd
Add modula physics list.
G4UIcmdWithADoubleAndUnit * electCutCmd
Set electron cut.
G4UIcmdWithADoubleAndUnit * gammaCutCmd
Set gamma cut.
void SetNewValue(G4UIcommand *, G4String)
Setting the values using the ActarSimPhysicsList interface.