BOSS 7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
BesPrimaryGeneratorMessenger.hh
Go to the documentation of this file.
1//---------------------------------------------------------------------------//
2// BOOST --- BESIII Object_Oriented Simulation Tool //
3//---------------------------------------------------------------------------//
4//Description: passing parameters to Generator TESTER and GENBES
5//Author: Liuhm
6//Created: Jun. 5, 2003
7//Modified:
8//Comment:
9//---------------------------------------------------------------------------//
10
11#ifndef BesPrimaryGeneratorMessenger_h
12#define BesPrimaryGeneratorMessenger_h 1
13
15
16class G4UIdirectory;
17class G4UIcommand;
18class G4UIcmdWithAString;
19class G4ParticleTable;
20
21#include "G4UImessenger.hh"
22#include "globals.hh"
23
24class BesPrimaryGeneratorMessenger: public G4UImessenger
25{
26 public:
29
30 public:
31 void SetNewValue(G4UIcommand * command,G4String newValues);
32 G4String GetCurrentValue(G4UIcommand * command);
33
34 private:
36 G4ParticleTable * particleTable;
37 private: //commands
38 G4UIdirectory * generatorDirectory;
39 G4UIcmdWithAString * gennamCmd;
40 G4UIcmdWithAString * genbesCmd;
41 G4UIcommand* testerCmd;
42 G4UIcommand* cosmicCmd;
43};
44
45#endif
46
47
48
49
50
G4String GetCurrentValue(G4UIcommand *command)
void SetNewValue(G4UIcommand *command, G4String newValues)