BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Simulation/BOOST/GenSim/include/GenSim/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 {
25public:
28
29public:
30 void SetNewValue( G4UIcommand* command, G4String newValues );
31 G4String GetCurrentValue( G4UIcommand* command );
32
33private:
35 G4ParticleTable* particleTable;
36
37private: // commands
38 G4UIdirectory* generatorDirectory;
39 G4UIcmdWithAString* gennamCmd;
40 G4UIcmdWithAString* genbesCmd;
41 G4UIcommand* testerCmd;
42 G4UIcommand* cosmicCmd;
43};
44
45#endif
G4String GetCurrentValue(G4UIcommand *command)
void SetNewValue(G4UIcommand *command, G4String newValues)
BesPrimaryGeneratorMessenger(BesPrimaryGeneratorAction *mpga)