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