Geant4 11.1.1
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 (const G4ParticleDefinition *, G4ThreeVector, G4ThreeVector)
 
 ~G4QMDParticipant ()
 
void SetDefinition (const G4ParticleDefinition *pd)
 
const 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 ( const G4ParticleDefinition pd,
G4ThreeVector  p,
G4ThreeVector  r 
)

Definition at line 30 of file G4QMDParticipant.cc.

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

◆ ~G4QMDParticipant()

G4QMDParticipant::~G4QMDParticipant ( )

Definition at line 43 of file G4QMDParticipant.cc.

44{
45 ;
46}

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()

const 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 ( const 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: