Test module for recob::HitCollector.
More...
Classes | |
| struct | Config |
Public Types | |
| using | Parameters = art::EDProducer::Table< Config > |
Public Types inherited from art::EDProducer | |
| using | ModuleType = EDProducer |
| using | WorkerType = WorkerT< EDProducer > |
Public Types inherited from art::detail::Producer | |
| template<typename UserConfig , typename KeysToIgnore = void> | |
| using | Table = Modifier::Table< UserConfig, KeysToIgnore > |
Public Types inherited from art::Modifier | |
| template<typename UserConfig , typename UserKeysToIgnore = void> | |
| using | Table = ProducerTable< UserConfig, detail::ModuleConfig, UserKeysToIgnore > |
Public Member Functions | |
| HitCollectionCreatorTest (Parameters const &config) | |
| virtual void | produce (art::Event &event) override |
Public Member Functions inherited from art::EDProducer | |
| EDProducer (fhicl::ParameterSet const &pset) | |
| template<typename Config > | |
| EDProducer (Table< Config > const &config) | |
| std::string | workerType () const |
Public Member Functions inherited from art::detail::Producer | |
| virtual | ~Producer () noexcept |
| Producer (fhicl::ParameterSet const &) | |
| Producer (Producer const &)=delete | |
| Producer (Producer &&)=delete | |
| Producer & | operator= (Producer const &)=delete |
| Producer & | operator= (Producer &&)=delete |
| void | doBeginJob (SharedResources const &resources) |
| 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 &mc) |
| 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 | |
| ~Modifier () noexcept | |
| Modifier () | |
| Modifier (Modifier const &)=delete | |
| Modifier (Modifier &&)=delete | |
| Modifier & | operator= (Modifier const &)=delete |
| Modifier & | operator= (Modifier &&)=delete |
Public Member Functions inherited from art::ModuleBase | |
| virtual | ~ModuleBase () noexcept |
| ModuleBase () | |
| ModuleDescription const & | moduleDescription () const |
| void | setModuleDescription (ModuleDescription const &) |
| std::array< std::vector< ProductInfo >, NumBranchTypes > const & | getConsumables () const |
| void | sortConsumables (std::string const ¤t_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 | |
| void | produceHits (art::Event &event, std::string instanceName) |
| Produces a collection of hits and stores it into the event. More... | |
Private Attributes | |
| recob::HitCollectionCreatorManager | hitCollManager |
| std::string | fInstanceName |
| Instance name to be used for products. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from art::EDProducer | |
| static void | commitEvent (EventPrincipal &ep, Event &e) |
Protected Member Functions inherited from art::ModuleBase | |
| ConsumesCollector & | consumesCollector () |
| 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 () |
Test module for recob::HitCollector.
Currently exercises:
Throws an exception on failure.
This module requires no service.
Definition at line 51 of file HitCollectionCreatorTest_module.cc.
Definition at line 68 of file HitCollectionCreatorTest_module.cc.
|
explicit |
Definition at line 100 of file HitCollectionCreatorTest_module.cc.
|
overridevirtual |
Implements art::EDProducer.
Definition at line 110 of file HitCollectionCreatorTest_module.cc.
|
private |
Produces a collection of hits and stores it into the event.
Definition at line 117 of file HitCollectionCreatorTest_module.cc.
|
private |
Instance name to be used for products.
Definition at line 80 of file HitCollectionCreatorTest_module.cc.
|
private |
Definition at line 78 of file HitCollectionCreatorTest_module.cc.
1.8.11