Skip to content

Commit af6f765

Browse files
Remove some prints
1 parent 2a6032f commit af6f765

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Validation/HGCalValidation/plugins/HGCalValidator.cc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ namespace {
2424
const auto recoTrackstersProductId = tracksterHandle.id();
2525
const auto simTrackstersProductId = simTracksterHandle.id();
2626
const auto simTrackstersFromCPsProductId = simTracksterFromCPHandle.id();
27-
27+
if (recoTrackstersProductId == simTrackstersProductId or recoTrackstersProductId == simTrackstersFromCPsProductId) {
28+
edm::LogInfo("MissingProduct") << "no SimTrackster to Simtrackster map available.";
29+
return false;
30+
}
2831
for (const auto& handle : tracksterToTracksterMapsHandles) {
2932
const auto& firstID = handle->getCollectionIDs().first.id();
3033
const auto& secondID = handle->getCollectionIDs().second.id();

0 commit comments

Comments
 (0)