aboutsummaryrefslogtreecommitdiffstats
path: root/include/G4BeamTestPrimaryGeneratorMessenger.h
blob: 62181d0c9cb7bc319bd93533f879a46c0461dc10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef G4BeamTestPrimaryGeneratorMessenger_h
#define G4BeamTestPrimaryGeneratorMessenger_h 1

#include "G4UImessenger.hh"
#include "globals.hh"

class G4BeamTestPrimaryGeneratorAction;
class G4UIdirectory;
class G4UIcmdWithADoubleAndUnit;

//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......

class G4BeamTestPrimaryGeneratorMessenger: public G4UImessenger
{
  public:
    G4BeamTestPrimaryGeneratorMessenger(G4BeamTestPrimaryGeneratorAction* );
    virtual ~G4BeamTestPrimaryGeneratorMessenger();

    virtual void SetNewValue(G4UIcommand*, G4String);

  private:
    G4BeamTestPrimaryGeneratorAction* fG4BeamTestAction;
    G4UIdirectory*                  fGunDir;
    G4UIcmdWithADoubleAndUnit*      fPolarCmd;
};

//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......

#endif