Import Geant4 10.7.0.beta source tree
This commit is contained in:
@@ -39,42 +39,26 @@ class G4StringModel : public G4VHighEnergyGenerator
|
||||
{
|
||||
public:
|
||||
G4StringModel();
|
||||
~G4StringModel();
|
||||
~G4StringModel() override;
|
||||
|
||||
private:
|
||||
G4StringModel(const G4StringModel &right);
|
||||
const G4StringModel & operator=(const G4StringModel &right);
|
||||
G4bool operator==(const G4StringModel &right) const;
|
||||
G4bool operator!=(const G4StringModel &right) const;
|
||||
G4StringModel(const G4StringModel &right) = delete;
|
||||
const G4StringModel & operator=(const G4StringModel &right) = delete;
|
||||
G4bool operator==(const G4StringModel &right) const = delete;
|
||||
G4bool operator!=(const G4StringModel &right) const = delete;
|
||||
|
||||
public:
|
||||
void Set3DNucleus(G4V3DNucleus *const value);
|
||||
void SetStringFragmentationModel(G4VStringFragmentation *const value);
|
||||
|
||||
private:
|
||||
const G4V3DNucleus * Get3DNucleus() const;
|
||||
const G4VStringFragmentation * GetStringFragmentationModel() const;
|
||||
|
||||
private:
|
||||
G4V3DNucleus *the3DNucleus;
|
||||
G4VStringFragmentation *theStringFragmentationModel;
|
||||
};
|
||||
|
||||
inline const G4V3DNucleus * G4StringModel::Get3DNucleus() const
|
||||
{
|
||||
return the3DNucleus;
|
||||
}
|
||||
|
||||
inline void G4StringModel::Set3DNucleus(G4V3DNucleus *const value)
|
||||
{
|
||||
the3DNucleus = value;
|
||||
}
|
||||
|
||||
inline const G4VStringFragmentation * G4StringModel::GetStringFragmentationModel() const
|
||||
{
|
||||
return theStringFragmentationModel;
|
||||
}
|
||||
|
||||
inline void G4StringModel::SetStringFragmentationModel(G4VStringFragmentation *const value)
|
||||
{
|
||||
theStringFragmentationModel = value;
|
||||
|
||||
+6
-8
@@ -43,17 +43,16 @@
|
||||
|
||||
class G4V3DNucleus;
|
||||
|
||||
|
||||
class G4VParticipants
|
||||
{
|
||||
public:
|
||||
G4VParticipants();
|
||||
G4VParticipants(const G4VParticipants &right);
|
||||
virtual ~G4VParticipants();
|
||||
|
||||
const G4VParticipants & operator=(const G4VParticipants &right);
|
||||
G4bool operator==(const G4VParticipants &right) const;
|
||||
G4bool operator!=(const G4VParticipants &right) const;
|
||||
G4VParticipants(const G4VParticipants &right) = delete;
|
||||
const G4VParticipants & operator=(const G4VParticipants &right) = delete;
|
||||
G4bool operator==(const G4VParticipants &right) const = delete;
|
||||
G4bool operator!=(const G4VParticipants &right) const = delete;
|
||||
|
||||
virtual void Init(G4int theZ, G4int theA);
|
||||
virtual void SetNucleus(G4V3DNucleus* aNucleus);
|
||||
@@ -63,10 +62,9 @@ class G4VParticipants
|
||||
virtual void SetProjectileNucleus(G4V3DNucleus* aNucleus);
|
||||
virtual G4V3DNucleus* GetProjectileNucleus() const;
|
||||
|
||||
protected:
|
||||
G4V3DNucleus* theNucleus;
|
||||
G4V3DNucleus* theProjectileNucleus;
|
||||
private:
|
||||
|
||||
G4V3DNucleus* theProjectileNucleus;
|
||||
};
|
||||
|
||||
// Class G4VParticipants
|
||||
|
||||
+13
-19
@@ -51,41 +51,35 @@ class G4VPartonStringModel : public G4VHighEnergyGenerator
|
||||
{
|
||||
public:
|
||||
G4VPartonStringModel(const G4String& modelName = "Parton String Model");
|
||||
virtual ~G4VPartonStringModel();
|
||||
~G4VPartonStringModel() override;
|
||||
|
||||
private:
|
||||
G4VPartonStringModel(const G4VPartonStringModel &right);
|
||||
const G4VPartonStringModel & operator=(const G4VPartonStringModel &right);
|
||||
G4bool operator==(const G4VPartonStringModel &right) const;
|
||||
G4bool operator!=(const G4VPartonStringModel &right) const;
|
||||
G4VPartonStringModel(const G4VPartonStringModel &right) = delete;
|
||||
const G4VPartonStringModel & operator=
|
||||
(const G4VPartonStringModel &right) = delete;
|
||||
G4bool operator==(const G4VPartonStringModel &right) const = delete;
|
||||
G4bool operator!=(const G4VPartonStringModel &right) const = delete;
|
||||
|
||||
public:
|
||||
void SetFragmentationModel(G4VStringFragmentation * aModel);
|
||||
G4KineticTrackVector * Scatter(const G4Nucleus &theNucleus, const G4DynamicParticle &thePrimary);
|
||||
virtual G4V3DNucleus * GetWoundedNucleus() const = 0;
|
||||
virtual void ModelDescription(std::ostream& outFile) const;
|
||||
virtual G4V3DNucleus * GetProjectileNucleus() const;
|
||||
G4KineticTrackVector * Scatter(const G4Nucleus &theNucleus,
|
||||
const G4DynamicParticle &thePrimary) override;
|
||||
void ModelDescription(std::ostream& outFile) const override;
|
||||
G4V3DNucleus * GetProjectileNucleus() const override;
|
||||
|
||||
protected:
|
||||
virtual void Init(const G4Nucleus &theNucleus, const G4DynamicParticle &thePrimary) = 0;
|
||||
virtual G4ExcitedStringVector * GetStrings() = 0;
|
||||
void SetThisPointer(G4VPartonStringModel * aPointer);
|
||||
|
||||
G4bool EnergyAndMomentumCorrector(G4KineticTrackVector* Output, G4LorentzVector& TotalCollisionMomentum);
|
||||
|
||||
private:
|
||||
G4VStringFragmentation * stringFragmentationModel;
|
||||
G4VPartonStringModel * theThis;
|
||||
};
|
||||
|
||||
inline void G4VPartonStringModel::SetFragmentationModel(G4VStringFragmentation * aModel)
|
||||
{
|
||||
stringFragmentationModel = aModel;
|
||||
}
|
||||
|
||||
inline void G4VPartonStringModel::SetThisPointer(G4VPartonStringModel * aPointer)
|
||||
{
|
||||
theThis=aPointer;
|
||||
if(aModel != stringFragmentationModel) {
|
||||
stringFragmentationModel = aModel;
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
+9
-11
@@ -28,27 +28,25 @@
|
||||
#ifndef G4VStringFragmentation_h
|
||||
#define G4VStringFragmentation_h 1
|
||||
|
||||
#include "G4HadronicInteraction.hh"
|
||||
#include "G4ExcitedStringVector.hh"
|
||||
|
||||
class G4KineticTrackVector;
|
||||
|
||||
class G4VStringFragmentation
|
||||
class G4VStringFragmentation : public G4HadronicInteraction
|
||||
{
|
||||
public:
|
||||
G4VStringFragmentation();
|
||||
virtual ~G4VStringFragmentation();
|
||||
G4VStringFragmentation(const G4String& name = "StringFragmentation");
|
||||
~G4VStringFragmentation() override;
|
||||
|
||||
private:
|
||||
G4VStringFragmentation(const G4VStringFragmentation &right);
|
||||
const G4VStringFragmentation & operator=(const G4VStringFragmentation &right);
|
||||
G4bool operator==(const G4VStringFragmentation &right) const;
|
||||
G4bool operator!=(const G4VStringFragmentation &right) const;
|
||||
G4VStringFragmentation(const G4VStringFragmentation &right) = delete;
|
||||
const G4VStringFragmentation & operator=
|
||||
(const G4VStringFragmentation &right) = delete;
|
||||
G4bool operator==(const G4VStringFragmentation &right) const = delete;
|
||||
G4bool operator!=(const G4VStringFragmentation &right) const = delete;
|
||||
|
||||
public:
|
||||
virtual G4KineticTrackVector * FragmentStrings(const G4ExcitedStringVector * theStrings)=0;
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user