|
|
|||
File indexing completed on 2026-08-25 09:07:25
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 //--------------------------------------------------------------------------- 0028 // 0029 // ClassName: 0030 // 0031 // Author: 2007 tatsumi Koi, Gunter Folger 0032 // created from G4HadronPhysicsFTFP_BERT 0033 // Modified: 0034 // 2019.08.01 A.Ribon replaced explicit numbers for the energy transition 0035 // region with values taken from G4HadronicParameters 0036 // 2014.08.05 K.L.Genser added provisions for modifing the Bertini to 0037 // FTF transition energy region 0038 // 2020.10.02 V.Ivanchenko use inheritence from FTFP_BERT; use hadronic 0039 // utilities; use explicit constructors 0040 // 0041 //---------------------------------------------------------------------------- 0042 // 0043 #ifndef G4HadronPhysicsShielding_h 0044 #define G4HadronPhysicsShielding_h 1 0045 0046 #include "G4HadronPhysicsFTFP_BERT.hh" 0047 0048 class G4HadronPhysicsShielding : public G4HadronPhysicsFTFP_BERT 0049 { 0050 public: 0051 explicit G4HadronPhysicsShielding(G4int verbose); 0052 explicit G4HadronPhysicsShielding(const G4String& name); 0053 explicit G4HadronPhysicsShielding(const G4String& name = "hInelastic Shielding", 0054 G4bool qe = false); 0055 explicit G4HadronPhysicsShielding(const G4String& name, G4int verbose); 0056 explicit G4HadronPhysicsShielding(const G4String& name, G4int verbose, 0057 G4double minFTFPEnergy, 0058 G4double maxBertiniEnergy); 0059 0060 ~G4HadronPhysicsShielding() override = default; 0061 0062 void UseLEND( const G4String& ss="" ){ useLEND_=true; evaluation_=ss; }; 0063 void UnuseLEND(){ useLEND_=false; }; 0064 0065 // copy constructor and hide assignment operator 0066 G4HadronPhysicsShielding(G4HadronPhysicsShielding &) = delete; 0067 G4HadronPhysicsShielding & operator = 0068 (const G4HadronPhysicsShielding &right) = delete; 0069 0070 protected: 0071 //Modify the minimum needed 0072 void Neutron() override; 0073 0074 G4bool useLEND_{false}; 0075 G4String evaluation_; 0076 }; 0077 0078 #endif 0079
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|