Skip to content

Commit 2155a8b

Browse files
committed
improve invalid detid printouts in CalorimeterDefinition
1 parent 1f4e262 commit 2155a8b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

RecoParticleFlow/PFRecHitProducer/plugins/alpaka/CalorimeterDefinitions.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ namespace ALPAKA_ACCELERATOR_NAMESPACE::particleFlowRecHitProducer {
111111
if (subdet == HcalEndcap)
112112
return detId2denseIdHE(detId);
113113

114-
printf("invalid detId: %u\n", detId);
114+
printf("invalid Hcal detId: %u\n", detId);
115115
return kInvalidDenseId;
116116
}
117117
};
@@ -197,7 +197,7 @@ namespace ALPAKA_ACCELERATOR_NAMESPACE::particleFlowRecHitProducer {
197197
if (subdet == EcalEndcap)
198198
return Barrel::kSize + Endcap::denseIndex(detId);
199199

200-
printf("invalid detId: %u\n", detId);
200+
printf("invalid Ecal detId: %u\n", detId);
201201
return kInvalidDenseId;
202202
}
203203

0 commit comments

Comments
 (0)