Skip to content

Commit 1ef7e9c

Browse files
committed
add SBND to fill function name
1 parent 47c8b21 commit 1ef7e9c

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

sbncode/CAFMaker/CAFMaker_module.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1806,7 +1806,7 @@ void CAFMaker::produce(art::Event& evt) noexcept {
18061806
if (sbndsofttrig_handle.isValid()){
18071807
const std::vector<sbnd::trigger::pmtSoftwareTrigger> &sbndsofttrig = *sbndsofttrig_handle;
18081808
if (sbndsofttrig.size()==1){
1809-
FillSoftwareTrigger(sbndsofttrig.at(0), srsbndsofttrig);
1809+
FillSoftwareTriggerSBND(sbndsofttrig.at(0), srsbndsofttrig);
18101810
}
18111811
}
18121812
}

sbncode/CAFMaker/FillTrigger.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ namespace caf
6161
triggerInfo.passed_trigger = *passedTrig;
6262
}
6363

64-
void FillSoftwareTrigger(const sbnd::trigger::pmtSoftwareTrigger& softInfo, caf::SRSoftwareTrigger& caf_softInfo){
64+
void FillSoftwareTriggerSBND(const sbnd::trigger::pmtSoftwareTrigger& softInfo, caf::SRSoftwareTrigger& caf_softInfo){
6565
caf_softInfo.npmts = softInfo.nAboveThreshold;
6666
caf_softInfo.flash_peakpe = softInfo.peakPE;
6767
caf_softInfo.flash_peaktime = softInfo.peaktime + softInfo.trig_ts*1e-3;

sbncode/CAFMaker/FillTrigger.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ namespace caf
2929
art::Handle<int> const& numPairs,
3030
art::Handle<bool> const& passedTrig,
3131
caf::SRTrigger& triggerInfo);
32-
void FillSoftwareTrigger(const sbnd::trigger::pmtSoftwareTrigger& softInfo, caf::SRSoftwareTrigger& caf_softInfo);
32+
void FillSoftwareTriggerSBND(const sbnd::trigger::pmtSoftwareTrigger& softInfo, caf::SRSoftwareTrigger& caf_softInfo);
3333
}
3434

3535
#endif

0 commit comments

Comments
 (0)