Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion sbndcode/Calibration/DQM/FilterChoppy_module.cc
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,13 @@ namespace filt{
// exit if the data isn't present
if (!timestamp_handle.isValid()) {
std::cerr << "Error: missing timestamps with producer (" << "daq" << ")" << std::endl;
return false;
return true; // don't want to filter out events missing TPC data (e.g. CRT-only runs)
}
if (timestamp_handle->size() == 0) {
std::cerr << "Error: missing timestamps with producer (" << "daq" << ")" << std::endl;
return true; // don't want to filter out events missing TPC data (e.g. CRT-only runs)
}

art::fill_ptr_vector(raw_timestamps_handle, timestamp_handle);

// collect TS
Expand Down