PYTHIA  8.303
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 (Vec4 p, Vec4 v, bool isJunc=false)
 
double getStringLength (Event &event, int i, int j)
 Calculate string length for two indices in the event record. More...
 
double getStringLength (Vec4 p1, Vec4 p2)
 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 (Vec4 p1, Vec4 p2, Vec4 p3)
 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 (Vec4 p1, Vec4 p2, Vec4 p3, Vec4 p4)
 

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 ( Vec4  p1,
Vec4  p2,
Vec4  p3 
)

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 ( Vec4  p1,
Vec4  p2,
Vec4  p3,
Vec4  p4 
)

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 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 ( Vec4  p,
Vec4  v,
bool  isJunc = false 
)

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.

double getStringLength ( Event event,
int  i,
int  j 
)

Calculate string length for two indices in the event record.

Find rest frame of particles.

double getStringLength ( Vec4  p1,
Vec4  p2 
)

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: