|
ATLAS Offline Software
|
Go to the documentation of this file.
33 return StatusCode::SUCCESS;
40 for (
const auto& currentFileName : InputFiles) {
42 std::ifstream currentFile(currentFileName);
43 if (not currentFile.is_open()) {
52 for (std::string
line; std::getline(currentFile,
line); ) {
53 std::stringstream input_line(
line);
56 input_line >>
help.dsid;
57 input_line >>
help.containerName;
58 input_line >>
help.amiXSec;
59 input_line >>
help.filterEff;
60 input_line >>
help.kFactor;
61 input_line >>
help.XSecUncUP;
62 input_line >>
help.XSecUncDOWN;
68 if (input_line.fail()) {
ATH_MSG_ERROR(
"cannot parse line '" <<
line <<
"' from file " << currentFileName);
continue; }
74 if (nfound == 0) {
ATH_MSG_WARNING(
"no sample read from file " << currentFileName); }
90 gSystem->ExpandPathName (
mydir);
93 std::vector<std::string>
inFiles = {};
97 dirp = gSystem->OpenDirectory (
mydir.Data());
99 while ((
file = gSystem->GetDirEntry (dirp)))
102 if (myfile.size() > 4 && myfile.substr (myfile.size() - 4) ==
".txt")
105 gSystem->FreeDirectory (dirp);
109 gSystem->FreeDirectory (dirp);
135 return std::string(
"");
209 std::vector<int> dsids;
212 dsids.push_back(key_info.second.dsid);
::StatusCode StatusCode
StatusCode definition for legacy code.
#define ATH_MSG_WARNING(x)