61 using namespace Jetscape;
68 int main(
int argc,
char** argv)
70 clock_t
t; t = clock();
86 auto jetscape = make_shared<JetScape>();
87 jetscape->SetXMLMainFileName(
"../config/jetscape_main.xml");
88 jetscape->SetXMLUserFileName(
"../config/jetscape_user.xml");
90 jetscape->SetId(
"primary");
91 jetscape->SetReuseHydro (
true);
92 jetscape->SetNReuseHydro (10001);
94 auto pGun= make_shared<PGun> ();
96 auto jlossmanager = make_shared<JetEnergyLossManager> ();
97 auto jloss = make_shared<JetEnergyLoss> ();
98 auto hydro = make_shared<HydroFromFile> ();
101 auto matter = make_shared<Matter> ();
102 auto lbt = make_shared<LBT> ();
103 auto martini = make_shared<Martini> ();
104 auto adscft = make_shared<AdSCFT> ();
114 auto hadroMgr = make_shared<HadronizationManager> ();
115 auto hadro = make_shared<Hadronization> ();
116 auto hadroModule = make_shared<ColoredHadronization> ();
117 auto colorless = make_shared<ColorlessHadronization> ();
120 auto writer= make_shared<JetScapeWriterAscii> (
"test_out.dat");
131 auto initial = make_shared<InitialFromFile>();
132 jetscape->Add(initial);
140 jetscape->Add(hydro);
151 jlossmanager->Add(jloss);
153 jetscape->Add(jlossmanager);
155 hadro->Add(hadroModule);
157 hadroMgr->Add(hadro);
158 jetscape->Add(hadroMgr);
160 jetscape->Add(writer);
203 printf (
"CPU time: %f seconds.\n",((
float)t)/CLOCKS_PER_SEC);
204 printf (
"Real time: %f seconds.\n",difftime(end,start));
225 INFO_NICE<<
"------------------------------------------------------";
226 INFO_NICE<<
"| Jet in hydro from file Test JetScape Framework ... |";
227 INFO_NICE<<
"------------------------------------------------------";