18 using std::stringstream;
34 const vector<CbmHistManager*>& histManagers,
35 const vector<string>& studyNames,
36 const string& outputDir)
38 assert(histManagers.size() == studyNames.size());
46 const vector<string>& fileNames,
47 const vector<string>& studyNames,
48 const string& outputDir)
50 assert(fileNames.size() == studyNames.size());
51 Int_t nofStudies = fileNames.size();
52 vector<TFile*>
files(nofStudies);
53 fHM.resize(nofStudies);
54 for (Int_t i = 0; i < nofStudies; i++) {
56 files[i] =
new TFile(fileNames[i].c_str());
57 fHM[i]->ReadFromFile(files[i]);