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 // 28 // Geant4 header : G4NeutronRadCaptureHP 29 // Created: 02 October 2023 30 // Author V.Ivanchenko 31 // 32 // Modified: 33 // 34 // Class Description 35 // Sampling of neutron radiative capture. The same approach is used 36 // as in the G4NeutronRadCapture with the difference in sampling of 37 // nucleus termal motion. 38 // Class Description - End 39 // 40 41 #ifndef G4NeutronRadCaptureHP_h 42 #define G4NeutronRadCaptureHP_h 1 43 44 #include "globals.hh" 45 #include "G4HadronicInteraction.hh" 46 #include "G4HadProjectile.hh" 47 #include "G4Nucleus.hh" 48 #include "G4LorentzVector.hh" 49 50 class G4VEvaporationChannel; 51 class G4IonTable; 52 class G4ParticleHPManager; 53 54 class G4NeutronRadCaptureHP : public G4HadronicInteraction 55 { 56 public: 57 58 G4NeutronRadCaptureHP(); 59 60 ~G4NeutronRadCaptureHP() override; 61 62 G4HadFinalState* ApplyYourself(const G4HadProjectile & aTrack, 63 G4Nucleus & targetNucleus) override; 64 65 void BuildPhysicsTable(const G4ParticleDefinition&) override; 66 67 G4NeutronRadCaptureHP & operator= 68 (const G4NeutronRadCaptureHP &right) = delete; 69 G4NeutronRadCaptureHP(const G4NeutronRadCaptureHP&) = delete; 70 71 private: 72 73 G4int icID{-1}; // creator model ID for e- produced by internal conversion 74 G4int secID{-1}; // creator model ID for the other secondaries produced by this model 75 const G4ParticleDefinition* electron; 76 G4ParticleHPManager* fManagerHP; 77 G4VEvaporationChannel* photonEvaporation{nullptr}; 78 G4IonTable* theTableOfIons; 79 G4double lowestEnergyLimit; 80 G4double minExcitation; 81 G4double emax; 82 G4double emaxT; 83 G4LorentzVector lab4mom; 84 G4bool fLocalPE{false}; 85 86 }; 87 88 #endif 89