Files
geant4/source/run/include/G4UserPhysicsListMessenger.hh
T
2016-06-01 15:25:35 +02:00

75 lines
2.3 KiB
C++

// This code implementation is the intellectual property of
// the RD44 GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4UserPhysicsListMessenger.hh,v 2.3 1998/07/12 16:03:36 kurasige Exp $
// GEANT4 tag $Name: geant4-00 $
//
//
//---------------------------------------------------------------
//
// G4UserPhysicsListMessenger.hh
//
// Description:
// This is a messenger class to interface to exchange information
// between ParticleUserList and UI.
//
// ------------------------------------------------------
// the List of Directory and Commands
// ------------------------------------------------------
// /run/particle/ Paricle control commands.
// Commands :
// SetCuts * Set default cut value
// DumpList * Dump List of particles in G4VUserPhysicsList.
// dumpCutValue * Dump cut value information
// Verbose * Set the Verbose level of G4VUserPhysicsList.
// ------------------------------------------------------------
// History
// first version 09 Jan. 1998 by H.Kurashige
// second version 24 Jan. 1998 by H.Kurashige
// ------------------------------------------------------------
#ifndef G4UserPhysicsListMessenger_h
#define G4UserPhysicsListMessenger_h 1
class G4VUserPhysicsList;
class G4VUserPhysicsList;
class G4UIdirectory;
class G4UIcmdWithoutParameter;
class G4UIcmdWithAnInteger;
class G4UIcmdWithADoubleAndUnit;
class G4UIcmdWithAString;
#include "G4UImessenger.hh"
#include "globals.hh"
class G4UserPhysicsListMessenger: public G4UImessenger
{
public:
G4UserPhysicsListMessenger(G4VUserPhysicsList* pParticleList);
virtual ~G4UserPhysicsListMessenger();
public:
void SetNewValue(G4UIcommand * command,G4String newValues);
G4String GetCurrentValue(G4UIcommand * command);
protected:
G4VUserPhysicsList* theParticleList;
private: //commands
G4UIdirectory * theDirectory;
G4UIcmdWithADoubleAndUnit * setCutCmd;
G4UIcmdWithAnInteger * verboseCmd;
G4UIcmdWithoutParameter * dumpListCmd;
G4UIcmdWithAString * dumpCutValuesCmd;
G4UIcmdWithAString * addProcManCmd;
};
#endif