Skip to content

Commit

Permalink
Fix metadata and remove log
Browse files Browse the repository at this point in the history
  • Loading branch information
chiarazampolli committed Apr 14, 2022
1 parent 14fc056 commit d3fd5f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Detectors/TOF/calibration/src/TOFFEElightReader.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ int TOFFEElightReader::parseFEElightConfig(bool verbose)
continue;
}
nEnabled++;
LOG(info) << "Enabling channel " << index;
if (verbose) {
LOG(info) << "Enabling channel " << index;
}
mFEElightInfo.mChannelEnabled[index] = channelConfig->isEnabled();
mFEElightInfo.mMatchingWindow[index] = channelConfig->mMatchingWindow;
mFEElightInfo.mLatencyWindow[index] = channelConfig->mLatencyWindow;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class TOFDCSConfigProcessor : public o2::framework::Task
auto clName = o2::utils::MemFileHelper::getClassName(payload);
auto flName = o2::ccdb::CcdbApi::generateFileName(clName);
std::map<std::string, std::string> md;
md.emplace("created by", "dpl");
md.emplace("created_by", "dpl");
o2::ccdb::CcdbObjectInfo info("TOF/Calib/FEELIGHT", clName, flName, md, tf, INFINITE_TF);
auto image = o2::ccdb::CcdbApi::createObjectImage(&payload, &info);
LOG(info) << "Sending object " << info.getPath() << "/" << info.getFileName() << " of size " << image->size()
Expand Down

0 comments on commit d3fd5f1

Please sign in to comment.