15 :
public JOmniFactory<JetReconstruction_factory<InputT>, JetReconstructionConfig> {
23 std::unique_ptr<Algo> m_algo;
26 typename FactoryT::template PodioInput<edm4hep::EventHeader> m_event_header_input{
this};
27 typename FactoryT::template PodioInput<InputT> m_input{
this};
30#if EDM4EIC_BUILD_VERSION >= EDM4EIC_VERSION(8, 9, 0)
31 typename FactoryT::template PodioOutput<edm4eic::Jet> m_output{
this};
33 typename FactoryT::template PodioOutput<edm4eic::ReconstructedParticle> m_output{
this};
38 typename FactoryT::template ParameterRef<float> m_pJet{
this,
"pJet",
FactoryT::config().pJet};
39 typename FactoryT::template ParameterRef<double> m_minCstPt{
this,
"minCstPt",
41 typename FactoryT::template ParameterRef<double> m_maxCstPt{
this,
"maxCstPt",
43 typename FactoryT::template ParameterRef<double> m_minJetPt{
this,
"minJetPt",
45 typename FactoryT::template ParameterRef<double> m_ghostMaxRap{
this,
"ghostMaxRap",
47 typename FactoryT::template ParameterRef<double> m_ghostArea{
this,
"ghostArea",
49 typename FactoryT::template ParameterRef<int> m_numGhostRepeat{
this,
"numGhostRepeat",
51 typename FactoryT::template ParameterRef<std::string> m_jetAlgo{
this,
"jetAlgo",
53 typename FactoryT::template ParameterRef<std::string> m_recombScheme{
55 typename FactoryT::template ParameterRef<std::string> m_areaType{
this,
"areaType",
60 m_algo = std::make_unique<Algo>(this->
GetPrefix());
61 m_algo->level(
static_cast<algorithms::LogLevel
>(this->
logger()->level()));
67 m_algo->process({m_event_header_input(), m_input()}, {m_output().get()});