Import Geant4 11.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2023-12-08 10:43:34 +01:00
parent dd1f179cda
commit 860a2b92bf
3962 changed files with 139318 additions and 164259 deletions
@@ -23,53 +23,10 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
//
// Hadronic Process: Very Low Energy Neutron X-Sections
// original by H.P. Wellisch, TRIUMF, 14-Feb-97
// Builds and has the Cross-section data for one material.
// Class Description
// Final state production model for a high precision (based on evaluated data
// libraries) description of neutron capture below 20 MeV;
// To be used in your physics list in case you need this physics.
// In this case you want to register an object of this class with
// the corresponding process.
// Class Description - End
// P. Arce, June-2014 Conversion neutron_hp to particle_hp
//
#ifndef G4ParticleHPCapture_h
#define G4ParticleHPCapture_h 1
#define G4ParticleHPCapture_h
#include "G4HadronicInteraction.hh"
#include "G4ParticleHPChannel.hh"
#include "globals.hh"
class G4ParticleHPCapture : public G4HadronicInteraction
{
public:
G4ParticleHPCapture();
~G4ParticleHPCapture() override;
G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
G4Nucleus& aTargetNucleus) override;
const std::pair<G4double, G4double> GetFatalEnergyCheckLevels() const override;
public:
G4int GetVerboseLevel() const;
void SetVerboseLevel(G4int);
void BuildPhysicsTable(const G4ParticleDefinition&) override;
void ModelDescription(std::ostream& outFile) const override;
private:
std::vector<G4ParticleHPChannel*>* theCapture{nullptr};
G4String dirName;
G4int numEle{0};
G4HadFinalState theResult;
};
#include "G4NeutronHPCapture.hh"
using G4ParticleHPCapture = G4NeutronHPCapture;
#endif