20 m_mode1dfinder(
"Trk::FsmwMode1dFinder", this)
22 declareProperty(
"Mode1dFinder", m_mode1dfinder);
30 return StatusCode::SUCCESS;
37 const std::vector<Trk::PositionAndWeight> & myVectorOfPoints)
const
41 std::vector<Trk::PositionAndWeight>::const_iterator
begin = myVectorOfPoints.begin();
42 std::vector<Trk::PositionAndWeight>::const_iterator
end = myVectorOfPoints.end();
44 std::vector<Trk::DoubleAndWeight> allx;
45 std::vector<Trk::DoubleAndWeight> ally;
46 std::vector<Trk::DoubleAndWeight> allz;
48 for (std::vector<PositionAndWeight>::const_iterator
i =
begin;
i!=
end; ++
i) {
49 allx.emplace_back(
i->first.x(),
i->second);
50 ally.emplace_back(
i->first.y(),
i->second);
51 allz.emplace_back(
i->first.z(),
i->second);
64 const std::vector<Trk::PositionAndWeight> & myVectorOfPoints,
65 std::unique_ptr<IMode3dInfo>& )
const
67 return getMode (vx, vy, myVectorOfPoints);
75 const std::vector<Amg::Vector3D> & myVectorOfPoints)
const
79 std::vector<Amg::Vector3D>::const_iterator
begin = myVectorOfPoints.begin();
80 std::vector<Amg::Vector3D>::const_iterator
end = myVectorOfPoints.end();
82 std::vector<double> allx;
83 std::vector<double> ally;
84 std::vector<double> allz;
86 for (std::vector<Amg::Vector3D>::const_iterator
i =
begin;
i!=
end; ++
i) {
87 allx.push_back((*i).x());
88 ally.push_back((*i).y());
89 allz.push_back((*i).z());
102 const std::vector<Amg::Vector3D> & myVectorOfPoints,
103 std::unique_ptr<IMode3dInfo>& )
const
106 return getMode (vx, vy, myVectorOfPoints);