Skip to content

Commit

Permalink
Reordered arguments to break Offmomentum and RomanPots
Browse files Browse the repository at this point in the history
  • Loading branch information
simonge committed Sep 30, 2023
1 parent 3c1d1c8 commit 167ae08
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/algorithms/fardetectors/MatrixTransferStatic.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

#include "MatrixTransferStatic.h"

void eicrecon::MatrixTransferStatic::init(std::shared_ptr<const dd4hep::rec::CellIDPositionConverter> id_conv,
const dd4hep::Detector* det,
void eicrecon::MatrixTransferStatic::init(const dd4hep::Detector* det,
std::shared_ptr<const dd4hep::rec::CellIDPositionConverter> id_conv,
std::shared_ptr<spdlog::logger> &logger) {

m_log = logger;
Expand Down
2 changes: 1 addition & 1 deletion src/algorithms/fardetectors/MatrixTransferStatic.h
Original file line number Diff line number Diff line change
Expand Up @@ -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::rec::CellIDPositionConverter>,const dd4hep::Detector* det,std::shared_ptr<spdlog::logger> &logger);
void init(const dd4hep::Detector* det,const std::shared_ptr<const dd4hep::rec::CellIDPositionConverter>,std::shared_ptr<spdlog::logger> &logger);

std::unique_ptr<edm4eic::ReconstructedParticleCollection> produce(const edm4hep::SimTrackerHitCollection &inputhits);

Expand Down
2 changes: 1 addition & 1 deletion src/factories/fardetectors/MatrixTransferStatic_factoryT.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ namespace eicrecon {
m_geoSvc = app->GetService<DD4hep_service>();

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());

}

Expand Down

0 comments on commit 167ae08

Please sign in to comment.