Skip to content

Commit 417030d

Browse files
Merge pull request #867 from SBNSoftware/bugfix/acastill_lightproptime
Fix lightproptime for cases when there is no SPEC TDC
2 parents 6f56398 + 4a4423b commit 417030d

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

sbndcode/LightPropagationCorrection/LightPropagationCorrection_module.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,8 @@ void sbnd::LightPropagationCorrection::produce(art::Event & e)
201201
e.getByLabel(fSPECTDCLabel, tdcHandle);
202202
if (!tdcHandle.isValid() || tdcHandle->size() == 0){
203203
std::cout << "No SPECTDC products found. Skip this event." << std::endl;
204-
return;
204+
ResetSliceInfo();
205+
continue;
205206
}
206207
else{
207208
const std::vector<sbnd::timing::DAQTimestamp> tdc_v(*tdcHandle);

sbndcode/OpDetReco/OpDeconvolution/job/run_decohitfinder_data.fcl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#include "opdeconvolution_sbnd_data.fcl"
77
#include "sbnd_flashfinder_deco_data.fcl"
88
#include "sbnd_ophitfinder_deco_data.fcl"
9+
#include "wfalign_sbnd_data.fcl"
910

1011
process_name: DecoRecoData
1112

@@ -41,13 +42,15 @@ physics:
4142
{
4243
producers:
4344
{
45+
wfalign: @local::wfalign_data
4446
opdecopmt: @local::SBNDOpDeconvolutionPMT_data
4547
ophitpmt: @local::SBNDDecoOpHitFinderPMT_data
4648
opflashtpc0: @local::SBNDDecoSimpleFlashTPC0_data
4749
opflashtpc1: @local::SBNDDecoSimpleFlashTPC1_data
4850
}
4951

5052
reco: [
53+
wfalign,
5154
opdecopmt,
5255
ophitpmt,
5356
opflashtpc0,

0 commit comments

Comments
 (0)