PYTHIA  8.312
Public Member Functions | List of all members
StringLength Class Reference

StringLength class. It is used to calculate the lambda measure. More...

#include <StringLength.h>

Public Member Functions

 StringLength ()
 Constructor.
 
void init (Info *infoPtrIn, Settings &settings)
 Initialize. More...
 
double getLength (const Vec4 &p, const Vec4 &v, bool isJunc=false) const
 
double getStringLength (Event &event, int i, int j)
 Calculate string length for two indices in the event record.
 
double getStringLength (Vec4 p1, Vec4 p2) const
 Calculate string length for two particles given their four-momenta. More...
 
double getJuncLength (Event &event, int i, int j, int k)
 Calculate the length of a single junction given the 3 entries in event. More...
 
double getJuncLength (const Vec4 &p1, const Vec4 &p2, const Vec4 &p3) const
 Calculate the length of a single junction given the 3 four-momenta. More...
 
double getJuncLength (Event &event, int i, int j, int k, int l)
 
double getJuncLength (const Vec4 &p1, const Vec4 &p2, const Vec4 &p3, const Vec4 &p4) const
 

Detailed Description

StringLength class. It is used to calculate the lambda measure.

Member Function Documentation

double getJuncLength ( Event event,
int  i,
int  j,
int  k 
)

Calculate the length of a single junction given the 3 entries in event.

Calculate the length of a single junction given the 3 entries in the event.

double getJuncLength ( const Vec4 p1,
const Vec4 p2,
const Vec4 p3 
) const

Calculate the length of a single junction given the 3 four-momenta.

Check for very small energies and angles.

Find the junction rest frame.

Possible problem when the right system rest frame system is not found.

Calcualte the junction length.

double getJuncLength ( Event event,
int  i,
int  j,
int  k,
int  l 
)

Calculate the length of a double junction given the 4 entries in event. The first two are expected to be quarks, the second two to be antiquarks.

Calculate the length of a double junction given the 4 entries in the event. The first two are expected to be quarks, the second two to be anti quarks.

Simple minimum check of lengths.

double getJuncLength ( const Vec4 p1,
const Vec4 p2,
const Vec4 p3,
const Vec4 p4 
) const

Calculate the length of a double junction given the 4 four-momenta. The first two are expected to be quarks, the second two to be antiquarks.

Calculate the length of a double junction given the 4 four-momenta. The first two are expected to be quarks, the second two to be anti quarks.

Check for very small energies, momenta, and angles.

Calculate velocity of first junction.

Calculate velocity of second junction.

This only happens if it is not possible to find the correct rest frame.

double getLength ( const Vec4 p,
const Vec4 v,
bool  isJunc = false 
) const

Calculate string length of a single particle. The first vector is the 4 vector of the particle. The second vector represents (1,0,0,0) in dipole restframe.

Javira + Harsh's changes for better treatment of massive partons.

Old standard string length measure.

double getStringLength ( Vec4  p1,
Vec4  p2 
) const

Calculate string length for two particles given their four-momenta.

Check for very small energies and angles.

Boost to restframe.

Calculate string length.

void init ( Info infoPtrIn,
Settings settings 
)

Initialize.

Save pointers.

Store variables.


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