28 #include "JetEnergyLoss.h"
29 #include "JetEnergyLossManager.h"
30 #include "JetScapeWriterStream.h"
32 #include "JetScapeWriterHepMC.h"
41 #include "GubserHydro.h"
42 #include "HydroFromFile.h"
46 #include "InitialFromFile.h"
50 using namespace Jetscape;
57 int main(
int argc,
char** argv)
59 clock_t
t; t = clock();
66 JetScapeLogger::Instance()->SetDebug(
false);
67 JetScapeLogger::Instance()->SetRemark(
false);
70 JetScapeLogger::Instance()->SetVerboseLevel(8);
74 auto jetscape = make_shared<JetScape>(
"./jetscape_init.xml", 5);
75 jetscape->SetReuseHydro (
true);
76 jetscape->SetNReuseHydro (5);
78 auto jlossmanager = make_shared<JetEnergyLossManager> ();
79 auto jloss = make_shared<JetEnergyLoss> ();
80 auto hydro = make_shared<HydroFromFile> ();
83 auto matter = make_shared<Matter> ();
84 auto martini = make_shared<Martini> ();
85 auto adscft = make_shared<AdSCFT> ();
94 auto pGun= make_shared<PGun> ();
97 auto writer= make_shared<JetScapeWriterAscii> (
"test_out.dat");
100 auto writerhepmc= make_shared<JetScapeWriterHepMC> (
"test_out.hepmc");
101 jetscape->Add(writerhepmc);
109 auto initial = make_shared<InitialFromFile>();
110 jetscape->Add(initial);
117 jetscape->Add(hydro);
127 jlossmanager->Add(jloss);
129 jetscape->Add(jlossmanager);
131 jetscape->Add(writer);
143 INFO_NICE<<
"Finished!";
151 printf (
"CPU time: %f seconds.\n",((
float)t)/CLOCKS_PER_SEC);
152 printf (
"Real time: %f seconds.\n",difftime(end,start));
161 INFO_NICE<<
"-----------------------------------------------";
162 INFO_NICE<<
"| Hydro from file Test JetScape Framework ... |";
163 INFO_NICE<<
"-----------------------------------------------";