20 for(
unsigned gr=0; gr<
mGdim; gr++)
36 #ifdef _USE_ALL_MEMBERS_VECTOR_
47 #ifdef _USE_ALL_MEMBERS_VECTOR_
48 mAllMembers =
new std::vector<GroupMember*>[
mGdim];
60 for(
unsigned iq=0; iq<tree->
GetDdim(); iq++)
63 for(
unsigned gr=0; gr<
GetGdim(); gr++) {
83 #ifdef _USE_ALL_MEMBERS_VECTOR_
84 mAllMembers[gr].push_back(member);
88 #ifdef _USE_ALL_MEMBERS_VECTOR_
101 for(
int gr=0; gr<tree->
GetGdim(); gr++) {
112 #ifdef _USE_ALL_MEMBERS_VECTOR_
121 for(
unsigned qm=0; qm<reference->
mMemberCount[gr]; qm++)
127 if (!found)
return false;
143 for(
int gr=0; gr<
GetGdim(); gr++) {
153 if (multi) ret *= multi;
170 unsigned hCounters[2] = {0, 0}, toggle = 0;
172 for(
int gr=0; gr<
GetGdim(); gr++) {
177 if (mMembers[gr][
mm])
188 toggle = (toggle+1)%2;
189 }
else if (multi >= 2) {
196 return (hCounters[0] >= minHitCount && hCounters[1] >= minHitCount);
201 void MatchCandidate::AssertHitActiveFlags(
const HoughTree *tree)
203 for(
int gr=0; gr<tree->
GetGdim(); gr++)
205 mMembers[gr][
mm]->SetActive(
true);