39 TString inpS = inp.data();
40 if (inpS.EndsWith(
".root")) {
41 LOG(info) <<
"Adding " << inp;
42 ch->AddFile(inp.data());
44 std::ifstream inpF(inpS.Data());
46 LOG(error) <<
"Failed to open input file " << inp <<
" as a text one";
51 while (!inpS.IsNull()) {
52 inpS = inpS.Strip(TString::kBoth,
' ');
53 if (inpS.BeginsWith(
"//") || inpS.BeginsWith(
"#")) {
57 inpS = inpS.Strip(TString::kBoth,
',');
58 inpS = inpS.Strip(TString::kBoth,
'"');