Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:58:17

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 /*
0027  * File:   G4FFGDefaultValues.hh
0028  * Author: B. Wendt (wendbryc@isu.edu)
0029  *
0030  * Created on August 10, 2012, 17:03
0031  */
0032 
0033 #ifndef G4FFGDEFAULTVALUES_HH
0034 #define G4FFGDEFAULTVALUES_HH
0035 
0036 // #include "G4SystemOfUnits.hh" bad, use instead:
0037 #include <CLHEP/Units/SystemOfUnits.h>
0038 //  and use constants with namespace, see below e.g. eV becomes CLHEP::eV
0039 #include "G4FFGEnumerations.hh"
0040 #include "G4ThreeVector.hh"
0041 
0042 /** G4FFGDefaultValues is a one-stop shop for storing the default values to
0043  *  variables that configure how the fission fragment generator code is
0044  *  initialized.
0045  */
0046 namespace G4FFGDefaultValues
0047 {
0048 // Global
0049 /** The energy of thermal neutrons */
0050 static const G4double ThermalNeutronEnergy = 0.0253 * CLHEP::eV;
0051 
0052 // Verbosity
0053 #ifdef G4DEBUG_VERBOSE
0054 /** Verbosity for the entire package */
0055 static const G4int Verbosity =
0056   G4FFGEnumerations::PRINT_ALL;  // | G4FFGEnumerations::REPRESS_FUNCTION_ENTER_LEAVE_MESSAGES;
0057 #else /* G4DEBUG_VERBOSE */
0058 /** Verbosity for the entire package */
0059 static const G4FFGEnumerations::Verbosity Verbosity = G4FFGEnumerations::SILENT;
0060 #endif /* G4DEBUG_VERBOSE */
0061 
0062 // Fission Parameters
0063 /** Default Isotope */
0064 static const G4int Isotope = 92238;
0065 /** Default meta state */
0066 static const G4FFGEnumerations::MetaState MetaState = G4FFGEnumerations::GROUND_STATE;
0067 /** Default fission cause */
0068 static const G4FFGEnumerations::FissionCause FissionCause = G4FFGEnumerations::SPONTANEOUS;
0069 /** Default incident energy */
0070 static const G4double IncidentEnergy = ThermalNeutronEnergy / CLHEP::eV;
0071 /** Default incident energy unit */
0072 static const char IncidentEnergyUnit[] = "eV";
0073 /** Default yield type */
0074 static const G4FFGEnumerations::YieldType YieldType = G4FFGEnumerations::INDEPENDENT;
0075 /** Default sampling scheme */
0076 static const G4FFGEnumerations::FissionSamplingScheme SamplingScheme = G4FFGEnumerations::NORMAL;
0077 /** Default probabilility of a ternary fission */
0078 static const G4double TernaryProbability = 0;
0079 /** Default alpha production in a ternary fission */
0080 static const G4double AlphaProduction = 0;
0081 /** Default mean gamma energy for gamma sampling */
0082 static const G4double MeanGammaEnergy = 800 * CLHEP::keV;
0083 
0084 // Event Parameters
0085 /** Default event time */
0086 static const G4double EventTime = 0;
0087 /** Default event time units */
0088 static const char EventTimeUnit[] = "ns";
0089 
0090 // Source Description
0091 /** Default source center */
0092 static const G4ThreeVector SourceCenter(0, 0, 0);
0093 /** Default source depth */
0094 static const G4double SourceDepth = 1;
0095 /** Default source rectangle Height */
0096 static const G4double SourceHeight = 1;
0097 /** Default source radius */
0098 static const G4double SourceRadius = 1;
0099 /** Default source rectangle Width */
0100 static const G4double SourceWidth = 1;
0101 /** Default event time units */
0102 static const char SourceDimensionUnit[] = "cm";
0103 /** Default source type */
0104 static const G4FFGEnumerations::SourceType SourceType = G4FFGEnumerations::SPHERE;
0105 
0106 // Messenger
0107 /** Default command directory */
0108 static const char UICommandDirectory[] = "/process/hadronic/ffgupga";
0109 
0110 // Data
0111 /** ENDF data tape location, reference against \p G4HPNEUTRONDATA */
0112 static const char ENDFFissionDataLocation[] = "/Fission/FF/";
0113 }  // namespace G4FFGDefaultValues
0114 
0115 #endif /** G4FFGDEFAULTVALUES_HH */