Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 40 of file G4VParticleHPEnergyAngular.hh.

Constructor & Destructor Documentation

G4VParticleHPEnergyAngular::G4VParticleHPEnergyAngular ( )
inline

Definition at line 52 of file G4VParticleHPEnergyAngular.hh.

53  {
54  //theTarget = 0;
55  //theProjectileRP = 0;
56  theQValue=0;
57  toBeCached val;
58  fCache.Put( val );
59  }
void Put(const value_type &val) const
Definition: G4Cache.hh:286

Here is the call graph for this function:

virtual G4VParticleHPEnergyAngular::~G4VParticleHPEnergyAngular ( )
inlinevirtual

Definition at line 60 of file G4VParticleHPEnergyAngular.hh.

60 {}

Member Function Documentation

virtual void G4VParticleHPEnergyAngular::ClearHistories ( )
inlinevirtual

Reimplemented in G4ParticleHPContEnergyAngular.

Definition at line 105 of file G4VParticleHPEnergyAngular.hh.

105 {;};

Here is the caller graph for this function:

G4ReactionProduct* G4VParticleHPEnergyAngular::GetCMS ( )
inline

Definition at line 85 of file G4VParticleHPEnergyAngular.hh.

85  {
86  *fCache.Get().theCMS = *fCache.Get().theProjectileRP + *fCache.Get().theTarget;
87  return fCache.Get().theCMS; }
value_type & Get() const
Definition: G4Cache.hh:282

Here is the call graph for this function:

G4ReactionProduct* G4VParticleHPEnergyAngular::GetProjectileRP ( )
inline

Definition at line 83 of file G4VParticleHPEnergyAngular.hh.

83 { return fCache.Get().theProjectileRP; }
value_type & Get() const
Definition: G4Cache.hh:282

Here is the call graph for this function:

Here is the caller graph for this function:

G4double G4VParticleHPEnergyAngular::GetQValue ( )
inlineprotected

Definition at line 93 of file G4VParticleHPEnergyAngular.hh.

93 { return theQValue; }

Here is the caller graph for this function:

G4ReactionProduct* G4VParticleHPEnergyAngular::GetTarget ( void  )
inline

Definition at line 81 of file G4VParticleHPEnergyAngular.hh.

81 { return fCache.Get().theTarget; }
value_type & Get() const
Definition: G4Cache.hh:282

Here is the call graph for this function:

Here is the caller graph for this function:

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

Implemented in G4ParticleHPContEnergyAngular, G4ParticleHPDiscreteTwoBody, G4ParticleHPLabAngularEnergy, and G4ParticleHPIsotropic.

Here is the caller graph for this function:

virtual G4ReactionProduct* G4VParticleHPEnergyAngular::Sample ( G4double  anEnergy,
G4double  massCode,
G4double  mass 
)
pure virtual
void G4VParticleHPEnergyAngular::SetProjectileRP ( G4ReactionProduct aIncidentParticleRP)
inline

Definition at line 70 of file G4VParticleHPEnergyAngular.hh.

71  {
72  fCache.Get().theProjectileRP = aIncidentParticleRP;
73  //if(fCache.Get().theTarget!=0) theCMS = *fCache.Get().theProjectileRP+*fCache.Get().theTarget;
74  }
value_type & Get() const
Definition: G4Cache.hh:282

Here is the call graph for this function:

Here is the caller graph for this function:

void G4VParticleHPEnergyAngular::SetQValue ( G4double  aValue)
inline

Definition at line 89 of file G4VParticleHPEnergyAngular.hh.

89 { theQValue = aValue; }

Here is the caller graph for this function:

void G4VParticleHPEnergyAngular::SetTarget ( G4ReactionProduct aTarget)
inline

Definition at line 76 of file G4VParticleHPEnergyAngular.hh.

77  {
78  fCache.Get().theTarget = aTarget;
79  }
value_type & Get() const
Definition: G4Cache.hh:282

Here is the call graph for this function:

Here is the caller graph for this function:


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