52 using namespace Jetscape;
59 int main(
int argc,
char** argv)
61 clock_t
t; t = clock();
77 auto jetscape = make_shared<JetScape>();
78 jetscape->SetXMLMainFileName(
"../config/jetscape_main.xml");
79 jetscape->SetXMLUserFileName(
"../config/jetscape_user.xml");
80 jetscape->SetId(
"primary");
83 auto trento = make_shared<TrentoInitial>();
84 auto pGun= make_shared<PGun> ();
85 auto hydro = make_shared<Brick> ();
86 auto myliquefier = make_shared<CausalLiquefier> ();
87 jetscape->Add(trento);
92 auto jlossmanager = make_shared<JetEnergyLossManager> ();
93 auto jloss = make_shared<JetEnergyLoss> ();
94 jloss->add_a_liqueifier(myliquefier);
97 auto matter = make_shared<Matter> ();
107 jlossmanager->Add(jloss);
108 jetscape->Add(jlossmanager);
115 auto hadroMgr = make_shared<HadronizationManager> ();
116 auto hadro = make_shared<Hadronization> ();
117 auto hadroModule = make_shared<ColoredHadronization> ();
118 hadro->Add(hadroModule);
121 hadroMgr->Add(hadro);
122 jetscape->Add(hadroMgr);
125 auto writer= make_shared<JetScapeWriterAscii> (
"test_out.dat");
148 printf (
"CPU time: %f seconds.\n",((
float)t)/CLOCKS_PER_SEC);
149 printf (
"Real time: %f seconds.\n",difftime(end,start));
157 INFO_NICE<<
"------------------------------------";
158 INFO_NICE<<
"| Brick Test JetScape Framework ... |";
159 INFO_NICE<<
"------------------------------------";