Geant4  10.02.p03
G4INCL::ConsideredPartner Struct Reference

Container for the relevant information. More...

#include <G4INCLClusteringModelIntercomparison.hh>

Collaboration diagram for G4INCL::ConsideredPartner:

Public Member Functions

 ConsideredPartner ()
 
 ConsideredPartner (Particle *const p)
 

Public Attributes

Particleparticle
 
G4bool isTargetSpectator
 
G4int Z
 
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 81 of file G4INCLClusteringModelIntercomparison.hh.

81  :
82  particle(p),
84  Z(particle->getZ()),
89  {}
G4double getEnergy() const
const G4INCL::ThreeVector & getPosition() const
G4int getZ() const
Returns the charge number.
G4bool isTargetSpectator() const
G4double getPotentialEnergy() const
Get the particle potential energy.
const G4INCL::ThreeVector & getMomentum() const

Member Data Documentation

◆ energy

G4double G4INCL::ConsideredPartner::energy

Definition at line 70 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 69 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 68 of file G4INCLClusteringModelIntercomparison.hh.

◆ potentialEnergy

G4double G4INCL::ConsideredPartner::potentialEnergy

Definition at line 71 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: