Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
art::test::TestFilterSpecificEvents Class Reference
Inheritance diagram for art::test::TestFilterSpecificEvents:
art::EDFilter art::detail::Filter art::detail::LegacyModule art::Modifier art::ModuleBase art::ProductRegistryHelper

Public Types

using Parameters = EDFilter::Table< Config >
 
- Public Types inherited from art::EDFilter
using ModuleType = EDFilter
 
using WorkerType = WorkerT< EDFilter >
 
- Public Types inherited from art::detail::Filter
template<typename UserConfig >
using Table = Modifier::Table< UserConfig >
 
- Public Types inherited from art::Modifier
template<typename UserConfig , typename UserKeysToIgnore = void>
using Table = ProducerTable< UserConfig, detail::ModuleConfig, UserKeysToIgnore >
 

Public Member Functions

 TestFilterSpecificEvents (Parameters const &ps)
 
- Public Member Functions inherited from art::EDFilter
 EDFilter ()=default
 
 EDFilter (fhicl::ParameterSet const &pset)
 
template<typename Config >
 EDFilter (Table< Config > const &config)
 
std::string workerType () const
 
- Public Member Functions inherited from art::detail::Filter
virtual ~Filter () noexcept
 
 Filter ()
 
 Filter (fhicl::ParameterSet const &)
 
 Filter (Filter const &)=delete
 
 Filter (Filter &&)=delete
 
Filteroperator= (Filter const &)=delete
 
Filteroperator= (Filter &&)=delete
 
void doBeginJob ()
 
void doEndJob ()
 
void doRespondToOpenInputFile (FileBlock const &fb)
 
void doRespondToCloseInputFile (FileBlock const &fb)
 
void doRespondToOpenOutputFiles (FileBlock const &fb)
 
void doRespondToCloseOutputFiles (FileBlock const &fb)
 
bool doBeginRun (RunPrincipal &rp, ModuleContext const &)
 
bool doEndRun (RunPrincipal &rp, ModuleContext const &mc)
 
bool doBeginSubRun (SubRunPrincipal &srp, ModuleContext const &mc)
 
bool doEndSubRun (SubRunPrincipal &srp, ModuleContext const &mc)
 
bool doEvent (EventPrincipal &ep, ModuleContext const &mc, std::atomic< std::size_t > &counts_run, std::atomic< std::size_t > &counts_passed, std::atomic< std::size_t > &counts_failed)
 
- Public Member Functions inherited from art::Modifier
virtual ~Modifier () noexcept
 
 Modifier ()
 
 Modifier (Modifier const &)=delete
 
 Modifier (Modifier &&)=delete
 
Modifieroperator= (Modifier const &)=delete
 
Modifieroperator= (Modifier &&)=delete
 
- Public Member Functions inherited from art::ModuleBase
virtual ~ModuleBase () noexcept
 
 ModuleBase ()
 
ModuleDescription const & moduleDescription () const
 
void setModuleDescription (ModuleDescription const &)
 
template<typename T , BranchType = InEvent>
ProductToken< T > consumes (InputTag const &)
 
template<typename Element , BranchType = InEvent>
ViewToken< Element > consumesView (InputTag const &)
 
template<typename T , BranchType = InEvent>
void consumesMany ()
 
template<typename T , BranchType = InEvent>
ProductToken< T > mayConsume (InputTag const &)
 
template<typename Element , BranchType = InEvent>
ViewToken< Element > mayConsumeView (InputTag const &)
 
template<typename T , BranchType = InEvent>
void mayConsumeMany ()
 
std::array< std::vector< ProductInfo >, NumBranchTypes > const & getConsumables () const
 
void sortConsumables (std::string const &current_process_name)
 
template<typename T , BranchType BT>
ViewToken< T > consumesView (InputTag const &tag)
 
template<typename T , BranchType BT>
ViewToken< T > mayConsumeView (InputTag const &tag)
 

Private Member Functions

bool filter (art::Event &e) override
 

Private Attributes

std::vector< unsigned > eventsToAccept_
 

Additional Inherited Members

- Static Public Attributes inherited from art::detail::Filter
static constexpr bool Pass {true}
 
static constexpr bool Fail {false}
 

Detailed Description

Definition at line 22 of file TestFilterSpecificEvents_module.cc.

Member Typedef Documentation

Definition at line 24 of file TestFilterSpecificEvents_module.cc.

Constructor & Destructor Documentation

art::test::TestFilterSpecificEvents::TestFilterSpecificEvents ( Parameters const &  ps)
inlineexplicit

Definition at line 26 of file TestFilterSpecificEvents_module.cc.

27  : EDFilter{ps}, eventsToAccept_{ps().eventsToAccept()}
28  {
30  }
static const double ps
Definition: Units.h:103
void sort_all(RandCont &)
EDFilter()=default

Member Function Documentation

bool art::test::TestFilterSpecificEvents::filter ( art::Event e)
inlineoverrideprivatevirtual

Implements art::EDFilter.

Definition at line 34 of file TestFilterSpecificEvents_module.cc.

35  {
37  }
EventNumber_t event() const
Definition: DataViewImpl.cc:96
bool binary_search_all(FwdCont const &, Datum const &)

Member Data Documentation

std::vector<unsigned> art::test::TestFilterSpecificEvents::eventsToAccept_
private

Definition at line 39 of file TestFilterSpecificEvents_module.cc.


The documentation for this class was generated from the following file: