15 #include <TEfficiency.h>
27 std::array<TCanvas*, 3> emho = {
nullptr,
nullptr,
nullptr};
28 std::vector<std::string> tags = {
"eta",
"pT"};
29 std::vector<std::string> params = {
"trackeff",
"nMeasurements",
"nHoles",
30 "nOutliers",
"nStates"};
33 unsigned int itag = 0;
34 for (
const auto&
t : tags) {
38 new TCanvas(name.c_str(), label.c_str(), itag * 10, 10, 1800, 300);
39 emho[itag]->Divide(5, 1);
43 unsigned int imode = 1;
44 for (
auto fileName : inputFileNames) {
46 auto file = TFile::Open(fileName.c_str(),
"read");
47 unsigned int itag = 0;
48 for (
const auto&
t : tags) {
49 unsigned int ipar = 0;
50 for (
const auto&
p : params) {
52 emho[itag]->cd(ipar+1);
53 auto h =
file->Get(hName.c_str());
54 auto heff =
dynamic_cast<TEfficiency*
>(
h);
58 auto hprof =
dynamic_cast<TProfile*
>(
h);
59 if (
hprof !=
nullptr){
64 h->Draw(dOpt.c_str());