|
||||
File indexing completed on 2025-01-18 09:58:58
0001 // 0002 // ******************************************************************** 0003 // * License and Disclaimer * 0004 // * * 0005 // * The Geant4 software is copyright of the Copyright Holders of * 0006 // * the Geant4 Collaboration. It is provided under the terms and * 0007 // * conditions of the Geant4 Software License, included in the file * 0008 // * LICENSE and available at http://cern.ch/geant4/license . These * 0009 // * include a list of copyright holders. * 0010 // * * 0011 // * Neither the authors of this software system, nor their employing * 0012 // * institutes,nor the agencies providing financial support for this * 0013 // * work make any representation or warranty, express or implied, * 0014 // * regarding this software system or assume any liability for its * 0015 // * use. Please see the license in the file LICENSE and URL above * 0016 // * for the full disclaimer and the limitation of liability. * 0017 // * * 0018 // * This code implementation is the result of the scientific and * 0019 // * technical work of the GEANT4 collaboration. * 0020 // * By using, copying, modifying or distributing the software (or * 0021 // * any work based on the software) you agree to acknowledge its * 0022 // * use in resulting scientific publications, and indicate your * 0023 // * acceptance of all terms of the Geant4 Software license. * 0024 // ******************************************************************** 0025 // 0026 // G4ProductionCutsTableMessenger 0027 // 0028 // Class description: 0029 // 0030 // This is a messenger class to interface to information exchange 0031 // between G4ProductionCutsTable and UI. 0032 // 0033 // List of Directory and Commands: 0034 // 0035 // /run/particle/ Particle control commands 0036 // Commands : 0037 // SetCuts * Set default cut value 0038 // dumpList * Dump List of particles in G4VUserPhysicsList. 0039 // verbose * Set the Verbose level of G4VUserPhysicsList 0040 0041 // Author: H.Kurashige, 02 March 2008 - First version 0042 // -------------------------------------------------------------------- 0043 #ifndef G4ProcductionCutsTableMessenger_hh 0044 #define G4ProcductionCutsTableMessenger_hh 1 0045 0046 #include "G4UImessenger.hh" 0047 #include "globals.hh" 0048 0049 class G4ProductionCutsTable; 0050 class G4UIdirectory; 0051 class G4UIcmdWithoutParameter; 0052 class G4UIcmdWithAnInteger; 0053 class G4UIcmdWithADoubleAndUnit; 0054 class G4UIcmdWithAString; 0055 class G4UIcommand; 0056 0057 class G4ProductionCutsTableMessenger : public G4UImessenger 0058 { 0059 public: 0060 0061 G4ProductionCutsTableMessenger(G4ProductionCutsTable* pTable); 0062 virtual ~G4ProductionCutsTableMessenger(); 0063 0064 G4ProductionCutsTableMessenger(const G4ProductionCutsTableMessenger&) = delete; 0065 G4ProductionCutsTableMessenger& operator=(const G4ProductionCutsTableMessenger&) = delete; 0066 // Copy contructor and assignment operator not allowed 0067 0068 virtual void SetNewValue(G4UIcommand* command, G4String newValues); 0069 virtual G4String GetCurrentValue(G4UIcommand* command); 0070 0071 protected: 0072 0073 G4ProductionCutsTable* theCutsTable = nullptr; 0074 0075 private: 0076 0077 G4ProductionCutsTableMessenger() {} 0078 // Hidden default constructor 0079 0080 G4UIdirectory* theDirectory = nullptr; 0081 G4UIcmdWithAnInteger* verboseCmd = nullptr; 0082 G4UIcmdWithADoubleAndUnit* setLowEdgeCmd = nullptr; 0083 G4UIcmdWithADoubleAndUnit* setHighEdgeCmd = nullptr; 0084 G4UIcmdWithADoubleAndUnit* setMaxEnergyCutCmd = nullptr; 0085 G4UIcmdWithoutParameter* dumpCmd = nullptr; 0086 }; 0087 0088 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |