![]() |
![]() |
Take a Muon collection and one or more lists of bad muons to un-PF-tag. More...
Private Member Functions | |
template<typename H1 , typename H2 > | |
void | writeAssociation (edm::Event &out, const H1 &from, const H2 &to, const std::vector< int > indices, const std::string &name) const |
template<typename H1 > | |
void | writeValueMap (edm::Event &out, const H1 &from, const std::vector< int > values, const std::string &name) const |
Private Attributes | |
std::vector< edm::EDGetTokenT< reco::CandidateView > > | badmuons_ |
edm::EDGetTokenT< std::vector< reco::Muon > > | muons_ |
Additional Inherited Members | |
![]() | |
typedef EDProducerBase | ModuleType |
![]() | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
![]() | |
typedef ProductLabels | Labels |
![]() | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
![]() | |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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) |
Take a Muon collection and one or more lists of bad muons to un-PF-tag.
Definition at line 21 of file PFMuonUntagger.cc.
PFMuonUntagger::PFMuonUntagger | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 54 of file PFMuonUntagger.cc.
References badmuons_, edm::ParameterSet::getParameter(), and TrackRefitter_38T_cff::src.
|
inlineoverride |
|
override |
Definition at line 70 of file PFMuonUntagger.cc.
References badmuons_, popcon2dropbox::copy(), DEFINE_FWK_MODULE, edm::Event::getByToken(), mps_fire::i, edm::HandleBase::id(), edm::Ptr< T >::id(), edm::Ptr< T >::isNonnull(), reco::Muon::isPFMuon(), edm::Ptr< T >::key(), eostools::move(), RPCpg::mu, extraflags_cff::muons, muons_, gen::n, AlCaHLTBitMon_ParallelJobs::p, edm::View< T >::ptrAt(), edm::Event::put(), reco::Muon::setType(), edm::View< T >::size(), GlobalPosition_Frontier_DevDB_cff::tag, reco::Muon::type(), writeAssociation(), and writeValueMap().
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), HTMLExport.HTMLExportStatic::export(), and ~PFMuonUntagger().
|
inlineprivate |
Definition at line 33 of file PFMuonUntagger.cc.
References AlignmentPrescaler_cff::assomap, objects.autophobj::filler, eostools::move(), and edm::Event::put().
Referenced by produce().
|
inlineprivate |
Definition at line 43 of file PFMuonUntagger.cc.
References objects.autophobj::filler, eostools::move(), and edm::Event::put().
Referenced by produce().
|
private |
Definition at line 30 of file PFMuonUntagger.cc.
Referenced by PFMuonUntagger(), and produce().
|
private |
Definition at line 29 of file PFMuonUntagger.cc.
Referenced by produce().