18 for(
unsigned rc=0; rc<
rcTrackArray->GetEntriesFast(); rc++) {
24 assert(mcTrackId >= 0 && mcTrackId < mcTrackArray->GetEntriesFast());
26 if (mcTrackId < 0 || mcTrackId >=
mcTrackArray->GetEntriesFast())
continue;
31 mMcToRcMap.insert(std::pair<PndMCTrack*, FwdMatchCandidate*>(mctrack, rctrack));
42 std::pair <std::multimap<PndMCTrack*, FwdMatchCandidate*>::iterator,
43 std::multimap<PndMCTrack*, FwdMatchCandidate*>::iterator> ret =
mMcToRcMap.equal_range(mctrack);
48 for(std::multimap<PndMCTrack*, FwdMatchCandidate*>::iterator
it=ret.first;
it != ret.second;
it++)
59 std::pair <std::multimap<PndMCTrack*, FwdMatchCandidate*>::iterator,
60 std::multimap<PndMCTrack*, FwdMatchCandidate*>::iterator> range =
mMcToRcMap.equal_range(mctrack);
65 for(std::multimap<PndMCTrack*, FwdMatchCandidate*>::iterator
it=range.first;
it != range.second;
it++)
66 if (counter++ ==
id)
return it->second;