Import Geant4 11.0.0.beta source tree
This commit is contained in:
@@ -23,47 +23,35 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// G4UserPhysicsListMessenger
|
||||
//
|
||||
// Class description:
|
||||
//
|
||||
//
|
||||
//---------------------------------------------------------------
|
||||
//
|
||||
// G4UserPhysicsListMessenger.hh
|
||||
//
|
||||
// Class 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.
|
||||
// verbose * Set the Verbose level of G4VUserPhysicsList.
|
||||
// addProcessManager * add process manager
|
||||
// buildPhysicsTable * build physics table
|
||||
// storePhysicsTable * store physics table into files
|
||||
// retreivePhysicsTable * retreive physics table from files
|
||||
// setStoredInAscii * Switch on/off ascii mode in store/retreive Physics
|
||||
// Table
|
||||
// ------------------------------------------------------------
|
||||
// History
|
||||
// first version 09 Jan. 1998 by H.Kurashige
|
||||
// second version 24 Jan. 1998 by H.Kurashige
|
||||
// add buildPhysicsTable command 13 Apr. 1999 by H.Kurashige
|
||||
// add store/retreivePhysicsTable 08 Nov. 2000 by H.Kurashige
|
||||
// add setStoredInAscii command 12 Mar. 2001 by H.Kurashige
|
||||
// add applyCuts command 2 Aug. 2001 by H.Kurashige
|
||||
// add dumpOrderingParam command 3 May. 2011 by H.Kurashige
|
||||
// add getCutForAGivenParticle 11 June 2011 by H.Kurashige
|
||||
// ------------------------------------------------------------
|
||||
// This is a messenger class to allow exchange of information
|
||||
// between ParticleUserList and UI.
|
||||
//
|
||||
// Directory and list of commands:
|
||||
//
|
||||
// /run/particle/ Particle control commands.
|
||||
// Commands :
|
||||
// SetCuts * Set default cut value
|
||||
// dumpList * Dump List of particles in G4VUserPhysicsList.
|
||||
// verbose * Set the Verbose level of G4VUserPhysicsList.
|
||||
// addProcessManager * add process manager
|
||||
// buildPhysicsTable * build physics table
|
||||
// storePhysicsTable * store physics table into files
|
||||
// retreivePhysicsTable * retrieve physics table from files
|
||||
// setStoredInAscii * Switch on/off ascii mode in store/retrieve Physics Table
|
||||
|
||||
#ifndef G4UserPhysicsListMessenger_h
|
||||
#define G4UserPhysicsListMessenger_h 1
|
||||
// Original author: H.Kurashige, 9 January 1998
|
||||
// --------------------------------------------------------------------
|
||||
#ifndef G4UserPhysicsListMessenger_hh
|
||||
#define G4UserPhysicsListMessenger_hh 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4UImessenger.hh"
|
||||
|
||||
class G4VUserPhysicsList;
|
||||
|
||||
class G4VUserPhysicsList;
|
||||
class G4UIdirectory;
|
||||
class G4UIcmdWithoutParameter;
|
||||
@@ -72,42 +60,40 @@ class G4UIcmdWithADoubleAndUnit;
|
||||
class G4UIcmdWithAString;
|
||||
class G4UIcommand;
|
||||
|
||||
#include "G4UImessenger.hh"
|
||||
#include "globals.hh"
|
||||
|
||||
class G4UserPhysicsListMessenger : public G4UImessenger
|
||||
{
|
||||
private:
|
||||
// hide default constructor
|
||||
G4UserPhysicsListMessenger() {}
|
||||
public:
|
||||
|
||||
public:
|
||||
G4UserPhysicsListMessenger(G4VUserPhysicsList* pParticleList);
|
||||
virtual ~G4UserPhysicsListMessenger();
|
||||
G4UserPhysicsListMessenger(G4VUserPhysicsList* pParticleList);
|
||||
virtual ~G4UserPhysicsListMessenger();
|
||||
|
||||
public: // with description
|
||||
virtual void SetNewValue(G4UIcommand* command, G4String newValues);
|
||||
virtual G4String GetCurrentValue(G4UIcommand* command);
|
||||
virtual void SetNewValue(G4UIcommand* command, G4String newValues);
|
||||
virtual G4String GetCurrentValue(G4UIcommand* command);
|
||||
|
||||
protected:
|
||||
G4VUserPhysicsList* thePhysicsList;
|
||||
protected:
|
||||
|
||||
private: // commands
|
||||
G4UIdirectory* theDirectory;
|
||||
G4UIcmdWithADoubleAndUnit* setCutCmd;
|
||||
G4UIcommand* setCutRCmd;
|
||||
G4UIcommand* setCutForAGivenParticleCmd;
|
||||
G4UIcmdWithAString* getCutForAGivenParticleCmd;
|
||||
G4UIcmdWithAnInteger* verboseCmd;
|
||||
G4UIcmdWithoutParameter* dumpListCmd;
|
||||
G4UIcmdWithAString* addProcManCmd;
|
||||
G4UIcmdWithAString* buildPTCmd;
|
||||
G4UIcmdWithAString* storeCmd;
|
||||
G4UIcmdWithAString* retrieveCmd;
|
||||
G4UIcmdWithAnInteger* asciiCmd;
|
||||
G4UIcommand* applyCutsCmd;
|
||||
G4UIcmdWithAString* dumpCutValuesCmd;
|
||||
G4UIcmdWithAnInteger* dumpOrdParamCmd;
|
||||
G4VUserPhysicsList* thePhysicsList = nullptr;
|
||||
|
||||
private:
|
||||
|
||||
G4UserPhysicsListMessenger() {}
|
||||
// Hidden default constructor.
|
||||
|
||||
G4UIdirectory* theDirectory = nullptr;
|
||||
G4UIcmdWithADoubleAndUnit* setCutCmd = nullptr;
|
||||
G4UIcommand* setCutRCmd = nullptr;
|
||||
G4UIcommand* setCutForAGivenParticleCmd = nullptr;
|
||||
G4UIcmdWithAString* getCutForAGivenParticleCmd = nullptr;
|
||||
G4UIcmdWithAnInteger* verboseCmd = nullptr;
|
||||
G4UIcmdWithoutParameter* dumpListCmd = nullptr;
|
||||
G4UIcmdWithAString* addProcManCmd = nullptr;
|
||||
G4UIcmdWithAString* buildPTCmd = nullptr;
|
||||
G4UIcmdWithAString* storeCmd = nullptr;
|
||||
G4UIcmdWithAString* retrieveCmd = nullptr;
|
||||
G4UIcmdWithAnInteger* asciiCmd = nullptr;
|
||||
G4UIcommand* applyCutsCmd = nullptr;
|
||||
G4UIcmdWithAString* dumpCutValuesCmd = nullptr;
|
||||
G4UIcmdWithAnInteger* dumpOrdParamCmd = nullptr;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user