QwGeant4
QweakSimPrimaryGeneratorActionMessenger.hh
Go to the documentation of this file.
1 //=============================================================================
2 //
3 // ---------------------------
4 // | Doxygen File Information |
5 // ---------------------------
6 /**
7 
8  \file QweakSimPrimaryGeneratorActionMessenger.hh
9  $Revision: 1.3 $
10  $Date: 2006/05/05 21:33:13 $
11  \author Klaus Hans Grimm
12 
13 */
14 //=============================================================================
15 //
16 //=============================================================================
17 //
18 // ---------------------------
19 // | Doxygen Class Information |
20 // ---------------------------
21 /**
22  \class QweakSimPrimaryGeneratorActionMessenger
23 
24  \brief Scans the input file for ...
25 
26  Placeholder for a long explaination
27 
28  */
29 
30 
31 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
32 #ifndef QweakSimPrimaryGeneratorActionMessenger_h
33 #define QweakSimPrimaryGeneratorActionMessenger_h 1
34 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
35 
36 // user includes
38 
39 // user classes
41 
42 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
43 
44 class QweakSimPrimaryGeneratorActionMessenger: public G4UImessenger
45 {
46 public:
49 
50  void SetNewValue(G4UIcommand*, G4String);
51 
52 private:
53 
55 
56  G4UIdirectory* Dir;
57  G4UIcmdWithAnInteger* verboseCmd;
58  G4UIcmdWithoutParameter* resetCmd;
59  G4UIcmdWithAnInteger* InitEventCounterCmd;
60  G4UIcmdWithAString* SetParticleType_Cmd;
61  G4UIcmdWithAString* SetBeamParticleType_Cmd;
62  G4UIcmdWithAString* SetScatteredParticleType_Cmd;
63  G4UIcmdWithAString* SetPolarization_Cmd;
64 
65  G4UIcmdWithADoubleAndUnit* SetPositionX_Cmd;
66  G4UIcmdWithADoubleAndUnit* SetPositionY_Cmd;
67  G4UIcmdWithADoubleAndUnit* SetPositionZ_Cmd;
68  G4UIcmdWithADoubleAndUnit* SetDirectionX_Cmd;
69  G4UIcmdWithADoubleAndUnit* SetDirectionY_Cmd;
70 
71  G4UIcmdWithADoubleAndUnit* SetRasterSize_Cmd;
72  G4UIcmdWithADoubleAndUnit* SetRasterXmin_Cmd;
73  G4UIcmdWithADoubleAndUnit* SetRasterXmax_Cmd;
74  G4UIcmdWithADoubleAndUnit* SetRasterYmin_Cmd;
75  G4UIcmdWithADoubleAndUnit* SetRasterYmax_Cmd;
76 
77  G4double Xmin;
78  G4double Xmax;
79  G4double Ymin;
80  G4double Ymax;
81 };
82 
83 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
84 
85 #endif
86 
87 
Deal with primary particle generation and inject it in the detector.
QweakSimPrimaryGeneratorActionMessenger(QweakSimPrimaryGeneratorAction *)