Skip to content

Commit

Permalink
improve invalid detid printouts in CalorimeterDefinition
Browse files Browse the repository at this point in the history
  • Loading branch information
mmusich committed Jul 31, 2024
1 parent 0676bcf commit bc2c4d9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ namespace ALPAKA_ACCELERATOR_NAMESPACE::particleFlowRecHitProducer {
if (subdet == HcalEndcap)
return detId2denseIdHE(detId);

printf("invalid detId: %u\n", detId);
printf("invalid Hcal detId: %u\n", detId);
return kInvalidDenseId;
}
};
Expand Down Expand Up @@ -197,7 +197,7 @@ namespace ALPAKA_ACCELERATOR_NAMESPACE::particleFlowRecHitProducer {
if (subdet == EcalEndcap)
return Barrel::kSize + Endcap::denseIndex(detId);

printf("invalid detId: %u\n", detId);
printf("invalid Ecal detId: %u\n", detId);
return kInvalidDenseId;
}

Expand Down

0 comments on commit bc2c4d9

Please sign in to comment.