1 #ifndef RecoTracker_DuplicateListMerger_h
2 #define RecoTracker_DuplicateListMerger_h
35 #include "TMVA/Reader.h"
46 typedef std::pair<TrackCandidate,std::pair<reco::TrackRef,reco::TrackRef> >
DuplicateRecord;
70 return ThreeTokens(tag, consumes<reco::TrackCollection>(tag),
consumes<std::vector<Trajectory> >(tag), consumes<TrajTrackAssociationCollection >(tag));
edm::EDGetTokenT< edm::View< DuplicateRecord > > candidateSource_
TrackQuality
track quality
edm::EDGetTokenT< edm::ValueMap< float > > originalMVAValsToken_
ThreeTokens threeTokens(const edm::InputTag &tag)
DuplicateListMerger(const edm::ParameterSet &iPara)
constructor
edm::OwnVector< TrackingRecHit > RecHitContainer
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
virtual ~DuplicateListMerger()
destructor
int matchCandidateToTrack(TrackCandidate, edm::Handle< reco::TrackCollection >)
edm::EDGetTokenT< std::vector< Trajectory > > traj
unsigned int diffHitsCut_
void produce(edm::Event &, const edm::EventSetup &) override
produce one event
edm::ProductID clusterProductB(const TrackingRecHit *hit)
ThreeTokens(const edm::InputTag &tag_, edm::EDGetTokenT< reco::TrackCollection > &&tk_, edm::EDGetTokenT< std::vector< Trajectory > > &&traj_, edm::EDGetTokenT< TrajTrackAssociationCollection > &&tass_)
edm::EDGetTokenT< edm::ValueMap< float > > mergedMVAValsToken_
edm::InputTag originalMVAVals_
edm::EDGetTokenT< TrajTrackAssociationCollection > tass
edm::EDGetTokenT< reco::TrackCollection > tk
ThreeTokens originalTrackSource_
ThreeTokens mergedTrackSource_
edm::InputTag mergedMVAVals_
std::pair< TrackCandidate, std::pair< reco::TrackRef, reco::TrackRef > > DuplicateRecord
typedef container of candidate and input tracks
reco::TrackBase::TrackQuality qualityToSet_