Skip to content

Commit e44b07d

Browse files
Update OpDeconvolutionAlgWienerData_tool.cc
1 parent 659f066 commit e44b07d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

sbndcode/OpDetReco/OpDeconvolution/Alg/OpDeconvolutionAlgWienerData_tool.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,8 @@ opdet::OpDeconvolutionAlgWiener::OpDeconvolutionAlgWiener(fhicl::ParameterSet co
185185
fSignalHypothesis = ScintArrivalTimesShape(MaxBinsFFT, *lar_prop);
186186
else if(fFilter=="Wiener1PE")
187187
fSignalHypothesis[0]=1;
188+
else:
189+
throw std::runtime_error("Deconvolution not chosen correctly ");
188190
mf::LogInfo("OpDeconvolutionAlg")<<"Built light signal hypothesis... L="<<fFilter<<" size"<<fSignalHypothesis.size()<<std::endl;
189191
}
190192
}

0 commit comments

Comments
 (0)