File indexing completed on 2025-08-05 08:15:02
0001 #include <SpinDBQA.h>
0002
0003 R__LOAD_LIBRARY(libSpinDBQA.so)
0004
0005
0006
0007
0008 void run_SpinDBQA()
0009 {
0010 std::string runfile = "runnumbers.dat";
0011 std::string CNIpath = "/gpfs02/eic/cnipol/jet_run24/results";
0012 std::string mdfile = "README.md";
0013 std::string htmlfile = "runsummary.html";
0014 std::string rootfile = "qa_results.root";
0015
0016 SpinDBQA *qa = new SpinDBQA();
0017
0018 qa->SetRunList(runfile);
0019 qa->SetCNIPath(CNIpath);
0020
0021
0022 qa->DefaultQA();
0023
0024
0025
0026
0027 qa->ReadSpinDBData();
0028 qa->doQA();
0029
0030 qa->SetMarkdownFilename(mdfile);
0031 qa->WriteMarkdown();
0032
0033 qa->SetHtmlFilename(htmlfile);
0034 qa->WriteHtml();
0035
0036
0037
0038
0039
0040
0041
0042
0043
0044 }