Import Geant4 10.7.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2020-06-26 10:23:25 +02:00
parent c02c370437
commit 67ba86d073
1871 changed files with 174422 additions and 131884 deletions
@@ -39,6 +39,7 @@
#ifndef G4QuasiElasticChannel_h
#define G4QuasiElasticChannel_h
#include "G4HadronicInteraction.hh"
#include "globals.hh"
class G4KineticTrackVector;
@@ -47,26 +48,24 @@ class G4QuasiElRatios;
class G4DynamicParticle;
class G4V3DNucleus;
class G4QuasiElasticChannel
class G4QuasiElasticChannel : public G4HadronicInteraction
{
public:
G4QuasiElasticChannel();
~G4QuasiElasticChannel();
explicit G4QuasiElasticChannel();
~G4QuasiElasticChannel() override;
G4double GetFraction(G4Nucleus &theNucleus,
const G4DynamicParticle& thePrimary);
G4KineticTrackVector* Scatter(G4Nucleus &theNucleus,
const G4DynamicParticle& thePrimary);
private:
G4QuasiElasticChannel(const G4QuasiElasticChannel &);
const G4QuasiElasticChannel & operator=(const G4QuasiElasticChannel &);
G4bool operator==(const G4QuasiElasticChannel &) const;
G4bool operator!=(const G4QuasiElasticChannel &) const;
G4QuasiElasticChannel(const G4QuasiElasticChannel &) = delete;
const G4QuasiElasticChannel & operator=(const G4QuasiElasticChannel &) = delete;
G4bool operator==(const G4QuasiElasticChannel &) const = delete;
G4bool operator!=(const G4QuasiElasticChannel &) const = delete;
private:
private:
G4QuasiElRatios* theQuasiElastic;
G4V3DNucleus* the3DNucleus;
};
@@ -53,28 +53,22 @@ class G4TheoFSGenerator : public G4HadronicInteraction
{
public:
G4TheoFSGenerator(const G4String& name = "TheoFSGenerator");
~G4TheoFSGenerator();
explicit G4TheoFSGenerator(const G4String& name = "TheoFSGenerator");
~G4TheoFSGenerator() override;
private:
G4TheoFSGenerator(const G4TheoFSGenerator &right);
const G4TheoFSGenerator & operator=(const G4TheoFSGenerator &right);
G4bool operator==(const G4TheoFSGenerator &right) const;
G4bool operator!=(const G4TheoFSGenerator &right) const;
G4TheoFSGenerator(const G4TheoFSGenerator &right) = delete;
const G4TheoFSGenerator & operator=(const G4TheoFSGenerator &right) = delete;
G4bool operator==(const G4TheoFSGenerator &right) const = delete;
G4bool operator!=(const G4TheoFSGenerator &right) const = delete;
public:
G4HadFinalState * ApplyYourself(const G4HadProjectile & thePrimary, G4Nucleus & theNucleus);
void SetTransport(G4VIntraNuclearTransportModel *const value);
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value);
void SetQuasiElasticChannel(G4QuasiElasticChannel *const value);
virtual std::pair<G4double, G4double> GetEnergyMomentumCheckLevels() const;
void ModelDescription(std::ostream& outFile) const;
G4HadFinalState * ApplyYourself(const G4HadProjectile & thePrimary, G4Nucleus & theNucleus) override;
inline void SetTransport(G4VIntraNuclearTransportModel *const value);
inline void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value);
inline void SetQuasiElasticChannel(G4QuasiElasticChannel *const value);
private:
const G4VIntraNuclearTransportModel * GetTransport() const;
const G4VHighEnergyGenerator * GetHighEnergyGenerator() const;
const G4HadFinalState * GetFinalState() const;
std::pair<G4double, G4double> GetEnergyMomentumCheckLevels() const override;
void ModelDescription(std::ostream& outFile) const override;
private:
G4VIntraNuclearTransportModel * theTransport;
@@ -84,21 +78,11 @@ class G4TheoFSGenerator : public G4HadronicInteraction
G4QuasiElasticChannel * theQuasielastic;
};
inline const G4VIntraNuclearTransportModel * G4TheoFSGenerator::GetTransport() const
{
return theTransport;
}
inline void G4TheoFSGenerator::SetTransport(G4VIntraNuclearTransportModel *const value)
{
theTransport = value;
}
inline const G4VHighEnergyGenerator * G4TheoFSGenerator::GetHighEnergyGenerator() const
{
return theHighEnergyGenerator;
}
inline void G4TheoFSGenerator::SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
{
theHighEnergyGenerator= value;
@@ -109,11 +93,6 @@ inline void G4TheoFSGenerator::SetQuasiElasticChannel(G4QuasiElasticChannel *con
theQuasielastic = value;
}
inline const G4HadFinalState * G4TheoFSGenerator::GetFinalState() const
{
return theParticleChange;
}
#endif