#include <CosmicMuonLinksProducer.h>
Public Member Functions | |
CosmicMuonLinksProducer (const edm::ParameterSet &) | |
void | produce (edm::Event &, const edm::EventSetup &) override |
~CosmicMuonLinksProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Private Member Functions | |
reco::TrackToTrackMap | mapTracks (const edm::Handle< reco::TrackCollection > &, const edm::Handle< reco::TrackCollection > &) const |
int | sharedHits (const reco::Track &track1, const reco::Track &track2) const |
Private Attributes | |
std::string | category_ |
MuonServiceProxy * | theService |
std::vector< std::pair< std::string, std::string > > | theTrackLinkNames |
std::vector< std::pair< edm::EDGetTokenT< reco::TrackCollection >, edm::EDGetTokenT< reco::TrackCollection > > > | theTrackLinks |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Original Author: Chang Liu - Purdue University chang .liu @cern .ch
Definition at line 16 of file CosmicMuonLinksProducer.h.
|
explicit |
Definition at line 36 of file CosmicMuonLinksProducer.cc.
References edm::ParameterSet::getParameter(), edm::InputTag::label(), LogDebug, MuonServiceProxy_cff::MuonServiceProxy, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 59 of file CosmicMuonLinksProducer.cc.
|
private |
Definition at line 103 of file CosmicMuonLinksProducer.cc.
References LogTrace, genParticles_cff::map, and muonCosmicCompatibility_cfi::sharedHits.
|
override |
DAMN I cannot read the label of the TOKEN so I need to do this stupid thing to create the labels of the products!
Definition at line 65 of file CosmicMuonLinksProducer.cc.
References counter, iEvent, LogDebug, LogTrace, edm::ProductLabels::module, edm::AssociationMap< Tag >::size(), AlCaHLTBitMon_QueryRunRegistry::string, and trackerHitRTTI::vector.
|
private |
Definition at line 122 of file CosmicMuonLinksProducer.cc.
References MillePedeFileConverter_cfg::e, globals_cff::id1, globals_cff::id2, LogTrace, edm::match(), DetId::Muon, reco::Track::recHitsBegin(), and reco::Track::recHitsEnd().
|
private |
Definition at line 36 of file CosmicMuonLinksProducer.h.
|
private |
Definition at line 30 of file CosmicMuonLinksProducer.h.
|
private |
Definition at line 34 of file CosmicMuonLinksProducer.h.
|
private |
Definition at line 33 of file CosmicMuonLinksProducer.h.