source: ELYSE/HEAD/ELYSE/PrimaryGeneratorMessenger.hh @ 295

Last change on this file since 295 was 286, checked in by campagne, 17 years ago

ELYSE sauvegarde provisoire (JEC)

File size: 916 bytes
Line 
1#ifndef ELYSEPrimaryGeneratorMessenger_h
2#define ELYSEPrimaryGeneratorMessenger_h 1
3
4//Geant4
5#include "G4UImessenger.hh"
6#include "globals.hh"
7
8class G4UIdirectory;
9class G4UIcmdWithAString;
10class G4UIcmdWithADoubleAndUnit;
11class G4UIcmdWith3Vector;
12class G4UIcmdWith3VectorAndUnit;
13
14namespace ELYSE {
15
16class PrimaryGeneratorAction;
17
18
19class PrimaryGeneratorMessenger: public G4UImessenger {
20 public:
21  PrimaryGeneratorMessenger(PrimaryGeneratorAction* mpga);
22  virtual ~PrimaryGeneratorMessenger();
23 
24 public:
25  void     SetNewValue(G4UIcommand* command, G4String newValues);
26 
27 private:
28  PrimaryGeneratorAction* myAction;
29 
30 private: //commands
31  G4UIdirectory*      ELYSEDir;
32  G4UIcmdWithAString*          particleTypeCmd;
33  G4UIcmdWithADoubleAndUnit*   energyCmd;
34  G4UIcmdWith3Vector*          beamDirectionCmd;
35  G4UIcmdWith3VectorAndUnit*   beamVertexCmd;
36  G4UIcmdWith3Vector*   polarCmd;
37};
38}
39#endif
40
41
Note: See TracBrowser for help on using the repository browser.