Import Geant4 9.3.0 source tree
This commit is contained in:
+17
-3
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4InteractionContent.hh,v 1.4 2007/01/24 10:28:54 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: G4InteractionContent.hh,v 1.5 2009/07/17 12:36:41 vuzhinsk Exp $
|
||||
// GEANT4 tag $Name: geant4-09-03 $
|
||||
//
|
||||
|
||||
#ifndef G4InteractionContent_h
|
||||
@@ -42,7 +42,7 @@
|
||||
#include "globals.hh"
|
||||
|
||||
#include "G4VSplitableHadron.hh"
|
||||
|
||||
#include "G4Nucleon.hh" // Uzhi 16.07.09
|
||||
class G4InteractionContent
|
||||
{
|
||||
|
||||
@@ -58,6 +58,9 @@ class G4InteractionContent
|
||||
G4VSplitableHadron * GetProjectile() const ;
|
||||
G4VSplitableHadron * GetTarget() const;
|
||||
|
||||
void SetTargetNucleon(G4Nucleon * aNucleon); // Uzhi 16.07.09
|
||||
G4Nucleon * GetTargetNucleon() const; // Uzhi 16.07.09
|
||||
|
||||
void SetTarget(G4VSplitableHadron *aTarget);
|
||||
|
||||
G4int GetNumberOfSoftCollisions();
|
||||
@@ -85,6 +88,7 @@ public:
|
||||
|
||||
G4VSplitableHadron * theTarget;
|
||||
G4VSplitableHadron * theProjectile;
|
||||
G4Nucleon * theTargetNucleon;
|
||||
|
||||
G4int theNumberOfHard;
|
||||
G4int theNumberOfSoft;
|
||||
@@ -108,6 +112,16 @@ inline void G4InteractionContent::SetTarget(G4VSplitableHadron *aTarget)
|
||||
theTarget = aTarget;
|
||||
}
|
||||
|
||||
inline void G4InteractionContent::SetTargetNucleon(G4Nucleon * aNucleon) // Uzhi 16.07.09
|
||||
{
|
||||
theTargetNucleon = aNucleon;
|
||||
}
|
||||
|
||||
inline G4Nucleon * G4InteractionContent::GetTargetNucleon() const // Uzhi 16.07.09
|
||||
{
|
||||
return theTargetNucleon;
|
||||
}
|
||||
|
||||
inline G4int G4InteractionContent::GetNumberOfSoftCollisions()
|
||||
{
|
||||
return theNumberOfSoft;
|
||||
|
||||
+4
-4
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4VParticipants.hh,v 1.4 2008/05/19 13:03:20 vuzhinsk Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: G4VParticipants.hh,v 1.6 2009/11/19 14:23:09 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-03 $
|
||||
//
|
||||
|
||||
#ifndef G4VParticipants_h
|
||||
@@ -64,7 +64,7 @@ class G4VParticipants
|
||||
G4V3DNucleus * GetWoundedNucleus() const;
|
||||
|
||||
|
||||
protected:
|
||||
// protected: // Uzhi 26 July 09
|
||||
|
||||
|
||||
G4V3DNucleus *theNucleus;
|
||||
@@ -89,7 +89,7 @@ inline void G4VParticipants::Init(G4double theA, G4double theZ)
|
||||
{
|
||||
if ( theNucleus == NULL ) theNucleus = new G4Fancy3DNucleus();
|
||||
theNucleus->Init(theA, theZ);
|
||||
theNucleus->SortNucleonsInZ(); // Uzhi 16.05.08 Sorting of nucleon-Z
|
||||
theNucleus->SortNucleonsIncZ();
|
||||
}
|
||||
|
||||
|
||||
|
||||
+15
-2
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4VSplitableHadron.hh,v 1.4 2008/05/19 13:03:20 vuzhinsk Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: G4VSplitableHadron.hh,v 1.6 2009/07/17 12:36:41 vuzhinsk Exp $
|
||||
// GEANT4 tag $Name: geant4-09-03 $
|
||||
//
|
||||
|
||||
#ifndef G4VSplitableHadron_h
|
||||
@@ -80,6 +80,9 @@ class G4VSplitableHadron
|
||||
void SetPosition(const G4ThreeVector &aPosition);
|
||||
const G4ThreeVector & GetPosition() const;
|
||||
|
||||
void SetStatus(const G4int aStatus); // Uzhi 17.07.09
|
||||
G4int GetStatus(); // Uzhi 17.07.09
|
||||
|
||||
virtual void SplitUp() = 0;
|
||||
virtual G4Parton * GetNextParton() = 0 ;
|
||||
virtual G4Parton * GetNextAntiParton() = 0 ;
|
||||
@@ -105,6 +108,7 @@ class G4VSplitableHadron
|
||||
G4ThreeVector thePosition;
|
||||
G4int theCollisionCount;
|
||||
|
||||
G4int Status; // Uzhi 17.07.09
|
||||
G4bool isSplit;
|
||||
|
||||
};
|
||||
@@ -164,6 +168,15 @@ inline const G4ThreeVector & G4VSplitableHadron::GetPosition() const
|
||||
return thePosition;
|
||||
}
|
||||
|
||||
inline void G4VSplitableHadron::SetStatus(G4int aStatus) // Uzhi 17.07.09
|
||||
{
|
||||
Status=aStatus;
|
||||
}
|
||||
|
||||
inline G4int G4VSplitableHadron::GetStatus() // Uzhi 17.07.09
|
||||
{
|
||||
return Status;
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user