9 #ifndef Pythia8_StringLength_H
10 #define Pythia8_StringLength_H
12 #include "Pythia8/Event.h"
13 #include "Pythia8/Info.h"
14 #include "Pythia8/Settings.h"
15 #include "Pythia8/StringFragmentation.h"
28 StringLength() : m0(), m0sqr(), sqrt2(), juncCorr(), lambdaForm(),
32 void init(Info* infoPtrIn, Settings& settings);
37 double getLength(Vec4 p, Vec4 v,
bool isJunc =
false);
40 double getStringLength(
Event& event,
int i,
int j);
43 double getStringLength(Vec4 p1, Vec4 p2);
46 double getJuncLength(
Event& event,
int i,
int j,
int k);
49 double getJuncLength(Vec4 p1, Vec4 p2, Vec4 p3);
53 double getJuncLength(
Event& event,
int i,
int j,
int k,
int l);
57 double getJuncLength(Vec4 p1, Vec4 p2, Vec4 p3, Vec4 p4);
61 static const double TINY, MINANGLE;
63 double m0, m0sqr, sqrt2, juncCorr;
70 StringFragmentation stringFragmentation;
78 #endif // Pythia8_StringLength_H