6 #ifndef Pythia8_DeuteronProduction_H
7 #define Pythia8_DeuteronProduction_H
9 #include "Pythia8/Basics.h"
10 #include "Pythia8/Event.h"
11 #include "Pythia8/ParticleData.h"
12 #include "Pythia8/PhysicsBase.h"
13 #include "Pythia8/PythiaStdlib.h"
14 #include "Pythia8/Settings.h"
28 norm(), mPion(), mSafety(), kMin(), kMax(), kTol(), kSteps() {}
34 bool combine(
Event& event);
40 vector<vector<int> > ids;
41 vector<vector<double> > parms, masses;
45 double kMin, kMax, kTol;
49 static const int NTRYDECAY;
50 static const double WTCORRECTION[11];
53 void bind(
Event& event, vector<int>& prts);
56 void combos(
Event& event, vector<int>& prts, vector<pair<int, int> > &cmbs);
59 double fit(
double k, vector<double>& c,
int i);
62 double sigma(
double k,
int chn);
65 bool decay(
Event& event,
int idx0,
int idx1,
int chn);
68 void maximum(
double& k,
double& s,
int chn);
69 vector<int> parseIds(
string line);
70 vector<double> parseParms(
string line);
78 #endif // Pythia8_DeuteronProduction_H