CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DuplicateListMerger.h
Go to the documentation of this file.
1 #ifndef RecoTracker_DuplicateListMerger_h
2 #define RecoTracker_DuplicateListMerger_h
3 
28 #include <vector>
29 #include <algorithm>
30 #include <string>
31 #include <iostream>
32 #include <map>
33 
34 #include "TMVA/Reader.h"
35 
36 namespace reco { namespace modules {
38  public:
40  explicit DuplicateListMerger(const edm::ParameterSet& iPara);
42  virtual ~DuplicateListMerger();
43 
45  typedef std::pair<TrackCandidate,std::pair<reco::TrackRef,reco::TrackRef> > DuplicateRecord;
47  protected:
49  void produce( edm::Event &, const edm::EventSetup &) override;
50 
51  private:
53 
55  return reinterpret_cast<const BaseTrackerRecHit *>(hit)->firstClusterRef().id();
56  }
57 
62 
65 
67  unsigned int diffHitsCut_;
71  };
72  }
73 }
74 #endif
TrackQuality
track quality
Definition: TrackBase.h:95
DuplicateListMerger(const edm::ParameterSet &iPara)
constructor
edm::OwnVector< TrackingRecHit > RecHitContainer
int matchCandidateToTrack(TrackCandidate, edm::Handle< reco::TrackCollection >)
edm::InputTag mergedTrackSource_
track input collection
void produce(edm::Event &, const edm::EventSetup &) override
produce one event
edm::ProductID clusterProductB(const TrackingRecHit *hit)
std::pair< TrackCandidate, std::pair< reco::TrackRef, reco::TrackRef > > DuplicateRecord
typedef container of candidate and input tracks
reco::TrackBase::TrackQuality qualityToSet_