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() {}
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);
Definition: PhysicsBase.h:27
The Event class holds all info on the generated event.
Definition: Event.h:453
bool combine(Event &event)
Form deuterons in an event.
Definition: DeuteronProduction.cc:152
bool init()
Find settings. Precalculate table used to find momentum shifts.
Definition: DeuteronProduction.cc:34
DeuteronProduction()
Constructor.
Definition: DeuteronProduction.h:27
Header for classes to set beam momentum and interaction vertex spread.
Definition: Analysis.h:20
The DeuteronProduction class.
Definition: DeuteronProduction.h:22