Matcher of reconstructed objects to L1 Muons. More...
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 | |
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::ProducerBase | |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
declare what type of product will make and with which optional label More... | |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (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) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
Matcher of reconstructed objects to L1 Muons.
Definition at line 32 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_.
|
inlineoverride |
Definition at line 35 of file L1MuonMatcher.cc.
|
overridevirtual |
Reimplemented from edm::EDProducer.
Definition at line 258 of file L1MuonMatcher.cc.
|
overridevirtual |
Implements edm::EDProducer.
Definition at line 109 of file L1MuonMatcher.cc.
References BXVector< T >::begin(), l1GtPatternGenerator_cfi::bx, L1MuGMTCand::bx(), ALCARECOTkAlJpsiMuMu_cff::charge, reco::LeafCandidate::charge(), filterCSVwithJSON::copy, BXVector< T >::end(), edm::helper::Filler< Map >::fill(), BXVector< T >::getFirstBX(), BXVector< T >::getLastBX(), TrajectoryStateOnSurface::globalPosition(), mps_fire::i, iEvent, edm::helper::Filler< Map >::insert(), L1MuGMTCand::isol(), GlobalTrackerMuonAlignment_cfi::isolated, TrajectoryStateOnSurface::isValid(), L1Scalers_cfi::l1s, match(), SiStripPI::max, simKBmtfStubs_cfi::maxBX, min(), simKBmtfStubs_cfi::minBX, eostools::move(), amptDefaultParameters_cff::mu, dqmiodumpmetadata::n, p4, reco::LeafCandidate::polarP4(), qcdUeDQM_cfi::quality, L1MuGMTCand::quality(), dt_dqm_sourceclient_common_cff::reco, BXVector< T >::size(), and cuda_std::upper_bound().
|
private |
Store extra information in a ValueMap.
Definition at line 245 of file L1MuonMatcher.cc.
References trigObjTnPSource_cfi::filler, patZpeak::handle, iEvent, label, eostools::move(), and contentValuesCheck::values.
|
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().