76 std::vector<recob::Hit> HitVector1(nHits1);
77 std::vector<recob::Hit> HitVector2(nHits2);
79 std::vector< std::vector<int> > AssocVector1(nWires);
80 std::vector< std::vector<int> > AssocVector2(nWires);
81 for(
size_t iter=0; iter<nWires; iter++){
82 AssocVector1[iter].push_back(iter);
83 AssocVector2[iter].push_back(nWires-iter-1);
88 myHitAnaAlgTest.LoadHitAssocPair(HitVector1,AssocVector1,HitModuleLabel1);
89 myHitAnaAlgTest.LoadHitAssocPair(HitVector2,AssocVector2,HitModuleLabel2);
91 BOOST_TEST( myHitAnaAlgTest.GetHitModuleLabels().size() == 2U );
92 BOOST_TEST( myHitAnaAlgTest.GetHitModuleLabels()[0].compare(HitModuleLabel1) == 0 );
93 BOOST_TEST( myHitAnaAlgTest.GetHitModuleLabels()[1].compare(HitModuleLabel2) == 0 );
95 BOOST_TEST( myHitAnaAlgTest.GetHitProcessingQueue().size() == 2U );
96 BOOST_TEST( myHitAnaAlgTest.GetHitProcessingQueue()[0].second.size() == nWires );
97 BOOST_TEST( myHitAnaAlgTest.GetHitProcessingQueue()[0].second[0].size() == 1U );
98 BOOST_TEST( myHitAnaAlgTest.GetHitProcessingQueue()[0].second[0][0] == 0 );
99 BOOST_TEST( myHitAnaAlgTest.GetHitProcessingQueue()[1].second.size() == nWires );
100 BOOST_TEST( myHitAnaAlgTest.GetHitProcessingQueue()[1].second[0].size() == 1U );
101 BOOST_TEST( myHitAnaAlgTest.GetHitProcessingQueue()[1].second[0][0] == (
int)(nWires-1) );