diff --git a/core/qa/report/CbmQaReportBeamerEngine.cxx b/core/qa/report/CbmQaReportBeamerEngine.cxx index 87e51240f89692d387c7b6ced8f6a32586a4d675..95c2676ff4718813c25c2a2d1d4610bab29a49e0 100644 --- a/core/qa/report/CbmQaReportBeamerEngine.cxx +++ b/core/qa/report/CbmQaReportBeamerEngine.cxx @@ -45,7 +45,7 @@ std::string BeamerEngine::FigureBody(const Figure& figure) const } std::stringstream out; - out << "\\begin{frame}{" << LatexFormat::Apply(figure.GetMother()->GetTitle()) << "}\n"; + out << "\\begin{frame}{" << figure.GetMother()->GetTitle() << "}\n"; out << " \\begin{figure}\n"; out << " \\def\\hgt{\\textheight-2\\baselineskip}\n"; out << " \\centering\n"; @@ -190,6 +190,28 @@ std::string BeamerEngine::HeaderBody(const Header& header) const out << "\\setbeamertemplate{caption}[numbered]\n"; + out << "\\AtBeginSection[]{\n"; + out << " \\begin{frame}\n"; + out << " \\vfill\n"; + out << " \\begin{beamercolorbox}[sep=8pt,shadow=true,rounded=true]{title}\n"; + out << " \\usebeamerfont{title}Section: \\insertsectionhead\\par%\n"; + out << " \\end{beamercolorbox}\n"; + out << " \\tableofcontents[currentsection]\n"; + out << " \\vfill\n"; + out << " \\end{frame}\n"; + out << "}\n"; + out << "\n"; + out << "\\AtBeginSubsection[]{\n"; + out << " \\begin{frame}\n"; + out << " \\vfill\n"; + out << " \\begin{beamercolorbox}[sep=6pt,shadow=true,rounded=true]{title}\n"; + out << " \\usebeamerfont{title}Subsection: \\insertsubsectionhead\\par%\n"; + out << " \\end{beamercolorbox}\n"; + out << " \\tableofcontents[currentsubsection]\n"; + out << " \\vfill\n"; + out << " \\end{frame}\n"; + out << "}\n"; + //out << "\\usepackage{color}\n"; //out << "\\definecolor{hrefcolor}{rgb}{0.2, 0.2, 0.6}\n"; //out << "\\hypersetup{color}{colorlinks=true, urlcolor=hrefcolor,linkcolor=black,citecolor=hrefcolor}\n"; diff --git a/macro/qa/qa_compare_ca.C b/macro/qa/qa_compare_ca.C index 00c65783e164affe5b685c9f1a88e92f2e3a528d..ddb750158a839df51c2040e3433076b142bfa2e9 100644 --- a/macro/qa/qa_compare_ca.C +++ b/macro/qa/qa_compare_ca.C @@ -36,7 +36,7 @@ int qa_compare_ca( pQaChecker->SetFromYAML(configName); // Read file-object map //// ----- Run comparision routine - pQaChecker->Process("PR"); // P - + pQaChecker->Process("PRC"); // P - //// ----- Scan results bool res = pQaChecker->Scan(); // true - objects are the same, false - objects differ diff --git a/reco/L1/qa/CbmCaInputQaBase.cxx b/reco/L1/qa/CbmCaInputQaBase.cxx index 35f0f1e5ebbaf0af53783fb87189f25c08f25aa6..48ceacf28f5c25889b7d8340a15022d43e50a133 100644 --- a/reco/L1/qa/CbmCaInputQaBase.cxx +++ b/reco/L1/qa/CbmCaInputQaBase.cxx @@ -183,7 +183,7 @@ void CbmCaInputQaBase<DetID>::Check() pEffTable->SetColWidth(20); for (int iSt = 0; iSt < nSt; ++iSt) { - auto eff = fvph_reco_eff[iSt]->GetMean(); + auto eff = fvph_reco_eff[iSt]->GetMean(); // FIXME (GetMean(>>>2<<<)) pEffTable->SetRowName(iSt, Form("station %d", iSt)); pEffTable->SetCell(iSt, 0, eff); bool res = CheckRange("Hit finder efficiency in station " + std::to_string(iSt), eff, fConfig.fEffThrsh, 1.000);