18 #ifndef L1_TRACK_TRIGGER_TRACK_ASSOCIATION_FORMAT_H
19 #define L1_TRACK_TRIGGER_TRACK_ASSOCIATION_FORMAT_H
122 template <
typename T>
124 template <
typename T>
129 template <
typename T>
135 template <
typename T>
void setTTStubAssociationMap(edm::RefProd< TTStubAssociationMap< T >> aStubAssoMap)
Set stub <-> truth association object.
bool isLooselyGenuine(TTTrackPtrT< T > aTrack) const
const std::vector< TTTrackPtrT< T > > & findTTTrackPtrs(TrackingParticlePtr aTrackingParticle) const
MapL1TrackToTP< T > trackToTrackingParticleMap_
Data members.
const MapTPToVecL1Track< T > & getTrackingParticleToTTTracksMap() const
bool getAllowOneFalse2SStub()
static const std::vector< TTTrackPtr > nullVecTTTrackPtr_
Stores association of Truth Particles (TP) to L1 Track-Trigger Tracks.
bool isCombinatoric(TTTrackPtrT< T > aTrack) const
Both isLooselyGenuine() & isUnknown() are false.
~TTTrackAssociationMap()
Destructor.
bool isGenuine(TTTrackPtrT< T > aTrack) const
MapTPToVecL1Track< T > trackingParticleToTrackVectorMap_
void setAllowOneFalse2SStub(bool allowFalse2SStub)
TTTrackAssociationMap()
Constructors.
edm::RefProd< TTStubAssociationMap< T > > theStubAssociationMap_
void setTTTrackToTrackingParticleMap(const MapL1TrackToTP< T > &aMap)
const TrackingParticlePtr & findTrackingParticlePtr(TTTrackPtrT< T > aTrack) const
static const TrackingParticlePtr nullTrackingParticlePtr_
Close class.
void setTrackingParticleToTTTracksMap(const MapTPToVecL1Track< T > &aMap)
std::map< TrackingParticlePtr, std::vector< TTTrackPtrT< T >>> MapTPToVecL1Track
bool isUnknown(TTTrackPtrT< T > aTrack) const
More than one stub on track is "unknown".
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.
const MapL1TrackToTP< T > & getTTTrackToTrackingParticleMap() const
Get/set stub <-> truth association maps.