Geant4 11.2.2
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 ()=default
 
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 () const
 
G4ReactionProductGetProjectileRP () const
 
G4ReactionProductGetCMS ()
 
void SetQValue (G4double aValue)
 
virtual void ClearHistories ()
 
 G4VParticleHPEnergyAngular (G4VParticleHPEnergyAngular &)=delete
 
G4VParticleHPEnergyAngularoperator= (const G4VParticleHPEnergyAngular &right)=delete
 

Protected Member Functions

G4double GetQValue () const
 

Detailed Description

Definition at line 41 of file G4VParticleHPEnergyAngular.hh.

Constructor & Destructor Documentation

◆ G4VParticleHPEnergyAngular() [1/2]

G4VParticleHPEnergyAngular::G4VParticleHPEnergyAngular ( )
inline

Definition at line 52 of file G4VParticleHPEnergyAngular.hh.

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

◆ ~G4VParticleHPEnergyAngular()

virtual G4VParticleHPEnergyAngular::~G4VParticleHPEnergyAngular ( )
virtualdefault

◆ G4VParticleHPEnergyAngular() [2/2]

G4VParticleHPEnergyAngular::G4VParticleHPEnergyAngular ( G4VParticleHPEnergyAngular & )
delete

Member Function Documentation

◆ ClearHistories()

virtual void G4VParticleHPEnergyAngular::ClearHistories ( )
inlinevirtual

Reimplemented in G4ParticleHPContEnergyAngular.

Definition at line 84 of file G4VParticleHPEnergyAngular.hh.

84{}

Referenced by G4ParticleHPProduct::Sample().

◆ GetCMS()

G4ReactionProduct * G4VParticleHPEnergyAngular::GetCMS ( )
inline

Definition at line 76 of file G4VParticleHPEnergyAngular.hh.

77 {
78 *fCache.Get().theCMS = *fCache.Get().theProjectileRP + *fCache.Get().theTarget;
79 return fCache.Get().theCMS;
80 }
value_type & Get() const
Definition G4Cache.hh:315

◆ GetProjectileRP()

G4ReactionProduct * G4VParticleHPEnergyAngular::GetProjectileRP ( ) const
inline

◆ GetQValue()

G4double G4VParticleHPEnergyAngular::GetQValue ( ) const
inlineprotected

Definition at line 91 of file G4VParticleHPEnergyAngular.hh.

91{ return theQValue; }

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

◆ GetTarget()

G4ReactionProduct * G4VParticleHPEnergyAngular::GetTarget ( ) const
inline

◆ Init()

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

◆ MeanEnergyOfThisInteraction()

virtual G4double G4VParticleHPEnergyAngular::MeanEnergyOfThisInteraction ( )
pure virtual

◆ operator=()

G4VParticleHPEnergyAngular & G4VParticleHPEnergyAngular::operator= ( const G4VParticleHPEnergyAngular & right)
delete

◆ Sample()

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

◆ SetProjectileRP()

void G4VParticleHPEnergyAngular::SetProjectileRP ( G4ReactionProduct * aIncidentParticleRP)
inline

Definition at line 65 of file G4VParticleHPEnergyAngular.hh.

66 {
67 fCache.Get().theProjectileRP = aIncidentParticleRP;
68 }

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

◆ SetQValue()

void G4VParticleHPEnergyAngular::SetQValue ( G4double aValue)
inline

Definition at line 82 of file G4VParticleHPEnergyAngular.hh.

82{ theQValue = aValue; }

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

◆ SetTarget()

void G4VParticleHPEnergyAngular::SetTarget ( G4ReactionProduct * aTarget)
inline

Definition at line 70 of file G4VParticleHPEnergyAngular.hh.

70{ fCache.Get().theTarget = aTarget; }

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


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