Import Geant4 9.5.0 source tree
This commit is contained in:
+19
-8
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4InteractionContent.hh,v 1.5 2009/07/17 12:36:41 vuzhinsk Exp $
|
||||
// GEANT4 tag $Name: geant4-09-03 $
|
||||
// $Id: G4InteractionContent.hh,v 1.5 2009-07-17 12:36:41 vuzhinsk Exp $
|
||||
// GEANT4 tag $Name: not supported by cvs2svn $
|
||||
//
|
||||
|
||||
#ifndef G4InteractionContent_h
|
||||
@@ -40,7 +40,6 @@
|
||||
// ------------------------------------------------------------
|
||||
|
||||
#include "globals.hh"
|
||||
|
||||
#include "G4VSplitableHadron.hh"
|
||||
#include "G4Nucleon.hh" // Uzhi 16.07.09
|
||||
class G4InteractionContent
|
||||
@@ -54,12 +53,13 @@ class G4InteractionContent
|
||||
|
||||
int operator==(const G4InteractionContent &right) const;
|
||||
int operator!=(const G4InteractionContent &right) const;
|
||||
G4bool operator<(const G4InteractionContent &right) const;
|
||||
|
||||
G4VSplitableHadron * GetProjectile() const ;
|
||||
G4VSplitableHadron * GetTarget() const;
|
||||
|
||||
void SetTargetNucleon(G4Nucleon * aNucleon); // Uzhi 16.07.09
|
||||
G4Nucleon * GetTargetNucleon() const; // Uzhi 16.07.09
|
||||
void SetTargetNucleon(G4Nucleon * aNucleon);
|
||||
G4Nucleon * GetTargetNucleon() const;
|
||||
|
||||
void SetTarget(G4VSplitableHadron *aTarget);
|
||||
|
||||
@@ -71,6 +71,11 @@ class G4InteractionContent
|
||||
void SetNumberOfDiffractiveCollisions(int);
|
||||
|
||||
void SplitHadrons();
|
||||
|
||||
void SetInteractionTime(G4double aValue); // Uzhi Feb23
|
||||
G4double GetInteractionTime() const; // Uzhi Feb23
|
||||
void SetStatus(G4int aValue); // Uzhi Feb26
|
||||
G4int GetStatus() const; // Uzhi Feb26
|
||||
|
||||
#ifdef G4DEBUG
|
||||
void Dump();
|
||||
@@ -79,9 +84,11 @@ class G4InteractionContent
|
||||
|
||||
public:
|
||||
G4InteractionContent(){}
|
||||
G4InteractionContent(const G4InteractionContent &right);
|
||||
const G4InteractionContent & operator=(const G4InteractionContent &right);
|
||||
|
||||
private:
|
||||
G4InteractionContent(const G4InteractionContent &right);
|
||||
|
||||
protected:
|
||||
|
||||
private:
|
||||
@@ -93,6 +100,10 @@ public:
|
||||
G4int theNumberOfHard;
|
||||
G4int theNumberOfSoft;
|
||||
G4int theNumberOfDiffractive;
|
||||
|
||||
G4double theInteractionTime;
|
||||
G4int curStatus;
|
||||
|
||||
};
|
||||
|
||||
// Class G4InteractionContent
|
||||
@@ -112,12 +123,12 @@ inline void G4InteractionContent::SetTarget(G4VSplitableHadron *aTarget)
|
||||
theTarget = aTarget;
|
||||
}
|
||||
|
||||
inline void G4InteractionContent::SetTargetNucleon(G4Nucleon * aNucleon) // Uzhi 16.07.09
|
||||
inline void G4InteractionContent::SetTargetNucleon(G4Nucleon * aNucleon)
|
||||
{
|
||||
theTargetNucleon = aNucleon;
|
||||
}
|
||||
|
||||
inline G4Nucleon * G4InteractionContent::GetTargetNucleon() const // Uzhi 16.07.09
|
||||
inline G4Nucleon * G4InteractionContent::GetTargetNucleon() const
|
||||
{
|
||||
return theTargetNucleon;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user