28 #include "JetEnergyLoss.h"
29 #include "JetEnergyLossManager.h"
30 #include "JetScapeWriterStream.h"
32 #include "JetScapeWriterHepMC.h"
42 #include "GubserHydro.h"
43 #include "HydroFromFile.h"
45 #include "PythiaGun.h"
46 #include "PartonPrinter.h"
47 #include "HadronizationManager.h"
48 #include "Hadronization.h"
49 #include "ColoredHadronization.h"
50 #include "ColorlessHadronization.h"
53 #include "InitialFromFile.h"
57 #include "TrentoInitial.h"
62 using namespace Jetscape;
69 int main(
int argc,
char** argv)
71 clock_t
t; t = clock();
78 JetScapeLogger::Instance()->SetInfo(
true);
79 JetScapeLogger::Instance()->SetDebug(
false);
80 JetScapeLogger::Instance()->SetRemark(
false);
83 JetScapeLogger::Instance()->SetVerboseLevel(6);
87 auto jetscape = make_shared<JetScape>(
"./jetscape_init.xml", 2000);
89 jetscape->SetId(
"primary");
90 jetscape->SetReuseHydro (
true);
91 jetscape->SetNReuseHydro (10001);
93 auto pGun= make_shared<PGun> ();
95 auto jlossmanager = make_shared<JetEnergyLossManager> ();
96 auto jloss = make_shared<JetEnergyLoss> ();
97 auto hydro = make_shared<HydroFromFile> ();
100 auto matter = make_shared<Matter> ();
101 auto lbt = make_shared<LBT> ();
102 auto martini = make_shared<Martini> ();
103 auto adscft = make_shared<AdSCFT> ();
113 auto printer = make_shared<PartonPrinter> ();
115 auto hadroMgr = make_shared<HadronizationManager> ();
116 auto hadro = make_shared<Hadronization> ();
117 auto hadroModule = make_shared<ColoredHadronization> ();
118 auto colorless = make_shared<ColorlessHadronization> ();
121 auto writer= make_shared<JetScapeWriterAscii> (
"test_out.dat");
132 auto initial = make_shared<InitialFromFile>();
133 jetscape->Add(initial);
141 jetscape->Add(hydro);
152 jlossmanager->Add(jloss);
154 jetscape->Add(jlossmanager);
156 jetscape->Add(printer);
158 hadro->Add(hadroModule);
160 hadroMgr->Add(hadro);
161 jetscape->Add(hadroMgr);
163 jetscape->Add(writer);
175 INFO_NICE<<
"Finished!";
206 printf (
"CPU time: %f seconds.\n",((
float)t)/CLOCKS_PER_SEC);
207 printf (
"Real time: %f seconds.\n",difftime(end,start));
228 INFO_NICE<<
"------------------------------------------------------";
229 INFO_NICE<<
"| Jet in hydro from file Test JetScape Framework ... |";
230 INFO_NICE<<
"------------------------------------------------------";