Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VParticleHPEnergyAngular Class Referenceabstract

#include <G4VParticleHPEnergyAngular.hh>

+ Inheritance diagram for G4VParticleHPEnergyAngular:

Public Member Functions

 G4VParticleHPEnergyAngular ()
 
virtual ~G4VParticleHPEnergyAngular ()
 
virtual void Init (std::istream &aDataFile)=0
 
virtual G4ReactionProductSample (G4double anEnergy, G4double massCode, G4double mass)=0
 
virtual G4double MeanEnergyOfThisInteraction ()=0
 
void SetProjectileRP (G4ReactionProduct *aIncidentParticleRP)
 
void SetTarget (G4ReactionProduct *aTarget)
 
G4ReactionProductGetTarget ()
 
G4ReactionProductGetProjectileRP ()
 
G4ReactionProductGetCMS ()
 
void SetQValue (G4double aValue)
 
virtual void ClearHistories ()
 

Protected Member Functions

G4double GetQValue ()
 

Detailed Description

Definition at line 41 of file G4VParticleHPEnergyAngular.hh.

Constructor & Destructor Documentation

◆ G4VParticleHPEnergyAngular()

G4VParticleHPEnergyAngular::G4VParticleHPEnergyAngular ( )
inline

Definition at line 54 of file G4VParticleHPEnergyAngular.hh.

55 {
56 theQValue=0;
57 toBeCached val;
58 fCache.Put( val );
59 }
void Put(const value_type &val) const
Definition: G4Cache.hh:321

◆ ~G4VParticleHPEnergyAngular()

virtual G4VParticleHPEnergyAngular::~G4VParticleHPEnergyAngular ( )
inlinevirtual

Definition at line 61 of file G4VParticleHPEnergyAngular.hh.

62 {
63 }

Member Function Documentation

◆ ClearHistories()

virtual void G4VParticleHPEnergyAngular::ClearHistories ( )
inlinevirtual

Reimplemented in G4ParticleHPContEnergyAngular.

Definition at line 106 of file G4VParticleHPEnergyAngular.hh.

107 {
108 }

Referenced by G4ParticleHPProduct::Sample().

◆ GetCMS()

G4ReactionProduct * G4VParticleHPEnergyAngular::GetCMS ( )
inline

Definition at line 94 of file G4VParticleHPEnergyAngular.hh.

95 {
96 *fCache.Get().theCMS = *fCache.Get().theProjectileRP
97 + *fCache.Get().theTarget;
98 return fCache.Get().theCMS;
99 }
value_type & Get() const
Definition: G4Cache.hh:315

◆ GetProjectileRP()

G4ReactionProduct * G4VParticleHPEnergyAngular::GetProjectileRP ( )
inline

Definition at line 89 of file G4VParticleHPEnergyAngular.hh.

90 {
91 return fCache.Get().theProjectileRP;
92 }

Referenced by G4ParticleHPContEnergyAngular::Sample(), G4ParticleHPDiscreteTwoBody::Sample(), and G4ParticleHPNBodyPhaseSpace::Sample().

◆ GetQValue()

G4double G4VParticleHPEnergyAngular::GetQValue ( )
inlineprotected

Definition at line 112 of file G4VParticleHPEnergyAngular.hh.

112{ return theQValue; }

Referenced by G4ParticleHPDiscreteTwoBody::Sample(), and G4ParticleHPIsotropic::Sample().

◆ GetTarget()

G4ReactionProduct * G4VParticleHPEnergyAngular::GetTarget ( )
inline

◆ Init()

virtual void G4VParticleHPEnergyAngular::Init ( std::istream &  aDataFile)
pure virtual

◆ MeanEnergyOfThisInteraction()

virtual G4double G4VParticleHPEnergyAngular::MeanEnergyOfThisInteraction ( )
pure virtual

◆ Sample()

virtual G4ReactionProduct * G4VParticleHPEnergyAngular::Sample ( G4double  anEnergy,
G4double  massCode,
G4double  mass 
)
pure virtual

◆ SetProjectileRP()

void G4VParticleHPEnergyAngular::SetProjectileRP ( G4ReactionProduct aIncidentParticleRP)
inline

Definition at line 74 of file G4VParticleHPEnergyAngular.hh.

75 {
76 fCache.Get().theProjectileRP = aIncidentParticleRP;
77 }

Referenced by G4ParticleHPInelasticBaseFS::BaseApply(), and G4ParticleHPProduct::Sample().

◆ SetQValue()

void G4VParticleHPEnergyAngular::SetQValue ( G4double  aValue)
inline

Definition at line 101 of file G4VParticleHPEnergyAngular.hh.

102 {
103 theQValue = aValue;
104 }

Referenced by G4ParticleHPInelasticBaseFS::BaseApply(), and G4ParticleHPProduct::Init().

◆ SetTarget()

void G4VParticleHPEnergyAngular::SetTarget ( G4ReactionProduct aTarget)
inline

Definition at line 79 of file G4VParticleHPEnergyAngular.hh.

80 {
81 fCache.Get().theTarget = aTarget;
82 }

Referenced by G4ParticleHPInelasticBaseFS::BaseApply(), and G4ParticleHPProduct::Sample().


The documentation for this class was generated from the following file: