1 #ifndef art_Framework_Core_ModuleBase_h 2 #define art_Framework_Core_ModuleBase_h 38 template <
typename T, BranchType = InEvent>
40 template <
typename Element, BranchType = InEvent>
42 template <
typename T, BranchType = InEvent>
45 template <
typename T, BranchType = InEvent>
47 template <
typename Element, BranchType = InEvent>
49 template <
typename T, BranchType = InEvent>
55 std::optional<ModuleDescription>
md_{std::nullopt};
59 template <
typename T, BranchType BT>
66 template <
typename T, BranchType BT>
73 template <
typename T, BranchType BT>
80 template <
typename T, BranchType BT>
87 template <
typename T, BranchType BT>
94 template <
typename T, BranchType BT>
ProductToken< T > mayConsume(InputTag const &)
ConsumesCollector collector_
ConsumesCollector & consumesCollector()
ViewToken< Element > consumesView(InputTag const &)
ProductToken< T > mayConsume(InputTag const &)
ViewToken< Element > consumesView(InputTag const &)
void sortConsumables(std::string const ¤t_process_name)
ProductToken< T > consumes(InputTag const &)
ViewToken< Element > mayConsumeView(InputTag const &)
void setModuleDescription(ModuleDescription const &)
virtual ~ModuleBase() noexcept
virtual std::unique_ptr< Worker > doMakeWorker(WorkerParams const &wp)=0
std::array< std::vector< ProductInfo >, NumBranchTypes > const & getConsumables() const
std::unique_ptr< Worker > makeWorker(WorkerParams const &wp)
std::optional< ModuleDescription > md_
ProductToken< T > consumes(InputTag const &)
ViewToken< Element > mayConsumeView(InputTag const &)
ModuleDescription const & moduleDescription() const