Definition at line 25 of file FilterOpFlash_module.cc.
FilterOpFlash::FilterOpFlash |
( |
fhicl::ParameterSet const & |
p | ) |
|
|
explicit |
Definition at line 43 of file FilterOpFlash_module.cc.
50 assert(_time_end>_time_start);
std::vector< std::string > _flash_producer_v
bool FilterOpFlash::filter |
( |
art::Event & |
e | ) |
|
|
override |
Definition at line 53 of file FilterOpFlash_module.cc.
59 art::Handle<std::vector<recob::OpFlash> > flash_handle;
60 e.getByLabel(producer, flash_handle);
61 if(!flash_handle.isValid()) {
62 std::cerr <<
"Invalid producer for truth recob::OpFlash: " << producer<< std::endl;
63 throw std::exception();
66 for(
auto const& flash : *flash_handle) {
std::vector< std::string > _flash_producer_v
BEGIN_PROLOG could also be cerr
std::vector<std::string> FilterOpFlash::_flash_producer_v |
|
private |
double FilterOpFlash::_pe_threshold |
|
private |
double FilterOpFlash::_time_end |
|
private |
double FilterOpFlash::_time_start |
|
private |
The documentation for this class was generated from the following file: