Public Member Functions | |
MuonsFromRefitTracksProducer (const edm::ParameterSet &) | |
~MuonsFromRefitTracksProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
Private Member Functions | |
reco::Muon * | cloneAndSwitchTrack (const reco::Muon &muon, const reco::Muon::MuonTrackTypePair &newTrack) const |
void | produce (edm::Event &, const edm::EventSetup &) override |
bool | storeMatchMaps (const edm::Event &event) |
Private Attributes | |
bool | fromCocktail |
bool | fromGlobalTrack |
bool | fromSigmaSwitch |
bool | fromTeVRefit |
bool | fromTMR |
bool | fromTrackerTrack |
double | nSigmaSwitch |
double | ptThreshold |
edm::InputTag | src |
edm::EDGetTokenT< edm::View< reco::Muon > > | srcToken_ |
std::string | tevMuonTracks |
double | TMRcut |
edm::Handle< reco::TrackToTrackMap > | trackMap |
edm::Handle< reco::TrackToTrackMap > | trackMapDefault |
edm::EDGetTokenT< reco::TrackToTrackMap > | trackMapDefaultToken_ |
edm::Handle< reco::TrackToTrackMap > | trackMapFirstHit |
edm::EDGetTokenT< reco::TrackToTrackMap > | trackMapFirstHitToken_ |
edm::Handle< reco::TrackToTrackMap > | trackMapPicky |
edm::EDGetTokenT< reco::TrackToTrackMap > | trackMapPickyToken_ |
edm::EDGetTokenT< reco::TrackToTrackMap > | trackMapToken_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Definition at line 66 of file MuonsFromRefitTracksProducer.cc.
|
explicit |
Definition at line 152 of file MuonsFromRefitTracksProducer.cc.
References fromTeVRefit, src, srcToken_, tevMuonTracks, trackMapDefaultToken_, trackMapFirstHitToken_, trackMapPickyToken_, and trackMapToken_.
|
inlineoverride |
Definition at line 69 of file MuonsFromRefitTracksProducer.cc.
References cloneAndSwitchTrack(), produce(), and storeMatchMaps().
|
private |
Definition at line 193 of file MuonsFromRefitTracksProducer.cc.
References reco::Muon::clone(), reco::Muon::innerTrack(), RPCpg::mu, fastsim::Constants::muMass, reco::Muon::outerTrack(), AlCaHLTBitMon_ParallelJobs::p, p4, reco::Muon::setBestTrack(), reco::LeafCandidate::setCharge(), reco::Muon::setGlobalTrack(), reco::Muon::setInnerTrack(), reco::Muon::setOuterTrack(), reco::LeafCandidate::setP4(), reco::LeafCandidate::setVertex(), mathSSE::sqrt(), and badGlobalMuonTaggersAOD_cff::vtx.
Referenced by produce(), and ~MuonsFromRefitTracksProducer().
|
overrideprivate |
Definition at line 219 of file MuonsFromRefitTracksProducer.cc.
References egammaForCoreTracking_cff::cands, edm::ViewBase::clone(), cloneAndSwitchTrack(), reco::Muon::CombinedTrack, edm::AssociationMap< edm::OneToOne< reco::TrackCollection, reco::TrackCollection > >::const_iterator, DEFINE_FWK_MODULE, edm::AssociationMap< Tag >::end(), edm::HandleBase::failedToGet(), edm::AssociationMap< Tag >::find(), fromCocktail, fromGlobalTrack, fromSigmaSwitch, fromTeVRefit, fromTMR, fromTrackerTrack, reco::Muon::InnerTrack, plotBeamSpotDB::last, eostools::move(), metsig::muon, nano_cff::muons, nSigmaSwitch, convertSQLiteXML::ok, ptThreshold, reco::Muon::setGlobalTrack(), reco::Muon::setInnerTrack(), reco::Muon::setOuterTrack(), sigmaSwitch(), src, srcToken_, storeMatchMaps(), tevMuonTracks, muon::tevOptimized(), tevOptimizedTMR(), TMRcut, trackMap, and trackMapFirstHit.
Referenced by ~MuonsFromRefitTracksProducer().
|
private |
Definition at line 179 of file MuonsFromRefitTracksProducer.cc.
References edm::HandleBase::failedToGet(), fromCocktail, fromTMR, trackMap, trackMapDefault, trackMapDefaultToken_, trackMapFirstHit, trackMapFirstHitToken_, trackMapPicky, trackMapPickyToken_, and trackMapToken_.
Referenced by produce(), and ~MuonsFromRefitTracksProducer().
|
private |
Definition at line 110 of file MuonsFromRefitTracksProducer.cc.
Referenced by produce(), and storeMatchMaps().
|
private |
Definition at line 96 of file MuonsFromRefitTracksProducer.cc.
Referenced by produce().
|
private |
Definition at line 121 of file MuonsFromRefitTracksProducer.cc.
Referenced by produce().
|
private |
Definition at line 100 of file MuonsFromRefitTracksProducer.cc.
Referenced by MuonsFromRefitTracksProducer(), and produce().
|
private |
Definition at line 114 of file MuonsFromRefitTracksProducer.cc.
Referenced by produce(), and storeMatchMaps().
|
private |
Definition at line 90 of file MuonsFromRefitTracksProducer.cc.
Referenced by produce().
|
private |
Definition at line 124 of file MuonsFromRefitTracksProducer.cc.
Referenced by produce().
|
private |
Definition at line 127 of file MuonsFromRefitTracksProducer.cc.
Referenced by produce().
|
private |
Definition at line 84 of file MuonsFromRefitTracksProducer.cc.
Referenced by MuonsFromRefitTracksProducer(), and produce().
|
private |
Definition at line 142 of file MuonsFromRefitTracksProducer.cc.
Referenced by MuonsFromRefitTracksProducer(), and produce().
|
private |
Definition at line 105 of file MuonsFromRefitTracksProducer.cc.
Referenced by MuonsFromRefitTracksProducer(), and produce().
|
private |
Definition at line 117 of file MuonsFromRefitTracksProducer.cc.
Referenced by produce().
|
private |
Definition at line 132 of file MuonsFromRefitTracksProducer.cc.
Referenced by produce(), and storeMatchMaps().
|
private |
Definition at line 135 of file MuonsFromRefitTracksProducer.cc.
Referenced by storeMatchMaps().
|
private |
Definition at line 144 of file MuonsFromRefitTracksProducer.cc.
Referenced by MuonsFromRefitTracksProducer(), and storeMatchMaps().
|
private |
Definition at line 136 of file MuonsFromRefitTracksProducer.cc.
Referenced by produce(), and storeMatchMaps().
|
private |
Definition at line 145 of file MuonsFromRefitTracksProducer.cc.
Referenced by MuonsFromRefitTracksProducer(), and storeMatchMaps().
|
private |
Definition at line 137 of file MuonsFromRefitTracksProducer.cc.
Referenced by storeMatchMaps().
|
private |
Definition at line 146 of file MuonsFromRefitTracksProducer.cc.
Referenced by MuonsFromRefitTracksProducer(), and storeMatchMaps().
|
private |
Definition at line 143 of file MuonsFromRefitTracksProducer.cc.
Referenced by MuonsFromRefitTracksProducer(), and storeMatchMaps().