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 | |
---|
8 | class G4UIdirectory; |
---|
9 | class G4UIcmdWithAString; |
---|
10 | class G4UIcmdWithADoubleAndUnit; |
---|
11 | class G4UIcmdWith3Vector; |
---|
12 | class G4UIcmdWith3VectorAndUnit; |
---|
13 | |
---|
14 | namespace ELYSE { |
---|
15 | |
---|
16 | class PrimaryGeneratorAction; |
---|
17 | |
---|
18 | |
---|
19 | class 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.