Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4QMDParticipant Class Reference

#include <G4QMDParticipant.hh>

Public Member Functions

 G4QMDParticipant (G4ParticleDefinition *, G4ThreeVector, G4ThreeVector)
 
 ~G4QMDParticipant ()
 
void SetDefinition (G4ParticleDefinition *pd)
 
G4ParticleDefinitionGetDefinition ()
 
void SetPosition (G4ThreeVector r)
 
G4ThreeVector GetPosition ()
 
void SetMomentum (G4ThreeVector p)
 
G4ThreeVector GetMomentum ()
 
G4double GetMass ()
 
G4LorentzVector Get4Momentum ()
 
G4double GetKineticEnergy ()
 
G4int GetBaryonNumber ()
 
G4int GetNuc ()
 
G4int GetChargeInUnitOfEplus ()
 
void UnsetInitialMark ()
 
void UnsetHitMark ()
 
G4bool IsThisHit ()
 
void SetHitMark ()
 
void SetProjectile ()
 
void SetTarget ()
 
G4bool IsThisProjectile ()
 
G4bool IsThisTarget ()
 

Detailed Description

Definition at line 48 of file G4QMDParticipant.hh.

Constructor & Destructor Documentation

◆ G4QMDParticipant()

G4QMDParticipant::G4QMDParticipant ( G4ParticleDefinition pd,
G4ThreeVector  p,
G4ThreeVector  r 
)

Definition at line 29 of file G4QMDParticipant.cc.

30: definition ( pd )
31, momentum ( p )
32, position ( r )
33, projectile ( false )
34, target ( false )
35{
36 ;
37}

◆ ~G4QMDParticipant()

G4QMDParticipant::~G4QMDParticipant ( )

Definition at line 41 of file G4QMDParticipant.cc.

42{
43 ;
44}

Member Function Documentation

◆ Get4Momentum()

◆ GetBaryonNumber()

G4int G4QMDParticipant::GetBaryonNumber ( )
inline

Definition at line 70 of file G4QMDParticipant.hh.

70{ return definition->GetBaryonNumber(); };

Referenced by G4QMDMeanField::Cal2BodyQuantities(), and G4QMDMeanField::DoClusterJudgment().

◆ GetChargeInUnitOfEplus()

G4int G4QMDParticipant::GetChargeInUnitOfEplus ( )
inline

◆ GetDefinition()

G4ParticleDefinition * G4QMDParticipant::GetDefinition ( )
inline

◆ GetKineticEnergy()

G4double G4QMDParticipant::GetKineticEnergy ( )
inline

Definition at line 68 of file G4QMDParticipant.hh.

68{ return Get4Momentum().e() - GetMass(); };
G4LorentzVector Get4Momentum()

◆ GetMass()

◆ GetMomentum()

◆ GetNuc()

G4int G4QMDParticipant::GetNuc ( )
inline

◆ GetPosition()

◆ IsThisHit()

G4bool G4QMDParticipant::IsThisHit ( )
inline

Definition at line 77 of file G4QMDParticipant.hh.

77{ return hit; }

Referenced by G4QMDCollision::CalKinematicsOfBinaryCollisions().

◆ IsThisProjectile()

G4bool G4QMDParticipant::IsThisProjectile ( )
inline

Definition at line 82 of file G4QMDParticipant.hh.

82{ return projectile; }

Referenced by G4QMDCollision::CalKinematicsOfBinaryCollisions().

◆ IsThisTarget()

G4bool G4QMDParticipant::IsThisTarget ( )
inline

Definition at line 83 of file G4QMDParticipant.hh.

83{ return target; }

Referenced by G4QMDCollision::CalKinematicsOfBinaryCollisions().

◆ SetDefinition()

void G4QMDParticipant::SetDefinition ( G4ParticleDefinition pd)
inline

◆ SetHitMark()

void G4QMDParticipant::SetHitMark ( )
inline

Definition at line 78 of file G4QMDParticipant.hh.

78{ hit = true; }

Referenced by G4QMDCollision::CalKinematicsOfBinaryCollisions().

◆ SetMomentum()

◆ SetPosition()

void G4QMDParticipant::SetPosition ( G4ThreeVector  r)
inline

◆ SetProjectile()

void G4QMDParticipant::SetProjectile ( )
inline

Definition at line 80 of file G4QMDParticipant.hh.

80{ projectile = true; }

Referenced by G4QMDReaction::ApplyYourself().

◆ SetTarget()

void G4QMDParticipant::SetTarget ( )
inline

Definition at line 81 of file G4QMDParticipant.hh.

81{ target = true; }

Referenced by G4QMDReaction::ApplyYourself().

◆ UnsetHitMark()

void G4QMDParticipant::UnsetHitMark ( )
inline

Definition at line 76 of file G4QMDParticipant.hh.

76{ hit = false; }

Referenced by G4QMDCollision::CalKinematicsOfBinaryCollisions().

◆ UnsetInitialMark()

void G4QMDParticipant::UnsetInitialMark ( )
inline

Definition at line 75 of file G4QMDParticipant.hh.

75{ projectile = false; target = false; }

Referenced by G4QMDCollision::CalKinematicsOfBinaryCollisions().


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