Geant4-11
Public Member Functions | Data Fields
G4INCL::ConsideredPartner Struct Reference

Container for the relevant information. More...

#include <G4INCLClusteringModelIntercomparison.hh>

Public Member Functions

 ConsideredPartner ()
 
 ConsideredPartner (Particle *const p)
 

Data Fields

G4double energy
 
G4bool isTargetSpectator
 
ThreeVector momentum
 
Particleparticle
 
ThreeVector position
 
G4double potentialEnergy
 
G4int S
 
G4int Z
 

Detailed Description

Container for the relevant information.

This struct contains all the information that is relevant for the clustering algorithm. It is probably more compact than the Particles it feeds on, hopefully improving cache performance.

Definition at line 64 of file G4INCLClusteringModelIntercomparison.hh.

Constructor & Destructor Documentation

◆ ConsideredPartner() [1/2]

G4INCL::ConsideredPartner::ConsideredPartner ( )
inline

◆ ConsideredPartner() [2/2]

G4INCL::ConsideredPartner::ConsideredPartner ( Particle *const  p)
inline

Definition at line 83 of file G4INCLClusteringModelIntercomparison.hh.

83 :
84 particle(p),
86 Z(particle->getZ()),
87 S(particle->getS()),
92 {}
G4int getS() const
Returns the strangeness number.
G4double getEnergy() const
G4double getPotentialEnergy() const
Get the particle potential energy.
G4int getZ() const
Returns the charge number.
const G4INCL::ThreeVector & getPosition() const
G4bool isTargetSpectator() const
const G4INCL::ThreeVector & getMomentum() const

Field Documentation

◆ energy

G4double G4INCL::ConsideredPartner::energy

◆ isTargetSpectator

G4bool G4INCL::ConsideredPartner::isTargetSpectator

◆ momentum

ThreeVector G4INCL::ConsideredPartner::momentum

◆ particle

Particle* G4INCL::ConsideredPartner::particle

◆ position

ThreeVector G4INCL::ConsideredPartner::position

◆ potentialEnergy

G4double G4INCL::ConsideredPartner::potentialEnergy

◆ S

G4int G4INCL::ConsideredPartner::S

◆ Z

G4int G4INCL::ConsideredPartner::Z

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