Import Geant4 10.7.0.beta source tree
This commit is contained in:
@@ -61,22 +61,25 @@ class G4ExcitedString;
|
||||
class G4FTFModel : public G4VPartonStringModel {
|
||||
public:
|
||||
G4FTFModel( const G4String& modelName = "FTF" );
|
||||
~G4FTFModel();
|
||||
~G4FTFModel() override;
|
||||
|
||||
void Init( const G4Nucleus& aNucleus, const G4DynamicParticle& aProjectile );
|
||||
G4ExcitedStringVector* GetStrings();
|
||||
G4V3DNucleus* GetWoundedNucleus() const;
|
||||
G4V3DNucleus* GetTargetNucleus() const;
|
||||
G4V3DNucleus* GetProjectileNucleus() const;
|
||||
G4V3DNucleus* GetWoundedNucleus() const override;
|
||||
G4V3DNucleus* GetProjectileNucleus() const override;
|
||||
|
||||
virtual void ModelDescription( std::ostream& ) const;
|
||||
void ModelDescription( std::ostream& ) const override;
|
||||
|
||||
G4FTFModel( const G4FTFModel& right ) = delete;
|
||||
const G4FTFModel& operator=( const G4FTFModel& right ) = delete;
|
||||
G4bool operator==( const G4FTFModel& right ) const = delete;
|
||||
G4bool operator!=( const G4FTFModel& right ) const = delete;
|
||||
|
||||
protected:
|
||||
void Init( const G4Nucleus& aNucleus,
|
||||
const G4DynamicParticle& aProjectile ) override;
|
||||
G4ExcitedStringVector* GetStrings() override;
|
||||
|
||||
private:
|
||||
G4FTFModel( const G4FTFModel& right );
|
||||
const G4FTFModel& operator=( const G4FTFModel& right );
|
||||
G4bool operator==( const G4FTFModel& right ) const;
|
||||
G4bool operator!=( const G4FTFModel& right ) const;
|
||||
|
||||
void StoreInvolvedNucleon();
|
||||
void ReggeonCascade();
|
||||
G4bool PutOnMassShell();
|
||||
@@ -187,17 +190,14 @@ class G4FTFModel : public G4VPartonStringModel {
|
||||
G4double TargetResidualExcitationEnergy;
|
||||
};
|
||||
|
||||
|
||||
inline G4V3DNucleus* G4FTFModel::GetWoundedNucleus() const {
|
||||
return theParticipants.GetWoundedNucleus();
|
||||
}
|
||||
|
||||
|
||||
inline G4V3DNucleus* G4FTFModel::GetTargetNucleus() const {
|
||||
return theParticipants.GetWoundedNucleus();
|
||||
}
|
||||
|
||||
|
||||
inline G4V3DNucleus* G4FTFModel::GetProjectileNucleus() const {
|
||||
return theParticipants.GetProjectileNucleus();
|
||||
}
|
||||
|
||||
+6
-8
@@ -50,10 +50,12 @@
|
||||
class G4FTFParticipants : public G4VParticipants {
|
||||
public:
|
||||
G4FTFParticipants();
|
||||
const G4FTFParticipants& operator=( const G4FTFParticipants& right );
|
||||
~G4FTFParticipants();
|
||||
G4bool operator==( const G4FTFParticipants& right ) const;
|
||||
G4bool operator!=( const G4FTFParticipants& right ) const;
|
||||
|
||||
const G4FTFParticipants& operator=( const G4FTFParticipants& right ) = delete;
|
||||
G4bool operator==( const G4FTFParticipants& right ) const = delete;
|
||||
G4bool operator!=( const G4FTFParticipants& right ) const = delete;
|
||||
G4FTFParticipants( const G4FTFParticipants& right ) = delete;
|
||||
|
||||
void GetList( const G4ReactionProduct& thePrimary, G4FTFParameters* theParameters );
|
||||
void StartLoop();
|
||||
@@ -62,24 +64,20 @@ class G4FTFParticipants : public G4VParticipants {
|
||||
void ShiftInteractionTime();
|
||||
G4InteractionContent& GetInteraction();
|
||||
void Clean();
|
||||
std::vector< G4InteractionContent* > theInteractions;
|
||||
|
||||
private:
|
||||
G4FTFParticipants( const G4FTFParticipants& right );
|
||||
std::vector< G4InteractionContent* > theInteractions;
|
||||
G4int currentInteraction;
|
||||
};
|
||||
|
||||
|
||||
inline void G4FTFParticipants::StartLoop() {
|
||||
currentInteraction = -1;
|
||||
}
|
||||
|
||||
|
||||
inline G4bool G4FTFParticipants::Next() {
|
||||
return ++currentInteraction < static_cast< G4int >( theInteractions.size() );
|
||||
}
|
||||
|
||||
|
||||
inline G4InteractionContent& G4FTFParticipants::GetInteraction() {
|
||||
return *theInteractions[ currentInteraction ];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user