5 #include <G4_Micromegas.C>
10 #include <ffamodules/XploadInterface.h>
21 R__LOAD_LIBRARY(libffamodules.so)
22 R__LOAD_LIBRARY(libfun4all.so)
27 const
int nSkipEvents = 0,
28 const std::
string &inputFile1 = "
test.
root",
31 const std::
string &outputFile = "DST_Refit.root",
32 const std::
string &outdir = "."
37 std::cout <<
"Fun4All_G4_sPHENIX_jobC - nEvents: " << nEvents << std::endl;
38 std::cout <<
"Fun4All_G4_sPHENIX_jobC - nSkipEvents: " << nSkipEvents << std::endl;
39 std::cout <<
"Fun4All_G4_sPHENIX_jobC - seed inputFile: " << inputFile1 << std::endl;
41 std::cout <<
"Fun4All_G4_sPHENIX_jobC - outputFile: " << outputFile << std::endl;
48 Enable::XPLOAD =
true;
88 se->registerSubsystem(flag);
99 in->fileopen(inputFile1);
100 se->registerInputManager(
in);
114 out->AddNode(
"Sync");
115 out->AddNode(
"EventHeader");
118 out->AddNode(
"SvtxTrackMap");
119 out->AddNode(
"SvtxVertexMap");
120 se->registerOutputManager(
out);
123 if( nSkipEvents > 0 )
124 { se->skip( nSkipEvents ); }
130 XploadInterface::instance()->Print();
133 std::cout <<
"All done" << std::endl;