50 mVerbose = ic.options().get<
bool>(
"use-verbose-mode");
51 LOG(info) <<
" ************************* Verbose?" << mVerbose;
58 auto configBuff = pc.inputs().get<gsl::span<char>>(
"confFile");
59 auto configFileName = pc.inputs().get<std::string>(
"confFileName");
61 LOG(info) <<
"got input file " << configFileName <<
" of size " << configBuff.size();
63 mReader.
init(mVerbose);
66 sendOutput(pc.outputs());
75 auto tf = std::chrono::duration_cast<std::chrono::milliseconds>(HighResClock::now().time_since_epoch()).count();
87 std::map<std::string, std::string> mdConfigInfo;
88 mdConfigInfo.emplace(
"created_by",
"dpl");
94 LOG(info) <<
"Sending object " << infoConfigInfo.getPath() <<
"/" << infoConfigInfo.getFileName() <<
" of size " << imageConfigInfo->size()
95 <<
" bytes, valid for " << infoConfigInfo.getStartValidityTimestamp() <<
" : " << infoConfigInfo.getEndValidityTimestamp();
104 const auto& payloadDeadMap = mReader.
getNoiseMap();
108 std::map<std::string, std::string> mdDeadMap;
109 mdDeadMap.emplace(
"created_by",
"dpl");
115 LOG(info) <<
"Sending object " << infoDeadMap.getPath() <<
"/" << infoDeadMap.getFileName() <<
" of size " << imageDeadMap->size()
116 <<
" bytes, valid for " << infoDeadMap.getStartValidityTimestamp() <<
" : " << infoDeadMap.getEndValidityTimestamp();
128 std::map<std::string, std::string> mdAlpideInfo;
129 mdAlpideInfo.emplace(
"created_by",
"dpl");
135 LOG(info) <<
"Sending object " << infoAlpideInfo.getPath() <<
"/" << infoAlpideInfo.getFileName() <<
" of size " << imageAlpideInfo->size()
136 <<
" bytes, valid for " << infoAlpideInfo.getStartValidityTimestamp() <<
" : " << infoAlpideInfo.getEndValidityTimestamp();
143 DCSConfigReader mReader;
144 bool mVerbose =
false;