Import Geant4 9.4.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 16:25:56 +02:00
parent 74cad5e589
commit 89a9605df1
4440 changed files with 379508 additions and 189225 deletions
@@ -23,44 +23,72 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
#ifndef G4GeneratorPrecompoundInterface_h
#define G4GeneratorPrecompoundInterface_h 1
#include "G4Fancy3DNucleus.hh"
#include "G4Nucleon.hh"
#include "G4Nucleus.hh"
#include "G4VIntraNuclearTransportModel.hh"
#include "G4KineticTrackVector.hh"
#include "G4FragmentVector.hh"
#include "G4ReactionProductVector.hh"
#include "G4ReactionProduct.hh"
//
// $Id: G4GeneratorPrecompoundInterface.hh,v 1.6 2010/08/31 16:16:51 vnivanch Exp $
// GEANT4 tag $Name: geant4-09-04 $
//
// -----------------------------------------------------------------------------
// GEANT 4 class header file
//
// History: first implementation
// HPW, 10DEC 98, the decay part originally written by Gunter Folger
// in his FTF-test-program.
//
//
// -----------------------------------------------------------------------------
//
// Class Description
// Trivial implementation of an intra-nuclear transport. It pworvides coupling
// of high energy generators with pre equilibrium decay models.
// To be used in your physics list in case you need this physics.
// Class Description - End
#ifndef G4GeneratorPrecompoundInterface_h
#define G4GeneratorPrecompoundInterface_h 1
#include "G4VIntraNuclearTransportModel.hh"
#include "G4ReactionProductVector.hh"
#include "G4HadProjectile.hh"
#include "G4Nucleus.hh"
#include "globals.hh"
class G4KineticTrackVector;
class G4V3DNucleus;
class G4ParticleDefinition;
class G4GeneratorPrecompoundInterface : public G4VIntraNuclearTransportModel
{
public:
G4GeneratorPrecompoundInterface();
~G4GeneratorPrecompoundInterface(){}
G4GeneratorPrecompoundInterface(G4VPreCompoundModel* p = 0);
virtual ~G4GeneratorPrecompoundInterface();
virtual G4HadFinalState*
ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus );
virtual G4ReactionProductVector*
Propagate(G4KineticTrackVector* theSecondaries, G4V3DNucleus* theNucleus);
inline void SetCaptureThreshold(G4double);
private:
G4int operator==(G4GeneratorPrecompoundInterface& right) {return (this == &right);}
G4int operator!=(G4GeneratorPrecompoundInterface& right) {return (this != &right);}
public:
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus );
G4ReactionProductVector* Propagate(G4KineticTrackVector* theSecondaries, G4V3DNucleus* theNucleus);
G4double SetCaptureThreshold(G4double);
private:
G4double CaptureThreshold;
G4GeneratorPrecompoundInterface(const G4GeneratorPrecompoundInterface& right);
const G4GeneratorPrecompoundInterface& operator=(const G4GeneratorPrecompoundInterface &right);
G4int operator==(G4GeneratorPrecompoundInterface& right) {return (this == &right);}
G4int operator!=(G4GeneratorPrecompoundInterface& right) {return (this != &right);}
G4double CaptureThreshold;
const G4ParticleDefinition* proton;
const G4ParticleDefinition* neutron;
};
inline
void G4GeneratorPrecompoundInterface::SetCaptureThreshold(G4double value)
{
CaptureThreshold=value;
}
#endif // G4GeneratorPrecompoundInterface_h