1 #ifndef RecoMuon_L3MuonProducer_L3TkMuonProducer_H
2 #define RecoMuon_L3MuonProducer_L3TkMuonProducer_H
46 typedef std::pair<unsigned int, unsigned int>
pseudoRef;
47 typedef std::map<pseudoRef, std::pair<reco::TrackRef, SeedRef> >
LXtoL3sMap;
53 return std::make_pair(l1ref.
id().
id(), l1ref.
key());
55 return std::make_pair(l2ref.
id().
id(), l2ref.
key());
65 pt1 = s1->l1Particle()->pt();
70 pt2 = s2->l1Particle()->pt();
reco::TrackRef l2Track() const
Get L2 info.
key_type key() const
Accessor for product key.
ProductID id() const
Accessor for product ID.
bool sharedSeed(const L3MuonTrajectorySeed &s1, const L3MuonTrajectorySeed &s2)
std::map< pseudoRef, std::pair< reco::TrackRef, SeedRef > > LXtoL3sMap
void produce(edm::Event &, const edm::EventSetup &) override
produce candidates
static bool trackRefBypT(const reco::TrackRef &t1, const reco::TrackRef &t2)
static bool seedRefBypT(const SeedRef &s1, const SeedRef &s2)
L3TkMuonProducer(const edm::ParameterSet &)
constructor with config
bool isNull() const
Checks for null.
edm::Ref< L3MuonTrajectorySeedCollection > SeedRef
l1extra::L1MuonParticleRef l1Particle() const
Get L1 info.
std::pair< unsigned int, unsigned int > pseudoRef
edm::EDGetTokenT< reco::TrackCollection > trackToken_
~L3TkMuonProducer() override
destructor
pseudoRef makePseudoRef(const L3MuonTrajectorySeed &s)
edm::InputTag theL3CollectionLabel