| 1 |
cafagna |
1.1 |
|
| 2 |
|
|
#ifndef PrimaryGeneratorMessenger_h |
| 3 |
|
|
#define PrimaryGeneratorMessenger_h 1 |
| 4 |
|
|
|
| 5 |
|
|
#include "G4UImessenger.hh" |
| 6 |
|
|
#include "globals.hh" |
| 7 |
|
|
|
| 8 |
|
|
class PrimaryGeneratorAction; |
| 9 |
|
|
class G4UIcmdWithAString; |
| 10 |
|
|
|
| 11 |
|
|
|
| 12 |
|
|
class PrimaryGeneratorMessenger: public G4UImessenger |
| 13 |
|
|
{ |
| 14 |
|
|
public: |
| 15 |
|
|
PrimaryGeneratorMessenger(PrimaryGeneratorAction*); |
| 16 |
|
|
~PrimaryGeneratorMessenger(); |
| 17 |
|
|
|
| 18 |
|
|
void SetNewValue(G4UIcommand*, G4String); |
| 19 |
|
|
|
| 20 |
|
|
private: |
| 21 |
|
|
PrimaryGeneratorAction* Action; |
| 22 |
|
|
G4UIcmdWithAString* RndmCmd; |
| 23 |
|
|
}; |
| 24 |
|
|
|
| 25 |
|
|
#endif |
| 26 |
|
|
|
| 27 |
|
|
// 2005 by G.I.Vasilyev |