Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4INCL::ConsideredPartner Struct Reference

Container for the relevant information. More...

#include <G4INCLClusteringModelIntercomparison.hh>

Public Member Functions

 ConsideredPartner ()
 
 ConsideredPartner (Particle *const p)
 

Public Attributes

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

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]

◆ 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

Member Data Documentation

◆ energy

G4double G4INCL::ConsideredPartner::energy

Definition at line 71 of file G4INCLClusteringModelIntercomparison.hh.

◆ isTargetSpectator

G4bool G4INCL::ConsideredPartner::isTargetSpectator

Definition at line 66 of file G4INCLClusteringModelIntercomparison.hh.

◆ momentum

ThreeVector G4INCL::ConsideredPartner::momentum

Definition at line 70 of file G4INCLClusteringModelIntercomparison.hh.

◆ particle

Particle* G4INCL::ConsideredPartner::particle

Definition at line 65 of file G4INCLClusteringModelIntercomparison.hh.

◆ position

ThreeVector G4INCL::ConsideredPartner::position

Definition at line 69 of file G4INCLClusteringModelIntercomparison.hh.

◆ potentialEnergy

G4double G4INCL::ConsideredPartner::potentialEnergy

Definition at line 72 of file G4INCLClusteringModelIntercomparison.hh.

◆ S

G4int G4INCL::ConsideredPartner::S

Definition at line 68 of file G4INCLClusteringModelIntercomparison.hh.

◆ Z

G4int G4INCL::ConsideredPartner::Z

Definition at line 67 of file G4INCLClusteringModelIntercomparison.hh.


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