diff --git a/src/algorithms/fardetectors/MatrixTransferStatic.cc b/src/algorithms/fardetectors/MatrixTransferStatic.cc index f2faea5056..bfbff358c7 100644 --- a/src/algorithms/fardetectors/MatrixTransferStatic.cc +++ b/src/algorithms/fardetectors/MatrixTransferStatic.cc @@ -5,8 +5,8 @@ #include "MatrixTransferStatic.h" -void eicrecon::MatrixTransferStatic::init(std::shared_ptr id_conv, - const dd4hep::Detector* det, +void eicrecon::MatrixTransferStatic::init(const dd4hep::Detector* det, + std::shared_ptr id_conv, std::shared_ptr &logger) { m_log = logger; diff --git a/src/algorithms/fardetectors/MatrixTransferStatic.h b/src/algorithms/fardetectors/MatrixTransferStatic.h index 46a4dadf7a..41370b8f09 100644 --- a/src/algorithms/fardetectors/MatrixTransferStatic.h +++ b/src/algorithms/fardetectors/MatrixTransferStatic.h @@ -26,7 +26,7 @@ namespace eicrecon { double aYinv[2][2] = {{0.0, 0.0}, {0.0, 0.0}}; - void init(const std::shared_ptr,const dd4hep::Detector* det,std::shared_ptr &logger); + void init(const dd4hep::Detector* det,const std::shared_ptr,std::shared_ptr &logger); std::unique_ptr produce(const edm4hep::SimTrackerHitCollection &inputhits); diff --git a/src/factories/fardetectors/MatrixTransferStatic_factoryT.h b/src/factories/fardetectors/MatrixTransferStatic_factoryT.h index e500442e1f..d0ee76f4a9 100644 --- a/src/factories/fardetectors/MatrixTransferStatic_factoryT.h +++ b/src/factories/fardetectors/MatrixTransferStatic_factoryT.h @@ -46,7 +46,7 @@ namespace eicrecon { m_geoSvc = app->GetService(); m_reco_algo.applyConfig(cfg); - m_reco_algo.init(m_geoSvc->cellIDPositionConverter(),m_geoSvc->detector(),logger()); + m_reco_algo.init(m_geoSvc->detector(),m_geoSvc->cellIDPositionConverter(),logger()); }