Public Member Functions | Private Member Functions | List of all members
arttest::FlushingGeneratorTestFilter Class Reference
Inheritance diagram for arttest::FlushingGeneratorTestFilter:
art::EDFilter art::detail::Filter art::detail::LegacyModule art::Modifier art::ModuleBase art::ProductRegistryHelper

Public Member Functions

 FlushingGeneratorTestFilter (fhicl::ParameterSet const &p)
 
- 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 &) override
 
bool beginRun (art::Run &r) override
 
bool beginSubRun (art::SubRun &sr) override
 
bool endRun (art::Run &r) override
 
bool endSubRun (art::SubRun &sr) override
 

Additional Inherited Members

- 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 >
 
- Static Public Attributes inherited from art::detail::Filter
static constexpr bool Pass {true}
 
static constexpr bool Fail {false}
 

Detailed Description

Definition at line 24 of file FlushingGeneratorTestFilter_module.cc.

Constructor & Destructor Documentation

arttest::FlushingGeneratorTestFilter::FlushingGeneratorTestFilter ( fhicl::ParameterSet const &  p)
explicit

Definition at line 37 of file FlushingGeneratorTestFilter_module.cc.

39  : EDFilter{ps}
40 {}
static const double ps
Definition: Units.h:103
EDFilter()=default

Member Function Documentation

bool arttest::FlushingGeneratorTestFilter::beginRun ( art::Run r)
overrideprivatevirtual

Reimplemented from art::EDFilter.

Definition at line 50 of file FlushingGeneratorTestFilter_module.cc.

51 {
52  assert(!r.id().isFlush());
53  return true;
54 }
bool isFlush() const
Definition: RunID.h:77
RunID id() const
Definition: Run.cc:24
bool arttest::FlushingGeneratorTestFilter::beginSubRun ( art::SubRun sr)
overrideprivatevirtual

Reimplemented from art::EDFilter.

Definition at line 57 of file FlushingGeneratorTestFilter_module.cc.

58 {
59  assert(!sr.id().isFlush());
60  return true;
61 }
bool isFlush() const
Definition: SubRunID.h:102
SubRunID id() const
Definition: SubRun.cc:21
bool arttest::FlushingGeneratorTestFilter::endRun ( art::Run r)
overrideprivatevirtual

Reimplemented from art::EDFilter.

Definition at line 64 of file FlushingGeneratorTestFilter_module.cc.

65 {
66  assert(!r.id().isFlush());
67  return true;
68 }
bool isFlush() const
Definition: RunID.h:77
RunID id() const
Definition: Run.cc:24
bool arttest::FlushingGeneratorTestFilter::endSubRun ( art::SubRun sr)
overrideprivatevirtual

Reimplemented from art::EDFilter.

Definition at line 71 of file FlushingGeneratorTestFilter_module.cc.

72 {
73  assert(!sr.id().isFlush());
74  return true;
75 }
bool isFlush() const
Definition: SubRunID.h:102
SubRunID id() const
Definition: SubRun.cc:21
bool arttest::FlushingGeneratorTestFilter::filter ( art::Event e)
overrideprivatevirtual

Implements art::EDFilter.

Definition at line 43 of file FlushingGeneratorTestFilter_module.cc.

44 {
45  assert(!e.id().isFlush());
46  return true;
47 }
bool isFlush() const
Definition: EventID.h:129
EventID id() const
Definition: Event.cc:37

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