25 std::ifstream ifs(expandedFileName.c_str());
27 ifs.seekg(0, std::ios::end);
28 const auto size = ifs.tellg();
29 mFileBuffStr.resize(
size);
31 ifs.read(&mFileBuffStr[0],
size);
35 LOG(
error) <<
"File " << fileName <<
" does not exist!";
44 mFileBuffStr.assign(configBuf.data());
char error[CURL_ERROR_SIZE]
void loadLHCIFfile(const std::string &fileName)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
static bool pathExists(const std::string_view p)
static std::string getFullPath(const std::string_view p)
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"