50 using namespace Jetscape;
57 int main(
int argc,
char** argv)
59 clock_t
t; t = clock();
74 auto jetscape = make_shared<JetScape>();
75 jetscape->SetXMLMainFileName(
"../config/jetscape_main.xml");
76 jetscape->SetXMLUserFileName(
"../config/jetscape_user.xml");
77 jetscape->SetReuseHydro (
true);
78 jetscape->SetNReuseHydro (5);
80 auto jlossmanager = make_shared<JetEnergyLossManager> ();
81 auto jloss = make_shared<JetEnergyLoss> ();
82 auto hydro = make_shared<HydroFromFile> ();
85 auto matter = make_shared<Matter> ();
86 auto martini = make_shared<Martini> ();
87 auto adscft = make_shared<AdSCFT> ();
96 auto pGun= make_shared<PGun> ();
99 auto writer= make_shared<JetScapeWriterAscii> (
"test_out.dat");
102 auto writerhepmc= make_shared<JetScapeWriterHepMC> (
"test_out.hepmc");
103 jetscape->Add(writerhepmc);
111 auto initial = make_shared<InitialFromFile>();
112 jetscape->Add(initial);
119 jetscape->Add(hydro);
129 jlossmanager->Add(jloss);
131 jetscape->Add(jlossmanager);
133 jetscape->Add(writer);
153 printf (
"CPU time: %f seconds.\n",((
float)t)/CLOCKS_PER_SEC);
154 printf (
"Real time: %f seconds.\n",difftime(end,start));
163 INFO_NICE<<
"-----------------------------------------------";
164 INFO_NICE<<
"| Hydro from file Test JetScape Framework ... |";
165 INFO_NICE<<
"-----------------------------------------------";