15 if ( trackToTrackingParticleMap.find( aTrack ) != trackToTrackingParticleMap.end() )
17 return trackToTrackingParticleMap.find( aTrack )->second;
28 if ( trackingParticleToTrackVectorMap.find( aTrackingParticle ) != trackingParticleToTrackVectorMap.end() )
30 return trackingParticleToTrackVectorMap.find( aTrackingParticle )->second;
34 std::vector< edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ > > > tempVec;
44 if ( (this->findTrackingParticlePtr( aTrack )).isNull() )
55 if ( (this->findTrackingParticlePtr( aTrack )).isNull() )
59 std::vector< edm::Ref< edmNew::DetSetVector< TTStub< Ref_Phase2TrackerDigi_ > >,
TTStub< Ref_Phase2TrackerDigi_ > > > TP_Stubs = theStubAssociationMap->findTTStubRefs( this->findTrackingParticlePtr( aTrack ) );
62 for (
unsigned int js = 0; js < TRK_Stubs.size(); js++ )
68 if (
std::find( TP_Stubs.begin(), TP_Stubs.end(), TRK_Stubs.at(js) ) == TP_Stubs.end() )
82 if ( this->isLooselyGenuine( aTrack ) )
85 if ( this->isUnknown( aTrack ) )
98 for (
unsigned int i = 0;
i < theseStubs.size();
i++ )
100 if ( theStubAssociationMap->isUnknown( theseStubs.at(
i) ) ==
false )
103 if (unknownstubs>=2)
return false;
bool isCombinatoric(edm::Ptr< TTTrack< T > > aTrack) const
std::vector< edm::Ptr< TTTrack< T > > > findTTTrackPtrs(edm::Ptr< TrackingParticle > aTrackingParticle) const
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
bool isGenuine(edm::Ptr< TTTrack< T > > aTrack) const
MC Truth methods.
Class to store the L1 Track Trigger stubs.
edm::Ptr< TrackingParticle > findTrackingParticlePtr(edm::Ptr< TTTrack< T > > aTrack) const
Operations.
Class to store the L1 Track Trigger tracks.
bool isUnknown(edm::Ptr< TTTrack< T > > aTrack) const
bool isLooselyGenuine(edm::Ptr< TTTrack< T > > aTrack) const