Geant4 11.3.0
Toolkit for the simulation of the passage of particles through matter
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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),
85 isTargetSpectator(particle->isTargetSpectator()),
86 Z(particle->getZ()),
87 S(particle->getS()),
88 position(particle->getPosition()),
89 momentum(particle->getMomentum()),
90 energy(particle->getEnergy()),
91 potentialEnergy(particle->getPotentialEnergy())
92 {}

Member Data Documentation

◆ energy

G4double G4INCL::ConsideredPartner::energy

Definition at line 71 of file G4INCLClusteringModelIntercomparison.hh.

Referenced by ConsideredPartner(), and ConsideredPartner().

◆ isTargetSpectator

G4bool G4INCL::ConsideredPartner::isTargetSpectator

Definition at line 66 of file G4INCLClusteringModelIntercomparison.hh.

Referenced by ConsideredPartner(), and ConsideredPartner().

◆ momentum

ThreeVector G4INCL::ConsideredPartner::momentum

Definition at line 70 of file G4INCLClusteringModelIntercomparison.hh.

Referenced by ConsideredPartner().

◆ particle

Particle* G4INCL::ConsideredPartner::particle

Definition at line 65 of file G4INCLClusteringModelIntercomparison.hh.

Referenced by ConsideredPartner(), and ConsideredPartner().

◆ position

ThreeVector G4INCL::ConsideredPartner::position

Definition at line 69 of file G4INCLClusteringModelIntercomparison.hh.

Referenced by ConsideredPartner().

◆ potentialEnergy

G4double G4INCL::ConsideredPartner::potentialEnergy

Definition at line 72 of file G4INCLClusteringModelIntercomparison.hh.

Referenced by ConsideredPartner(), and ConsideredPartner().

◆ S

G4int G4INCL::ConsideredPartner::S

Definition at line 68 of file G4INCLClusteringModelIntercomparison.hh.

Referenced by ConsideredPartner(), and ConsideredPartner().

◆ Z

G4int G4INCL::ConsideredPartner::Z

Definition at line 67 of file G4INCLClusteringModelIntercomparison.hh.

Referenced by ConsideredPartner(), and ConsideredPartner().


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