Skip to content

Commit 0f63559

Browse files
committed
use GetByLabelIfExists for PMTBeamSignalLabel
1 parent a492b43 commit 0f63559

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sbncode/CAFMaker/CAFMaker_module.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1671,7 +1671,7 @@ void CAFMaker::produce(art::Event& evt) noexcept {
16711671
{
16721672
//Get all of the special PMT Beam Signals (to use as an opFlash reference time below)
16731673
art::Handle<std::vector<sbn::timing::PMTBeamSignal>> PMTBeamSignal_handle;
1674-
GetByLabelStrict(evt, fParams.PMTBeamSignalLabel(), PMTBeamSignal_handle);
1674+
GetByLabelIfExists(evt, fParams.PMTBeamSignalLabel(), PMTBeamSignal_handle);
16751675

16761676
for (const std::string& pandora_tag_suffix : pandora_tag_suffixes) {
16771677
art::Handle<std::vector<recob::OpFlash>> flashes_handle;

0 commit comments

Comments
 (0)