1 #ifndef __L1Trigger_VertexFinder_L1TrackTruthMatched_h__ 2 #define __L1Trigger_VertexFinder_L1TrackTruthMatched_h__ 19 class AnalysisSettings;
32 auto mcTruthTP = mcTruthTTTrackHandle->findTrackingParticlePtr(aTrack);
33 if (!mcTruthTP.isNull()) {
34 auto tpTranslation = tpPtrToRefMap.find(mcTruthTP);
35 if (tpTranslation != tpPtrToRefMap.end()) {
36 matchedTP_ = &tpValueMap[tpTranslation->second];
TTTrackAssociationMap< Ref_Phase2TrackerDigi_ > TTTrackAssMap
const TP * getMatchedTP() const
Stores association of Truth Particles (TP) to L1 Track-Trigger Tracks.
Simple wrapper class for TTTrack, with match to a tracking particle.
Simple wrapper class for TTTrack.
const int getMatchedTPidx() const
L1TrackTruthMatched(const edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ >> &aTrack, const std::map< edm::Ptr< TrackingParticle >, edm::RefToBase< TrackingParticle >> &tpPtrToRefMap, const edm::ValueMap< TP > &tpValueMap, edm::Handle< TTTrackAssMap > mcTruthTTTrackHandle)
Class to store the L1 Track Trigger tracks.