Public Member Functions | |
MuonsFromRefitTracksProducer (const edm::ParameterSet &) | |
~MuonsFromRefitTracksProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndRuns () 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 67 of file MuonsFromRefitTracksProducer.cc.
|
explicit |
Definition at line 147 of file MuonsFromRefitTracksProducer.cc.
References fromTeVRefit, HLT_2018_cff::InputTag, src, srcToken_, tevMuonTracks, trackMapDefaultToken_, trackMapFirstHitToken_, trackMapPickyToken_, and trackMapToken_.
|
inlineoverride |
Definition at line 70 of file MuonsFromRefitTracksProducer.cc.
References cloneAndSwitchTrack(), produce(), and storeMatchMaps().
|
private |
Definition at line 181 of file MuonsFromRefitTracksProducer.cc.
References reco::Muon::clone(), reco::Muon::innerTrack(), amptDefaultParameters_cff::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 206 of file MuonsFromRefitTracksProducer.cc.
References HLT_2018_cff::cands, edm::ViewBase::clone(), cloneAndSwitchTrack(), reco::Muon::CombinedTrack, DEFINE_FWK_MODULE, edm::AssociationMap< Tag >::end(), edm::HandleBase::failedToGet(), edm::AssociationMap< Tag >::find(), fromCocktail, fromGlobalTrack, fromSigmaSwitch, fromTeVRefit, fromTMR, fromTrackerTrack, reco::Muon::InnerTrack, dqmdumpme::last, eostools::move(), HLT_2018_cff::muon, PDWG_BPHSkim_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, trackMapFirstHit, and edm::helpers::KeyVal< K, V >::val.
Referenced by ~MuonsFromRefitTracksProducer().
|
private |
Definition at line 169 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 140 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 142 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 143 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 144 of file MuonsFromRefitTracksProducer.cc.
Referenced by MuonsFromRefitTracksProducer(), and storeMatchMaps().
|
private |
Definition at line 141 of file MuonsFromRefitTracksProducer.cc.
Referenced by MuonsFromRefitTracksProducer(), and storeMatchMaps().