////////////////////////////////////////////////////////////////////
/// \class GLG4PrimaryGeneratorAction
///
/// \author Glenn Horton-Smith, Feb. 1999 -- not on SNO+
/// \author Phil Jones
-- contact person
///
/// \brief This file is part of the GenericLAND software library.
///
/// REVISION HISTORY:\n
/// first version GLG4PrimaryGeneratorMessenger.hh by Glenn Horton-Smith, Feb. 1999
/// updated Aug. 3-17, 2001, for new GLG4PrimaryGeneratorAction
/// - 11 Oct 2016 : N. Barros - Added an extra command to pass a state string to the
/// last generator to be added
////////////////////////////////////////////////////////////////////////
#ifndef __GLG4PrimaryGeneratorMessenger_hh__
#define __GLG4PrimaryGeneratorMessenger_hh__ 1
#include "G4UImessenger.hh"
class GLG4PrimaryGeneratorAction;
class G4UIcommand;
class GLG4Gen;
class GLG4PrimaryGeneratorMessenger: public G4UImessenger
{
public:
GLG4PrimaryGeneratorMessenger(GLG4PrimaryGeneratorAction* myGun);
~GLG4PrimaryGeneratorMessenger();
void SetNewValue(G4UIcommand * command,G4String newValues);
G4String GetCurrentValue(G4UIcommand * command);
private:
GLG4PrimaryGeneratorAction* fMyAction;
GLG4Gen* fLastGen;
G4UIcommand* fListCmd;
G4UIcommand* fGunCmd;
G4UIcommand* fGenAddCmd;
G4UIcommand* fGenSetCmd;
G4UIcommand* fRateSetCmd;
G4UIcommand* fVtxSetCmd;
G4UIcommand* fPosSetCmd;
G4UIcommand* fEventWindowCmd;
};
#endif