19 using std::stringstream;
27 const vector<string>& studyNames,
28 const string& outputDir) {
29 assert(histManagers.size() == studyNames.size());
37 const vector<string>& studyNames,
38 const string& outputDir) {
39 assert(fileNames.size() == studyNames.size());
40 Int_t nofStudies = fileNames.size();
41 vector<TFile*> files(nofStudies);
42 fHM.resize(nofStudies);
43 for (Int_t
i = 0;
i < nofStudies;
i++) {
45 files[
i] =
new TFile(fileNames[
i].c_str());
46 fHM[
i]->ReadFromFile(files[
i]);