We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 62cd415 + 9e79dec commit 2f14e3fCopy full SHA for 2f14e3f
1 file changed
sbndcode/Calibration/DQM/FilterChoppy_module.cc
@@ -105,8 +105,13 @@ namespace filt{
105
// exit if the data isn't present
106
if (!timestamp_handle.isValid()) {
107
std::cerr << "Error: missing timestamps with producer (" << "daq" << ")" << std::endl;
108
- return false;
+ return true; // don't want to filter out events missing TPC data (e.g. CRT-only runs)
109
}
110
+ if (timestamp_handle->size() == 0) {
111
+ std::cerr << "Error: missing timestamps with producer (" << "daq" << ")" << std::endl;
112
113
+ }
114
+
115
art::fill_ptr_vector(raw_timestamps_handle, timestamp_handle);
116
117
// collect TS
0 commit comments