PYTHIA
8.303

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 fourmomenta. 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 fourmomenta. More...  
double  getJuncLength (Event &event, int i, int j, int k, int l) 
double  getJuncLength (Vec4 p1, Vec4 p2, Vec4 p3, Vec4 p4) 
StringLength class. It is used to calculate the lambda measure.
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.
Calculate the length of a single junction given the 3 fourmomenta.
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.
Calculate the length of a double junction given the 4 fourmomenta. The first two are expected to be quarks, the second two to be antiquarks.
Calculate the length of a double junction given the 4 fourmomenta. 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.
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.
Calculate string length for two particles given their fourmomenta.
Check for very small energies and angles.
Boost to restframe.
Calculate string length.