Private Member Functions | |
virtual void | beginJob () override |
reco::Muon * | cloneAndSwitchTrack (const reco::Muon &muon, const reco::Muon::MuonTrackTypePair &newTrack) const |
virtual void | endJob () override |
virtual 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::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Definition at line 66 of file MuonsFromRefitTracksProducer.cc.
|
explicit |
Definition at line 154 of file MuonsFromRefitTracksProducer.cc.
References fromTeVRefit, src, srcToken_, tevMuonTracks, trackMapDefaultToken_, trackMapFirstHitToken_, trackMapPickyToken_, and trackMapToken_.
|
inline |
Definition at line 69 of file MuonsFromRefitTracksProducer.cc.
|
inlineoverrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 72 of file MuonsFromRefitTracksProducer.cc.
|
private |
Definition at line 195 of file MuonsFromRefitTracksProducer.cc.
References reco::Muon::clone(), reco::Muon::innerTrack(), RPCpg::mu, 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(), and mathSSE::sqrt().
Referenced by produce().
|
inlineoverrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 74 of file MuonsFromRefitTracksProducer.cc.
|
overrideprivatevirtual |
Implements edm::EDProducer.
Definition at line 221 of file MuonsFromRefitTracksProducer.cc.
References edm::ViewBase::clone(), cloneAndSwitchTrack(), reco::Muon::CombinedTrack, edm::AssociationMap< edm::OneToOne< reco::TrackCollection, reco::TrackCollection > >::const_iterator, edm::HandleBase::failedToGet(), fromCocktail, fromGlobalTrack, fromSigmaSwitch, fromTeVRefit, fromTMR, fromTrackerTrack, reco::Muon::InnerTrack, prof2calltree::last, metsig::muon, patZpeak::muons, nSigmaSwitch, convertSQLiteXML::ok, ptThreshold, reco::Muon::setGlobalTrack(), reco::Muon::setInnerTrack(), reco::Muon::setOuterTrack(), sigmaSwitch(), src, srcToken_, storeMatchMaps(), tevMuonTracks, muon::tevOptimized(), tevOptimizedTMR(), TMRcut, trackMap, trackMapDefault, trackMapFirstHit, and trackMapPicky.
|
private |
Definition at line 181 of file MuonsFromRefitTracksProducer.cc.
References edm::HandleBase::failedToGet(), fromCocktail, fromTMR, trackMap, trackMapDefault, trackMapDefaultToken_, trackMapFirstHit, trackMapFirstHitToken_, trackMapPicky, trackMapPickyToken_, and trackMapToken_.
Referenced by produce().
|
private |
Definition at line 112 of file MuonsFromRefitTracksProducer.cc.
Referenced by produce(), and storeMatchMaps().
|
private |
Definition at line 98 of file MuonsFromRefitTracksProducer.cc.
Referenced by produce().
|
private |
Definition at line 123 of file MuonsFromRefitTracksProducer.cc.
Referenced by produce().
|
private |
Definition at line 102 of file MuonsFromRefitTracksProducer.cc.
Referenced by MuonsFromRefitTracksProducer(), and produce().
|
private |
Definition at line 116 of file MuonsFromRefitTracksProducer.cc.
Referenced by produce(), and storeMatchMaps().
|
private |
Definition at line 92 of file MuonsFromRefitTracksProducer.cc.
Referenced by produce().
|
private |
Definition at line 126 of file MuonsFromRefitTracksProducer.cc.
Referenced by produce().
|
private |
Definition at line 129 of file MuonsFromRefitTracksProducer.cc.
Referenced by produce().
|
private |
Definition at line 86 of file MuonsFromRefitTracksProducer.cc.
Referenced by MuonsFromRefitTracksProducer(), and produce().
|
private |
Definition at line 144 of file MuonsFromRefitTracksProducer.cc.
Referenced by MuonsFromRefitTracksProducer(), and produce().
|
private |
Definition at line 107 of file MuonsFromRefitTracksProducer.cc.
Referenced by MuonsFromRefitTracksProducer(), and produce().
|
private |
Definition at line 119 of file MuonsFromRefitTracksProducer.cc.
Referenced by produce().
|
private |
Definition at line 134 of file MuonsFromRefitTracksProducer.cc.
Referenced by produce(), and storeMatchMaps().
|
private |
Definition at line 137 of file MuonsFromRefitTracksProducer.cc.
Referenced by produce(), and storeMatchMaps().
|
private |
Definition at line 146 of file MuonsFromRefitTracksProducer.cc.
Referenced by MuonsFromRefitTracksProducer(), and storeMatchMaps().
|
private |
Definition at line 138 of file MuonsFromRefitTracksProducer.cc.
Referenced by produce(), and storeMatchMaps().
|
private |
Definition at line 147 of file MuonsFromRefitTracksProducer.cc.
Referenced by MuonsFromRefitTracksProducer(), and storeMatchMaps().
|
private |
Definition at line 139 of file MuonsFromRefitTracksProducer.cc.
Referenced by produce(), and storeMatchMaps().
|
private |
Definition at line 148 of file MuonsFromRefitTracksProducer.cc.
Referenced by MuonsFromRefitTracksProducer(), and storeMatchMaps().
|
private |
Definition at line 145 of file MuonsFromRefitTracksProducer.cc.
Referenced by MuonsFromRefitTracksProducer(), and storeMatchMaps().