G4ProductionCutsTableMessenger.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 //  G4ProcductionCutsTableMessenger.hh
00033 //
00034 //  Class Description:
00035 //    This is a messenger class to interface to exchange information
00036 //    between ProductionCutsTable 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 // ------------------------------------------------------------
00046 //      History
00047 //        first version                02 Mar. 2008 by H.Kurashige 
00048 // ------------------------------------------------------------
00049 
00050 #ifndef G4ProcductionCutsTableMessenger_h
00051 #define G4ProcductionCutsTableMessenger_h 1
00052 
00053 class G4ProductionCutsTable;
00054 
00055 class G4UIdirectory;
00056 class G4UIcmdWithoutParameter;
00057 class G4UIcmdWithAnInteger;
00058 class G4UIcmdWithADoubleAndUnit;
00059 class G4UIcmdWithAString; 
00060 class G4UIcommand;
00061 
00062 #include "G4UImessenger.hh"
00063 #include "globals.hh"
00064 
00065 class G4ProductionCutsTableMessenger: public G4UImessenger
00066 {
00067   private:
00068   // hide default constructor
00069     G4ProductionCutsTableMessenger(){}
00070 
00071   public:
00072     G4ProductionCutsTableMessenger(G4ProductionCutsTable* pTable);
00073     virtual ~G4ProductionCutsTableMessenger();
00074     
00075 public: // with description
00076     virtual  void SetNewValue(G4UIcommand * command,G4String newValues);
00077     virtual  G4String GetCurrentValue(G4UIcommand * command);
00078 
00079   protected:
00080     G4ProductionCutsTable* theCutsTable;
00081     
00082   private: //commands
00083     G4UIdirectory *             theDirectory;
00084     G4UIcmdWithAnInteger *      verboseCmd;
00085     G4UIcmdWithADoubleAndUnit * setLowEdgeCmd; 
00086     G4UIcmdWithADoubleAndUnit * setHighEdgeCmd; 
00087     G4UIcmdWithADoubleAndUnit * setMaxEnergyCutCmd; 
00088     G4UIcmdWithoutParameter *   dumpCmd;
00089  
00090 }; 
00091 
00092 #endif
00093 
00094 

Generated on Mon May 27 17:49:26 2013 for Geant4 by  doxygen 1.4.7