|
||||
File indexing completed on 2025-01-18 09:58:00
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 // Define simple UI commands as alternative to environment variables 0027 // 0028 // 20130304 M. Kelsey -- Add flag to collect and display cascade structure 0029 // 20130621 M. Kelsey -- Add flag for CHECK_ECONS, replacing #ifdef's; add 0030 // flag to use three-body momentum parametrizations 0031 // 20130703 M. Kelsey -- Add flag for USE_PHASESPACE 0032 // 20141030 M. Kelsey -- Add flag to enable direct pi-N absorption 0033 // 20141211 M. Kelsey -- Change PIN_ABSORPTION flag to double, for energy cut 0034 0035 #ifndef G4CascadeParamMessenger_hh 0036 #define G4CascadeParamMessenger_hh 0037 0038 #include "G4UImessenger.hh" 0039 #include "globals.hh" 0040 0041 class G4CascadeParameters; 0042 class G4UIcmdWithABool; 0043 class G4UIcmdWithADouble; 0044 class G4UIcmdWithAString; 0045 class G4UIcmdWithAnInteger; 0046 class G4UIcmdWithoutParameter; 0047 class G4UIcommand; 0048 class G4UIdirectory; 0049 0050 0051 class G4CascadeParamMessenger : public G4UImessenger { 0052 public: 0053 G4CascadeParamMessenger(G4CascadeParameters* params); 0054 ~G4CascadeParamMessenger() override; 0055 0056 // Interface command needed by G4UImanager -- subclasses should call back! 0057 void SetNewValue(G4UIcommand* command, G4String newValue) override; 0058 0059 protected: 0060 0061 template <class T> 0062 T* CreateCommand(const G4String& cmd, const G4String& desc); 0063 0064 private: 0065 G4CascadeParameters* theParams; 0066 G4UIdirectory* cmdDir; 0067 0068 G4UIcmdWithAnInteger* verboseCmd; 0069 G4UIcmdWithoutParameter* reportCmd; 0070 G4UIcmdWithABool* balanceCmd; 0071 G4UIcmdWithABool* usePreCoCmd; 0072 G4UIcmdWithABool* doCoalCmd; 0073 G4UIcmdWithADouble* piNAbsCmd; 0074 G4UIcmdWithABool* historyCmd; 0075 G4UIcmdWithABool* use3BodyCmd; 0076 G4UIcmdWithABool* usePSCmd; 0077 G4UIcmdWithAString* randomFileCmd; 0078 G4UIcmdWithABool* nucUseBestCmd; 0079 G4UIcmdWithADouble* nucRad2parCmd; 0080 G4UIcmdWithADouble* nucRadScaleCmd; 0081 G4UIcmdWithADouble* nucRadSmallCmd; 0082 G4UIcmdWithADouble* nucRadAlphaCmd; 0083 G4UIcmdWithADouble* nucRadTrailingCmd; 0084 G4UIcmdWithADouble* nucFermiScaleCmd; 0085 G4UIcmdWithADouble* nucXsecScaleCmd; 0086 G4UIcmdWithADouble* nucGammaQDCmd; 0087 G4UIcmdWithADouble* coalDPmax2Cmd; 0088 G4UIcmdWithADouble* coalDPmax3Cmd; 0089 G4UIcmdWithADouble* coalDPmax4Cmd; 0090 }; 0091 0092 // Templated function implementation below 0093 #include "G4CascadeParamMessenger.icc" 0094 0095 #endif /* G4CascadeParamMessenger_hh */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |