18 #ifndef SimDataFormats_Associations_TTTrackAssociationMap_h 19 #define SimDataFormats_Associations_TTTrackAssociationMap_h 121 template <
typename T>
123 template <
typename T>
128 template <
typename T>
134 template <
typename T>
const TrackingParticlePtr & findTrackingParticlePtr(TTTrackPtrT< T > aTrack) const
void setTTStubAssociationMap(edm::RefProd< TTStubAssociationMap< T >> aStubAssoMap)
Set stub <-> truth association object.
bool isUnknown(TTTrackPtrT< T > aTrack) const
More than one stub on track is "unknown".
std::map< TrackingParticlePtr, std::vector< TTTrackPtrT< T > >> MapTPToVecL1Track
MapL1TrackToTP< T > trackToTrackingParticleMap_
Data members.
bool getAllowOneFalse2SStub()
bool isCombinatoric(TTTrackPtrT< T > aTrack) const
Both isLooselyGenuine() & isUnknown() are false.
static const std::vector< TTTrackPtr > nullVecTTTrackPtr_
Stores association of Truth Particles (TP) to L1 Track-Trigger Tracks.
~TTTrackAssociationMap()
Destructor.
bool isGenuine(TTTrackPtrT< T > aTrack) const
MapTPToVecL1Track< T > trackingParticleToTrackVectorMap_
void setAllowOneFalse2SStub(bool allowFalse2SStub)
bool isLooselyGenuine(TTTrackPtrT< T > aTrack) const
TTTrackAssociationMap()
Constructors.
edm::RefProd< TTStubAssociationMap< T > > theStubAssociationMap_
void setTTTrackToTrackingParticleMap(const MapL1TrackToTP< T > &aMap)
const std::vector< TTTrackPtrT< T > > & findTTTrackPtrs(TrackingParticlePtr aTrackingParticle) const
static const TrackingParticlePtr nullTrackingParticlePtr_
Close class.
void setTrackingParticleToTTTracksMap(const MapTPToVecL1Track< T > &aMap)
const MapTPToVecL1Track< T > & getTrackingParticleToTTTracksMap() const
const MapL1TrackToTP< T > & getTTTrackToTrackingParticleMap() const
Get/set stub <-> truth association maps.
std::map< TTTrackPtrT< T >, TrackingParticlePtr > MapL1TrackToTP
NOTE: this is needed even if it seems not.
Stores association of Truth Particles (TP) to L1 Track-Trigger Stubs.