Skip to content

Commit

Permalink
use ROOT GUID in source if CMS GUID not found
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Riley authored and Dan Riley committed Mar 30, 2022
1 parent b0223a1 commit f5ed094
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion DQMServices/FwkIO/plugins/DQMRootSource.cc
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,8 @@ std::shared_ptr<edm::FileBlock> DQMRootSource::readFile_() {

std::unique_ptr<std::string> guid{file->Get<std::string>(kCmsGuid)};
if (not guid) {
guid = std::make_unique<std::string>();
guid = std::make_unique<std::string>(file->GetUUID().AsString());
std::transform(guid->begin(), guid->end(), guid->begin(), (int (*)(int))std::toupper);
}

edm::Service<edm::JobReport> jr;
Expand Down

0 comments on commit f5ed094

Please sign in to comment.