26 R__LOAD_LIBRARY(libfun4all.so)
27 R__LOAD_LIBRARY(libffamodules.so)
28 R__LOAD_LIBRARY(libmvtx.so)
29 R__LOAD_LIBRARY(libintt.so)
30 R__LOAD_LIBRARY(libtpc.so)
31 R__LOAD_LIBRARY(libmicromegas.so)
35 const std::
string outfilename = "cosmics",
36 const std::
string dir = "/sphenix/lustre01/sphnxpro/commissioning/aligned_streaming_all_3/",
37 const std::
string file = "cosmics-")
39 gSystem->Load(
"libg4dst.so");
42 sprintf(filename,
"%s%08d-0000.root", inputRawHitFile.c_str(),
runnumber);
47 rc->set_IntFlag(
"RUNNUMBER", runnumber);
50 rc->set_StringFlag(
"CDB_GLOBALTAG",
"ProdA_2023");
51 rc->set_uint64Flag(
"TIMESTAMP", 6);
56 se->registerInputManager(ingeo);
59 hitsin->fileopen(filename);
60 se->registerInputManager(hitsin);
64 se->registerSubsystem(mvtxunpacker);
68 se->registerSubsystem(inttunpacker);
71 se->registerSubsystem(tpcunpacker);
76 tpotunpacker->set_calibration_file(calibrationFile);
77 se->registerSubsystem(tpotunpacker);
86 se->registerOutputManager(out);
93 std::cout <<
"Finished" << std::endl;