Skip to content

Commit 574fd64

Browse files
committed
Fix PVmerge to store results in EOS
1 parent e6f90ca commit 574fd64

File tree

2 files changed

+82
-73
lines changed

2 files changed

+82
-73
lines changed

Alignment/OfflineValidation/bin/PVmerge.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ int merge(int argc, char* argv[]) {
7878
std::string rlabel = validation.count("customrighttitle") ? validation.get<std::string>("customrighttitle") : "";
7979
rlabel = merge_style.count("Rlabel") ? merge_style.get<std::string>("Rlabel") : rlabel;
8080
std::string cmslabel = merge_style.count("CMSlabel") ? merge_style.get<std::string>("CMSlabel") : "INTERNAL";
81+
std::string outdir = main_tree.count("output") ? main_tree.get<std::string>("output") : "";
8182
if (TkAlStyle::toStatus(cmslabel) == CUSTOM)
8283
TkAlStyle::set(CUSTOM, NONE, cmslabel, rlabel);
8384
else
@@ -141,7 +142,7 @@ int merge(int argc, char* argv[]) {
141142
}
142143

143144
//And finally fit
144-
FitPVResiduals("", stdResiduals, doMaps, "", autoLimits, cmslabel, rlabel);
145+
FitPVResiduals("", stdResiduals, doMaps, "", autoLimits, cmslabel, rlabel, outdir);
145146

146147
return EXIT_SUCCESS;
147148
}

0 commit comments

Comments
 (0)