9 #include <boost/test/unit_test.hpp>
35 std::vector<SpacePoint*> spVec) {
37 seedMaker.
newEvent(0, spVec.begin(), spVec.end());
40 std::vector<Acts::Legacy::Seed<SpacePoint>> seedVec;
41 while (seed !=
nullptr) {
45 seedVec.push_back(*seed);
46 seed = seedMaker.
next();
58 for (
int i = 0;
i < 3;
i++) {
59 if ((*sp1It) != (*sp2It)) {
60 return (*sp1It) < (*sp2It);
71 std::vector<SpacePoint*> spVec;
72 std::vector<int> layerVec{1, 2, 2, 3, 4, 11, 13, 14};
74 std::vector<float> xVec{-33.3403,
83 std::vector<float> yVec{2.7288,
92 std::vector<float> zVec{-74.5553,
104 for (
unsigned int i = 0;
i < layerVec.size();
i++) {
110 sp->
r = std::hypot(sp->
x, sp->
y);
126 std::vector<Acts::Legacy::Seed<SpacePoint>> refVec;
127 refVec.push_back(s1);
128 refVec.push_back(s2);
129 refVec.push_back(s3);
130 refVec.push_back(s4);
131 refVec.push_back(s5);
132 refVec.push_back(s6);
133 refVec.push_back(s7);
134 refVec.push_back(s8);
145 std::vector<Acts::Legacy::Seed<SpacePoint>> diff;
146 std::set_difference(refVec.begin(), refVec.end(), seedVec.begin(),
147 seedVec.end(), std::inserter(diff, diff.begin()),
149 BOOST_CHECK(diff.empty());
150 for (
auto sp : spVec) {