4 // Messenger class that defines commands for AliPrimaryGeneratorAction.
6 #ifndef ALI_PRIMARY_GENERATOR_MESSENGER_H
7 #define ALI_PRIMARY_GENERATOR_MESSENGER_H
9 #include <G4UImessenger.hh>
12 class AliPrimaryGeneratorAction;
15 class G4UIcmdWithAString;
16 class G4UIcmdWithAnInteger;
18 class AliPrimaryGeneratorMessenger: public G4UImessenger
21 AliPrimaryGeneratorMessenger(AliPrimaryGeneratorAction* primaryGenAction);
23 // AliPrimaryGeneratorMessenger();
24 // AliPrimaryGeneratorMessenger(const AliPrimaryGeneratorMessenger& right);
25 virtual ~AliPrimaryGeneratorMessenger();
28 void SetNewValue(G4UIcommand* command, G4String string);
31 AliPrimaryGeneratorMessenger();
32 AliPrimaryGeneratorMessenger(const AliPrimaryGeneratorMessenger& right);
35 AliPrimaryGeneratorMessenger& operator=(
36 const AliPrimaryGeneratorMessenger& right);
40 AliPrimaryGeneratorAction* fPrimaryGenAction; //associated class
41 G4UIdirectory* fPrimariesDirectory; //command directory
42 G4UIcmdWithAString* fGeneratorCmd; //command: set
43 G4UIcmdWithAnInteger* fNofParticlesCmd; //command: nofParticles
44 G4UIcmdWithAnInteger* fVerboseCmd; //command: verbose
47 #endif //ALI_PRIMARY_GENERATOR_MESSENGER_H