File indexing completed on 2025-12-16 09:23:52
0001 #include <QA.C>
0002
0003 #include <ffarawmodules/InttBcoDump.h>
0004
0005 #include <fun4all/Fun4AllServer.h>
0006 #include <fun4all/Fun4AllInputManager.h>
0007
0008 #include <fun4allraw/Fun4AllPrdfInputManager.h>
0009
0010 #include <Rtypes.h> // defines R__LOAD_LIBRARY macro for clang-tidy
0011 #include <TSystem.h>
0012
0013 R__LOAD_LIBRARY(libfun4all.so)
0014 R__LOAD_LIBRARY(libfun4allraw.so)
0015 R__LOAD_LIBRARY(libffarawmodules.so)
0016
0017 void Fun4All_InttQA(int nEvents = 0,
0018 const std::string &input_list = "prdf.list",
0019 const std::string &outfile = "inttbcodiff.root")
0020 {
0021 Fun4AllServer *se = Fun4AllServer::instance();
0022
0023
0024 InttBcoDump *inttdmp = new InttBcoDump;
0025 inttdmp->OutFileName(outfile);
0026 se->registerSubsystem(inttdmp);
0027
0028 Fun4AllInputManager *in = new Fun4AllPrdfInputManager("PRDFin");
0029 in->AddListFile(input_list);
0030 se->registerInputManager(in);
0031
0032 se->run(nEvents);
0033
0034 se->End();
0035
0036 delete se;
0037 std::cout <<"Finished"<<std::endl;
0038 gSystem->Exit(0);
0039 }