14 :
public JOmniFactory<SubDivideCollection_factory<T>, SubDivideCollectionConfig<T>> {
21 std::unique_ptr<AlgoT> m_algo;
23 typename FactoryT::template PodioInput<T> m_input{
this};
24 typename FactoryT::template VariadicPodioOutput<T> m_split_output{
this};
26 typename FactoryT::template Service<AlgorithmsInit_service> m_algorithmsInit{
this};
30 m_algo = std::make_unique<AlgoT>(this->
GetPrefix());
31 m_algo->level(
static_cast<algorithms::LogLevel
>(this->
logger()->level()));
32 m_algo->applyConfig(this->
config());
38 std::vector<gsl::not_null<typename T::collection_type*>> split_collections;
39 for (
const auto& split : m_split_output()) {
40 split_collections.push_back(gsl::not_null<typename T::collection_type*>(split.get()));
42 m_algo->process(m_input(), split_collections);
Definition JOmniFactory.h:30
SubDivideCollectionConfig< T > & config()
Retrieve reference to embedded config object.
Definition JOmniFactory.h:576
std::shared_ptr< spdlog::logger > & logger()
Retrieve reference to already-configured logger.
Definition JOmniFactory.h:573
std::string GetPrefix()
Definition JOmniFactory.h:570
Definition SubDivideCollection_factory.h:14
void Configure()
Definition SubDivideCollection_factory.h:29
void Process(int32_t, uint64_t)
Definition SubDivideCollection_factory.h:36
Definition SubDivideCollection.h:25
-client
Definition CalorimeterClusterRecoCoG.cc:37
Definition SubDivideCollectionConfig.h:8