Skip to content

Commit d4c7ca5

Browse files
authored
Merge pull request #576 from SBNSoftware/bugfix/frameshift_offbeam
Fix initialization for offbeam stream in the frame shift
2 parents a6dd913 + e5a39ae commit d4c7ca5

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
@@ -2591,7 +2591,7 @@ void CAFMaker::produce(art::Event& evt) noexcept {
25912591
// For more information, see:
25922592
// https://sbn-docdb.fnal.gov/cgi-bin/sso/RetrieveFile?docid=43090
25932593

2594-
if (isRealData && (fDet == kSBND))
2594+
if (isRealData && (fDet == kSBND) && fSubRunPOT > 0)
25952595
{
25962596
// Fill trigger info
25972597
FillTriggerSBND(srsbndtiminginfo, srtrigger);

0 commit comments

Comments
 (0)