13 :
public JOmniFactory<FarDetectorTransportationPreML_factory,
14 FarDetectorTransportationPreMLConfig> {
20 std::unique_ptr<AlgoT> m_algo;
22 PodioInput<edm4eic::Track> m_track_input{
this};
23 PodioInput<edm4eic::MCRecoTrackParticleAssociation> m_association_input{
this};
24 PodioInput<edm4hep::MCParticle> m_beamelectrons_input{
this};
26 PodioOutput<edm4eic::Tensor> m_feature_tensor_output{
this};
27 PodioOutput<edm4eic::Tensor> m_target_tensor_output{
this};
29 ParameterRef<float> m_beamE{
this,
"beamE",
config().beamE};
30 ParameterRef<bool> m_requireBeamElectron{
this,
"requireBeamElectron",
31 config().requireBeamElectron};
35 m_algo = std::make_unique<AlgoT>(
GetPrefix());
36 m_algo->level(
static_cast<algorithms::LogLevel
>(
logger()->level()));
37 m_algo->applyConfig(
config());
42 m_algo->process({m_track_input(), m_association_input(), m_beamelectrons_input()},
43 {m_feature_tensor_output().get(), m_target_tensor_output().get()});