14 if (trackToTrackingParticleMap.find(aTrack) != trackToTrackingParticleMap.end()) {
15 return trackToTrackingParticleMap.find(aTrack)->second;
26 if (trackingParticleToTrackVectorMap.find(aTrackingParticle) != trackingParticleToTrackVectorMap.end()) {
27 return trackingParticleToTrackVectorMap.find(aTrackingParticle)->second;
31 std::vector<edm::Ptr<TTTrack<Ref_Phase2TrackerDigi_> > > tempVec;
41 if ((this->findTrackingParticlePtr(aTrack)).isNull())
51 if ((this->findTrackingParticlePtr(aTrack)).isNull())
56 TP_Stubs = theStubAssociationMap->findTTStubRefs(this->findTrackingParticlePtr(aTrack));
58 TRK_Stubs = aTrack->getStubRefs();
60 bool one2SStub =
false;
61 for (
unsigned int js = 0; js < TRK_Stubs.size(); js++) {
67 if (
std::find(TP_Stubs.begin(), TP_Stubs.end(), TRK_Stubs.at(js)) == TP_Stubs.end()) {
68 if (!AllowOneFalse2SStub || TRK_Stubs.at(js)->moduleTypePS() || one2SStub)
84 if (this->isLooselyGenuine(aTrack))
87 if (this->isUnknown(aTrack))
99 theseStubs = aTrack->getStubRefs();
100 for (
unsigned int i = 0;
i < theseStubs.size();
i++) {
101 if (theStubAssociationMap->isUnknown(theseStubs.at(
i)) ==
false) {
103 if (unknownstubs >= 2)
113 AllowOneFalse2SStub = allowFalse2SStub;
118 return AllowOneFalse2SStub;