PYTHIA  8.303
Public Types | Public Member Functions | Public Attributes | List of all members
SubCollision Class Reference

#include <HIUserHooks.h>

Public Types

enum  Type {
  NONE, ELASTIC, SDEP, SDET,
  DDE, CDE, ABS
}
 This defines the type of a bunary nucleon collison. More...
 

Public Member Functions

 SubCollision (Nucleon &projIn, Nucleon &targIn, double bIn, double bpIn, Type typeIn)
 
bool operator< (const SubCollision &s) const
 Used to order sub-collisions in a set.
 
int nucleons () const
 

Public Attributes

Nucleonproj
 The projectile nucleon.
 
Nucleontarg
 The target nucleon.
 
double b
 The impact parameter distance between the nucleons in femtometer.
 
double bp
 
Type type
 The type of collison.
 

Detailed Description

SubCollision represents a possible collision between a projectile and a target Nucleon.

Member Enumeration Documentation

enum Type

This defines the type of a bunary nucleon collison.

Enumerator
NONE 

This is not a collision.

ELASTIC 

This is an elastic scattering.

SDEP 

The projectile is diffractively excited.

SDET 

The target is diffractively excited.

DDE 

Both projectile and target are diffractively excited.

CDE 

Both excited but with central diffraction.

ABS 

This is an absorptive (non-diffractive) collision.

Member Function Documentation

int nucleons ( ) const
inline

Return 0 if neither proj or target are neutrons, 1 if target is neutron, 2 if projectile is neutron, and 3 if both are neutrons.

Member Data Documentation

double bp

The impact parameter distance between the nucleons scaled like in Pythia to have unit average for non-diffractive collisions.


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