Public Member Functions | |
void | beginRun (const edm::Run &iRun, const edm::EventSetup &iSetup) override |
HLTL1MuonMatcher (const edm::ParameterSet &iConfig) | |
bool | operator() (const pat::TriggerObjectStandAlone &l1) const |
select L1s with patName_ and filterLabel_ (public, so it can be used by L1MuonMatcherAlgo) More... | |
void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override |
~HLTL1MuonMatcher () override | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
~EDProducer () override | |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
std::vector< edm::ProductResolverIndex > const & | putTokenIndexToProductResolverIndex () const |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Types | |
typedef pat::TriggerObjectStandAlone | PATPrimitive |
typedef pat::TriggerObjectStandAloneCollection | PATPrimitiveCollection |
typedef pat::TriggerObjectStandAloneMatch | PATTriggerAssociation |
Private Member Functions | |
template<typename Hand , typename T > | |
void | storeExtraInfo (edm::Event &iEvent, const Hand &handle, const std::vector< T > &values, const std::string &label) const |
Store extra information in a ValueMap. More... | |
Private Attributes | |
edm::EDGetTokenT< PATPrimitiveCollection > | l1Token_ |
std::string | labelProp_ |
Labels to set as filter names in the output. More... | |
std::vector< const pat::TriggerObjectStandAlone * > | lockedItems_ |
L1MuonMatcherAlgo | matcher_ |
edm::EDGetTokenT< edm::View< reco::Candidate > > | recoToken_ |
Tokens for input collections. More... | |
bool | resolveAmbiguities_ |
pat::PATTriggerMatchSelector< bool, PATPrimitive > | selector_ |
bool | writeExtraInfo_ |
Write out additional info as ValueMaps. More... | |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
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 34 of file HLTL1MuonMatcher.cc.
|
private |
Definition at line 50 of file HLTL1MuonMatcher.cc.
|
private |
Definition at line 51 of file HLTL1MuonMatcher.cc.
Definition at line 52 of file HLTL1MuonMatcher.cc.
|
explicit |
Definition at line 84 of file HLTL1MuonMatcher.cc.
References writeExtraInfo_.
|
inlineoverride |
Definition at line 37 of file HLTL1MuonMatcher.cc.
References beginRun(), iEvent, and produce().
|
override |
Definition at line 172 of file HLTL1MuonMatcher.cc.
References DEFINE_FWK_MODULE, L1MuonMatcherAlgo::init(), and matcher_.
Referenced by ~HLTL1MuonMatcher().
|
inline |
select L1s with patName_ and filterLabel_ (public, so it can be used by L1MuonMatcherAlgo)
Definition at line 45 of file HLTL1MuonMatcher.cc.
References spr::find(), lockedItems_, resolveAmbiguities_, and selector_.
|
override |
Definition at line 103 of file HLTL1MuonMatcher.cc.
References reco::Candidate::charge(), PV3DBase< T, PVType, FrameType >::eta(), edm::helper::Filler< Map >::fill(), edm::Event::getByToken(), TrajectoryStateOnSurface::globalPosition(), mps_fire::i, edm::helper::Filler< Map >::insert(), TrajectoryStateOnSurface::isValid(), l1Token_, labelProp_, lockedItems_, reco::Candidate::mass(), match(), matcher_, L1MuonMatcherAlgo::matchGeneric(), eostools::move(), RPCpg::mu, gen::n, PV3DBase< T, PVType, FrameType >::phi(), reco::Candidate::pt(), edm::Event::put(), trackingPlots::reco, recoToken_, storeExtraInfo(), and writeExtraInfo_.
Referenced by ~HLTL1MuonMatcher().
|
private |
Store extra information in a ValueMap.
Definition at line 158 of file HLTL1MuonMatcher.cc.
References edm::helper::Filler< Map >::fill(), objects.autophobj::filler, edm::helper::Filler< Map >::insert(), eostools::move(), and edm::Event::put().
Referenced by produce().
|
private |
Definition at line 58 of file HLTL1MuonMatcher.cc.
Referenced by produce().
|
private |
Labels to set as filter names in the output.
Definition at line 66 of file HLTL1MuonMatcher.cc.
Referenced by produce().
|
private |
Definition at line 79 of file HLTL1MuonMatcher.cc.
Referenced by operator()(), and produce().
|
private |
Definition at line 54 of file HLTL1MuonMatcher.cc.
Referenced by beginRun(), and produce().
|
private |
Tokens for input collections.
Definition at line 57 of file HLTL1MuonMatcher.cc.
Referenced by produce().
|
private |
Definition at line 63 of file HLTL1MuonMatcher.cc.
Referenced by operator()().
|
private |
Select HLT objects. First template argument is dummy and useless,
Definition at line 62 of file HLTL1MuonMatcher.cc.
Referenced by operator()().
|
private |
Write out additional info as ValueMaps.
Definition at line 69 of file HLTL1MuonMatcher.cc.
Referenced by HLTL1MuonMatcher(), and produce().