Geant4 Cross Reference |
1 // 2 // ******************************************************************** 3 // * License and Disclaimer * 4 // * * 5 // * The Geant4 software is copyright of the Copyright Holders of * 6 // * the Geant4 Collaboration. It is provided under the terms and * 7 // * conditions of the Geant4 Software License, included in the file * 8 // * LICENSE and available at http://cern.ch/geant4/license . These * 9 // * include a list of copyright holders. * 10 // * * 11 // * Neither the authors of this software system, nor their employing * 12 // * institutes,nor the agencies providing financial support for this * 13 // * work make any representation or warranty, express or implied, * 14 // * regarding this software system or assume any liability for its * 15 // * use. Please see the license in the file LICENSE and URL above * 16 // * for the full disclaimer and the limitation of liability. * 17 // * * 18 // * This code implementation is the result of the scientific and * 19 // * technical work of the GEANT4 collaboration. * 20 // * By using, copying, modifying or distributing the software (or * 21 // * any work based on the software) you agree to acknowledge its * 22 // * use in resulting scientific publications, and indicate your * 23 // * acceptance of all terms of the Geant4 Software license. * 24 // ******************************************************************** 25 // 26 /* 27 * File: G4FFGDefaultValues.hh 28 * Author: B. Wendt (wendbryc@isu.edu) 29 * 30 * Created on August 10, 2012, 17:03 31 */ 32 33 #ifndef G4FFGDEFAULTVALUES_HH 34 #define G4FFGDEFAULTVALUES_HH 35 36 // #include "G4SystemOfUnits.hh" bad, use instead: 37 #include <CLHEP/Units/SystemOfUnits.h> 38 // and use constants with namespace, see below e.g. eV becomes CLHEP::eV 39 #include "G4FFGEnumerations.hh" 40 #include "G4ThreeVector.hh" 41 42 /** G4FFGDefaultValues is a one-stop shop for storing the default values to 43 * variables that configure how the fission fragment generator code is 44 * initialized. 45 */ 46 namespace G4FFGDefaultValues 47 { 48 // Global 49 /** The energy of thermal neutrons */ 50 static const G4double ThermalNeutronEnergy = 0.0253 * CLHEP::eV; 51 52 // Verbosity 53 #ifdef G4DEBUG_VERBOSE 54 /** Verbosity for the entire package */ 55 static const G4int Verbosity = 56 G4FFGEnumerations::PRINT_ALL; // | G4FFGEnumerations::REPRESS_FUNCTION_ENTER_LEAVE_MESSAGES; 57 #else /* G4DEBUG_VERBOSE */ 58 /** Verbosity for the entire package */ 59 static const G4FFGEnumerations::Verbosity Verbosity = G4FFGEnumerations::SILENT; 60 #endif /* G4DEBUG_VERBOSE */ 61 62 // Fission Parameters 63 /** Default Isotope */ 64 static const G4int Isotope = 92238; 65 /** Default meta state */ 66 static const G4FFGEnumerations::MetaState MetaState = G4FFGEnumerations::GROUND_STATE; 67 /** Default fission cause */ 68 static const G4FFGEnumerations::FissionCause FissionCause = G4FFGEnumerations::SPONTANEOUS; 69 /** Default incident energy */ 70 static const G4double IncidentEnergy = ThermalNeutronEnergy / CLHEP::eV; 71 /** Default incident energy unit */ 72 static const char IncidentEnergyUnit[] = "eV"; 73 /** Default yield type */ 74 static const G4FFGEnumerations::YieldType YieldType = G4FFGEnumerations::INDEPENDENT; 75 /** Default sampling scheme */ 76 static const G4FFGEnumerations::FissionSamplingScheme SamplingScheme = G4FFGEnumerations::NORMAL; 77 /** Default probabilility of a ternary fission */ 78 static const G4double TernaryProbability = 0; 79 /** Default alpha production in a ternary fission */ 80 static const G4double AlphaProduction = 0; 81 /** Default mean gamma energy for gamma sampling */ 82 static const G4double MeanGammaEnergy = 800 * CLHEP::keV; 83 84 // Event Parameters 85 /** Default event time */ 86 static const G4double EventTime = 0; 87 /** Default event time units */ 88 static const char EventTimeUnit[] = "ns"; 89 90 // Source Description 91 /** Default source center */ 92 static const G4ThreeVector SourceCenter(0, 0, 0); 93 /** Default source depth */ 94 static const G4double SourceDepth = 1; 95 /** Default source rectangle Height */ 96 static const G4double SourceHeight = 1; 97 /** Default source radius */ 98 static const G4double SourceRadius = 1; 99 /** Default source rectangle Width */ 100 static const G4double SourceWidth = 1; 101 /** Default event time units */ 102 static const char SourceDimensionUnit[] = "cm"; 103 /** Default source type */ 104 static const G4FFGEnumerations::SourceType SourceType = G4FFGEnumerations::SPHERE; 105 106 // Messenger 107 /** Default command directory */ 108 static const char UICommandDirectory[] = "/process/hadronic/ffgupga"; 109 110 // Data 111 /** ENDF data tape location, reference against \p G4HPNEUTRONDATA */ 112 static const char ENDFFissionDataLocation[] = "/Fission/FF/"; 113 } // namespace G4FFGDefaultValues 114 115 #endif /** G4FFGDEFAULTVALUES_HH */ 116