Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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

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 63 of file G4INCLClusteringModelIntercomparison.hh.

Constructor & Destructor Documentation

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

Definition at line 80 of file G4INCLClusteringModelIntercomparison.hh.

80  :
81  particle(p),
83  Z(particle->getZ()),
88  {}
const char * p
Definition: xmltok.h:285
G4bool isTargetSpectator() const
const G4INCL::ThreeVector & getMomentum() const
G4double getEnergy() const
G4double getPotentialEnergy() const
Get the particle potential energy.
G4int getZ() const
Returns the charge number.
const G4INCL::ThreeVector & getPosition() const

Field Documentation

G4double G4INCL::ConsideredPartner::energy

Definition at line 69 of file G4INCLClusteringModelIntercomparison.hh.

G4bool G4INCL::ConsideredPartner::isTargetSpectator

Definition at line 65 of file G4INCLClusteringModelIntercomparison.hh.

ThreeVector G4INCL::ConsideredPartner::momentum

Definition at line 68 of file G4INCLClusteringModelIntercomparison.hh.

Particle* G4INCL::ConsideredPartner::particle

Definition at line 64 of file G4INCLClusteringModelIntercomparison.hh.

ThreeVector G4INCL::ConsideredPartner::position

Definition at line 67 of file G4INCLClusteringModelIntercomparison.hh.

G4double G4INCL::ConsideredPartner::potentialEnergy

Definition at line 70 of file G4INCLClusteringModelIntercomparison.hh.

G4int G4INCL::ConsideredPartner::Z

Definition at line 66 of file G4INCLClusteringModelIntercomparison.hh.


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