G4UserPhysicsListMessenger.hh

Go to the documentation of this file.
00001 //
00002 // ********************************************************************
00003 // * License and Disclaimer                                           *
00004 // *                                                                  *
00005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
00006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
00007 // * conditions of the Geant4 Software License,  included in the file *
00008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
00009 // * include a list of copyright holders.                             *
00010 // *                                                                  *
00011 // * Neither the authors of this software system, nor their employing *
00012 // * institutes,nor the agencies providing financial support for this *
00013 // * work  make  any representation or  warranty, express or implied, *
00014 // * regarding  this  software system or assume any liability for its *
00015 // * use.  Please see the license in the file  LICENSE  and URL above *
00016 // * for the full disclaimer and the limitation of liability.         *
00017 // *                                                                  *
00018 // * This  code  implementation is the result of  the  scientific and *
00019 // * technical work of the GEANT4 collaboration.                      *
00020 // * By using,  copying,  modifying or  distributing the software (or *
00021 // * any work based  on the software)  you  agree  to acknowledge its *
00022 // * use  in  resulting  scientific  publications,  and indicate your *
00023 // * acceptance of all terms of the Geant4 Software license.          *
00024 // ********************************************************************
00025 //
00026 //
00027 // $Id$
00028 //
00029 // 
00030 //---------------------------------------------------------------
00031 //
00032 //  G4UserPhysicsListMessenger.hh
00033 //
00034 //  Class Description:
00035 //    This is a messenger class to interface to exchange information
00036 //    between ParticleUserList and UI.
00037 // --
00038 //  the List of Directory and Commands
00039 // -       
00040 //  /run/particle/   Paricle control commands.
00041 //   Commands : 
00042 //    SetCuts *  Set default cut value
00043 //    dumpList * Dump List of particles in G4VUserPhysicsList.
00044 //    verbose * Set the Verbose level of G4VUserPhysicsList.
00045 //    addProcessManager * add process manager
00046 //    buildPhysicsTable * build physics table
00047 //    storePhysicsTable * store physics table into files
00048 //    retreivePhysicsTable * retreive physics table from files
00049 //    setStoredInAscii * Switch on/off ascii mode in store/retreive Physics Table
00050 // ------------------------------------------------------------
00051 //      History
00052 //        first version                   09 Jan. 1998 by H.Kurashige 
00053 //        second version                  24 Jan. 1998 by H.Kurashige 
00054 //        add buildPhysicsTable command   13 Apr. 1999 by H.Kurashige
00055 //        add store/retreivePhysicsTable  08 Nov. 2000 by H.Kurashige
00056 //        add setStoredInAscii command    12 Mar. 2001 by H.Kurashige
00057 //        add applyCuts command            2 Aug. 2001 by H.Kurashige
00058 //        add dumpOrderingParam command    3 May. 2011 by H.Kurashige
00059 //        add getCutForAGivenParticle     11 June 2011 by H.Kurashige
00060 // ------------------------------------------------------------
00061 
00062 #ifndef G4UserPhysicsListMessenger_h
00063 #define G4UserPhysicsListMessenger_h 1
00064 
00065 class G4VUserPhysicsList;
00066 
00067 class G4VUserPhysicsList;
00068 class G4UIdirectory;
00069 class G4UIcmdWithoutParameter;
00070 class G4UIcmdWithAnInteger;
00071 class G4UIcmdWithADoubleAndUnit;
00072 class G4UIcmdWithAString; 
00073 class G4UIcommand;
00074 
00075 #include "G4UImessenger.hh"
00076 #include "globals.hh"
00077 
00078 class G4UserPhysicsListMessenger: public G4UImessenger
00079 {
00080   private:
00081   // hide default constructor
00082     G4UserPhysicsListMessenger(){}
00083 
00084   public:
00085     G4UserPhysicsListMessenger(G4VUserPhysicsList* pParticleList);
00086     virtual ~G4UserPhysicsListMessenger();
00087     
00088 public: // with description
00089     virtual  void SetNewValue(G4UIcommand * command,G4String newValues);
00090     virtual  G4String GetCurrentValue(G4UIcommand * command);
00091 
00092   protected:
00093     G4VUserPhysicsList* thePhysicsList;
00094     
00095   private: //commands
00096     G4UIdirectory *             theDirectory;
00097     G4UIcmdWithADoubleAndUnit * setCutCmd; 
00098     G4UIcommand *               setCutRCmd;
00099     G4UIcommand *               setCutForAGivenParticleCmd;
00100     G4UIcmdWithAString *        getCutForAGivenParticleCmd;
00101     G4UIcmdWithAnInteger *      verboseCmd;
00102     G4UIcmdWithoutParameter *   dumpListCmd;
00103     G4UIcmdWithAString *        addProcManCmd;
00104     G4UIcmdWithAString *        buildPTCmd;
00105     G4UIcmdWithAString *        storeCmd;
00106     G4UIcmdWithAString *        retrieveCmd;
00107     G4UIcmdWithAnInteger *      asciiCmd;
00108     G4UIcommand *               applyCutsCmd;
00109     G4UIcmdWithAString *        dumpCutValuesCmd;
00110     G4UIcmdWithAnInteger*       dumpOrdParamCmd;
00111 };
00112 
00113 #endif
00114 
00115 

Generated on Mon May 27 17:50:08 2013 for Geant4 by  doxygen 1.4.7