Public Member Functions | |
virtual 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... | |
virtual void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override |
virtual | ~HLTL1MuonMatcher () |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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::InputTag | l1_ |
std::string | labelProp_ |
Labels to set as filter names in the output. More... | |
std::vector< const pat::TriggerObjectStandAlone * > | lockedItems_ |
L1MuonMatcherAlgo | matcher_ |
edm::InputTag | reco_ |
Labels 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 |
typedef WorkerT< EDProducer > | WorkerType |
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::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
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 35 of file HLTL1MuonMatcher.cc.
|
private |
Definition at line 51 of file HLTL1MuonMatcher.cc.
|
private |
Definition at line 52 of file HLTL1MuonMatcher.cc.
Definition at line 53 of file HLTL1MuonMatcher.cc.
|
explicit |
Definition at line 84 of file HLTL1MuonMatcher.cc.
References writeExtraInfo_.
|
inlinevirtual |
Definition at line 38 of file HLTL1MuonMatcher.cc.
|
overridevirtual |
Reimplemented from edm::EDProducer.
Definition at line 172 of file HLTL1MuonMatcher.cc.
|
inline |
select L1s with patName_ and filterLabel_ (public, so it can be used by L1MuonMatcherAlgo)
Definition at line 46 of file HLTL1MuonMatcher.cc.
References spr::find(), lockedItems_, resolveAmbiguities_, and selector_.
|
overridevirtual |
Implements edm::EDProducer.
Definition at line 103 of file HLTL1MuonMatcher.cc.
References reco::Candidate::charge(), PV3DBase< T, PVType, FrameType >::eta(), edm::helper::Filler< Map >::fill(), edm::Event::getByLabel(), TrajectoryStateOnSurface::globalPosition(), i, edm::helper::Filler< Map >::insert(), TrajectoryStateOnSurface::isValid(), L1Scalers_cfi::l1s, reco::Candidate::mass(), match(), RPCpg::mu, n, PV3DBase< T, PVType, FrameType >::phi(), pos, reco::Candidate::pt(), edm::Event::put(), and L1Trigger_dataformats::reco.
|
private |
Store extra information in a ValueMap.
Definition at line 158 of file HLTL1MuonMatcher.cc.
References edm::helper::Filler< Map >::fill(), edm::helper::Filler< Map >::insert(), and edm::Event::put().
|
private |
Definition at line 58 of file HLTL1MuonMatcher.cc.
|
private |
Labels to set as filter names in the output.
Definition at line 66 of file HLTL1MuonMatcher.cc.
|
private |
Definition at line 79 of file HLTL1MuonMatcher.cc.
Referenced by operator()().
|
private |
Definition at line 55 of file HLTL1MuonMatcher.cc.
|
private |
Labels for input collections.
Definition at line 58 of file HLTL1MuonMatcher.cc.
|
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().