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

#include <HISubCollisionModel.h>

Public Types

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

Public Member Functions

 SubCollision (Nucleon &projIn, Nucleon &targIn, double bIn, double bpIn, CollisionType typeIn)
 Constructor with configuration.
 
 SubCollision ()
 Default constructor.
 
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
 
CollisionType type
 The type of collision.
 

Detailed Description

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

Member Enumeration Documentation

This defines the type of a binary nucleon collison.

Enumerator
ELASTIC 

This is not a collision.

SDEP 

This is an elastic scattering.

SDET 

The projectile is diffractively excited.

DDE 

The target is diffractively excited.

CDE 

Both projectile and target are diffractively excited.

ABS 

Both excited but with central diffraction.

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: