Geant4  10.03.p01
 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>

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

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

Definition at line 81 of file G4INCLClusteringModelIntercomparison.hh.

81  :
82  particle(p),
84  Z(particle->getZ()),
89  {}
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

Member Data Documentation

G4double G4INCL::ConsideredPartner::energy

Definition at line 70 of file G4INCLClusteringModelIntercomparison.hh.

G4bool G4INCL::ConsideredPartner::isTargetSpectator

Definition at line 66 of file G4INCLClusteringModelIntercomparison.hh.

ThreeVector G4INCL::ConsideredPartner::momentum

Definition at line 69 of file G4INCLClusteringModelIntercomparison.hh.

Particle* G4INCL::ConsideredPartner::particle

Definition at line 65 of file G4INCLClusteringModelIntercomparison.hh.

ThreeVector G4INCL::ConsideredPartner::position

Definition at line 68 of file G4INCLClusteringModelIntercomparison.hh.

G4double G4INCL::ConsideredPartner::potentialEnergy

Definition at line 71 of file G4INCLClusteringModelIntercomparison.hh.

G4int G4INCL::ConsideredPartner::Z

Definition at line 67 of file G4INCLClusteringModelIntercomparison.hh.


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