File indexing completed on 2025-08-03 08:19:57
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef COLOREDHADRONIZATION_H
0017 #define COLOREDHADRONIZATION_H
0018
0019 #include "HadronizationModule.h"
0020 #include "Pythia8/Pythia.h"
0021
0022 using namespace Jetscape;
0023
0024 class ColoredHadronization : public HadronizationModule<ColoredHadronization> {
0025 public:
0026 ColoredHadronization();
0027 virtual ~ColoredHadronization();
0028
0029 void Init();
0030 void DoHadronization(vector<vector<shared_ptr<Parton>>> &shower,
0031 vector<shared_ptr<Hadron>> &hOut,
0032 vector<shared_ptr<Parton>> &pOut);
0033 void WriteTask(weak_ptr<JetScapeWriter> w);
0034
0035 private:
0036 double p_fake;
0037
0038
0039 static RegisterJetScapeModule<ColoredHadronization> reg;
0040
0041 protected:
0042 static Pythia8::Pythia pythia;
0043 };
0044
0045 #endif