Matcher of reconstructed objects to L1 Muons. More...
Public Member Functions | |
virtual void | beginRun (const edm::Run &iRun, const edm::EventSetup &iSetup) override |
L1MuonMatcher (const edm::ParameterSet &iConfig) | |
virtual void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override |
virtual | ~L1MuonMatcher () |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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 | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) 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 | |
int | firstBX_ |
Skim stage2 BX vector. More... | |
edm::EDGetTokenT< std::vector < l1extra::L1MuonParticle > > | l1Token_ |
edm::EDGetTokenT < l1t::MuonBxCollection > | l1tToken_ |
std::string | labelL1_ |
Labels to set as filter names in the output. More... | |
std::string | labelProp_ |
int | lastBX_ |
L1MuonMatcherAlgo | matcher_ |
edm::EDGetTokenT< edm::View < reco::Candidate > > | recoToken_ |
Tokens for input collections. More... | |
bool | useStage2L1_ |
Allow to run both on legacy or stage2 (2016) L1 Muon trigger output. More... | |
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 | |
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) |
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) |
Matcher of reconstructed objects to L1 Muons.
Definition at line 33 of file L1MuonMatcher.cc.
|
private |
Definition at line 42 of file L1MuonMatcher.cc.
Definition at line 43 of file L1MuonMatcher.cc.
Definition at line 44 of file L1MuonMatcher.cc.
|
explicit |
Definition at line 76 of file L1MuonMatcher.cc.
References edm::ParameterSet::getParameter(), l1Token_, l1tToken_, useStage2L1_, and writeExtraInfo_.
|
inlinevirtual |
Definition at line 36 of file L1MuonMatcher.cc.
|
overridevirtual |
Reimplemented from edm::EDProducer.
Definition at line 268 of file L1MuonMatcher.cc.
|
overridevirtual |
Implements edm::EDProducer.
Definition at line 111 of file L1MuonMatcher.cc.
References L1MuGMTCand::bx(), RecoTauCleanerPlugins::charge, reco::Candidate::charge(), reco::LeafCandidate::charge(), filterCSVwithJSON::copy, PV3DBase< T, PVType, FrameType >::eta(), edm::helper::Filler< Map >::fill(), edm::Event::getByToken(), TrajectoryStateOnSurface::globalPosition(), l1t::L1Candidate::hwIso(), l1t::L1Candidate::hwPhi(), l1t::L1Candidate::hwQual(), i, edm::helper::Filler< Map >::insert(), L1MuGMTCand::isol(), TrajectoryStateOnSurface::isValid(), L1Scalers_cfi::l1s, reco::Candidate::mass(), match(), bookConverter::max, min(), eostools::move(), RPCpg::mu, gen::n, p4, PV3DBase< T, PVType, FrameType >::phi(), reco::LeafCandidate::polarP4(), reco::Candidate::pt(), edm::Event::put(), L1MuGMTCand::quality(), HLT_25ns10e33_v2_cff::quality, dt_dqm_sourceclient_common_cff::reco, and l1t::Muon::tfMuonIndex().
|
private |
Store extra information in a ValueMap.
Definition at line 254 of file L1MuonMatcher.cc.
References edm::helper::Filler< Map >::fill(), edm::helper::Filler< Map >::insert(), eostools::move(), and edm::Event::put().
|
private |
Skim stage2 BX vector.
Definition at line 63 of file L1MuonMatcher.cc.
|
private |
Definition at line 50 of file L1MuonMatcher.cc.
Referenced by L1MuonMatcher().
|
private |
Definition at line 51 of file L1MuonMatcher.cc.
Referenced by L1MuonMatcher().
|
private |
Labels to set as filter names in the output.
Definition at line 54 of file L1MuonMatcher.cc.
|
private |
Definition at line 54 of file L1MuonMatcher.cc.
|
private |
Definition at line 64 of file L1MuonMatcher.cc.
|
private |
Definition at line 46 of file L1MuonMatcher.cc.
|
private |
Tokens for input collections.
Definition at line 49 of file L1MuonMatcher.cc.
|
private |
Allow to run both on legacy or stage2 (2016) L1 Muon trigger output.
Definition at line 60 of file L1MuonMatcher.cc.
Referenced by L1MuonMatcher().
|
private |
Write out additional info as ValueMaps.
Definition at line 57 of file L1MuonMatcher.cc.
Referenced by L1MuonMatcher().