Import Geant4 10.7.0.beta source tree
This commit is contained in:
+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
|
||||
|
||||
Reference in New Issue
Block a user