26 #include "JetEnergyLoss.h"
27 #include "JetEnergyLossManager.h"
28 #include "JetScapeWriterStream.h"
30 #include "JetScapeWriterHepMC.h"
34 #include "TrentoInitial.h"
40 #include "GubserHydro.h"
42 #include "PartonPrinter.h"
43 #include "HadronizationManager.h"
44 #include "Hadronization.h"
45 #include "ColoredHadronization.h"
46 #include "ColorlessHadronization.h"
53 using namespace Jetscape;
60 int main(
int argc,
char** argv)
62 clock_t
t; t = clock();
69 JetScapeLogger::Instance()->SetDebug(
false);
70 JetScapeLogger::Instance()->SetRemark(
false);
73 JetScapeLogger::Instance()->SetVerboseLevel(8);
77 auto jetscape = make_shared<JetScape>(
"./jetscape_init.xml",3);
78 jetscape->SetId(
"primary");
81 auto trento = make_shared<TrentoInitial>();
82 auto pGun= make_shared<PGun> ();
83 auto hydro = make_shared<Brick> ();
84 jetscape->Add(trento);
89 auto jlossmanager = make_shared<JetEnergyLossManager> ();
90 auto jloss = make_shared<JetEnergyLoss> ();
91 auto lbt = make_shared<LBT> ();
93 jlossmanager->Add(jloss);
94 jetscape->Add(jlossmanager);
98 auto printer = make_shared<PartonPrinter> ();
99 jetscape->Add(printer);
100 auto hadroMgr = make_shared<HadronizationManager> ();
101 auto hadro = make_shared<Hadronization> ();
102 auto hadroModule = make_shared<ColoredHadronization> ();
103 hadro->Add(hadroModule);
106 hadroMgr->Add(hadro);
107 jetscape->Add(hadroMgr);
110 auto writer= make_shared<JetScapeWriterAscii> (
"test_out.dat");
117 jetscape->Add(writer);
130 INFO_NICE<<
"Finished!";
138 printf (
"CPU time: %f seconds.\n",((
float)t)/CLOCKS_PER_SEC);
139 printf (
"Real time: %f seconds.\n",difftime(end,start));
148 INFO_NICE<<
"------------------------------------";
149 INFO_NICE<<
"| Brick Test JetScape Framework ... |";
150 INFO_NICE<<
"------------------------------------";