G4NistMessenger.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: G4NistMessenger.hh 67044 2013-01-30 08:50:06Z gcosmo $
00028 //
00029 // File name:     G4NistMessenger
00030 //
00031 // Author:        Vladimir Ivanchenko
00032 //
00033 // Creation date: 23.12.2004
00034 //
00035 // Modifications:
00036 // 29.04.07 V.Ivanchenko add recCmd
00037 //
00038 //
00039 // Class Description:
00040 //  This is a messenger class to interface to exchange information
00041 //  between G4NistManager and UI.
00042 //
00043 //  /material/  directory
00044 //
00045 //   Commands :
00046 //    verbose  val        verbose level for material/element builders
00047 //
00048 //
00049 //  /material/nist/  directory
00050 //
00051 //   Commands :
00052 //    printElement   symbol    output element parameters by symbol
00053 //    printZElement    Z       output element parameters by number
00054 //    listMaterials   key      list of materials (key = simple compound hep)
00055 //
00056 //  /material/g4/  directory
00057 //
00058 //   Commands :
00059 //    printElement   name        output element  parameters
00060 //    printMaterial  name        output material parameters
00061 
00062 // -------------------------------------------------------------------
00063 //
00064 
00065 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
00066 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
00067 
00068 #ifndef G4NistMessenger_h
00069 #define G4NistMessenger_h 1
00070 
00071 #include "globals.hh"
00072 #include "G4UImessenger.hh"
00073 
00074 class G4NistManager;
00075 class G4UIdirectory;
00076 class G4UIcmdWithAnInteger;
00077 class G4UIcmdWithAString;
00078 
00079 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
00080 
00081 class G4NistMessenger: public G4UImessenger
00082 {
00083 public:
00084 
00085   G4NistMessenger(G4NistManager* );
00086   virtual ~G4NistMessenger();
00087 
00088   void SetNewValue(G4UIcommand*, G4String);
00089 
00090 private:
00091 
00092   G4NistManager*             manager;
00093   
00094   G4UIdirectory*             matDir;
00095   G4UIcmdWithAnInteger*      verCmd;
00096     
00097   G4UIdirectory*             nistDir;
00098   G4UIcmdWithAString*        prtElmCmd;  
00099   G4UIcmdWithAnInteger*      przElmCmd;
00100   G4UIcmdWithAString*        lisMatCmd;
00101     
00102   G4UIdirectory*             g4Dir;
00103   G4UIcmdWithAString*        g4ElmCmd;   
00104   G4UIcmdWithAString*        g4MatCmd;
00105   G4UIcmdWithAString*        g4DensCmd;    
00106 };
00107 
00108 #endif
00109 

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