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::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 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) |
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_.
|
inlineoverride |
Definition at line 36 of file L1MuonMatcher.cc.
References beginRun(), iEvent, and produce().
|
override |
Definition at line 268 of file L1MuonMatcher.cc.
References DEFINE_FWK_MODULE, L1MuonMatcherAlgo::init(), and matcher_.
Referenced by ~L1MuonMatcher().
|
override |
Definition at line 111 of file L1MuonMatcher.cc.
References BXVector< T >::begin(), L1MuGMTCand::bx(), ALCARECOTkAlJpsiMuMu_cff::charge, reco::Candidate::charge(), reco::LeafCandidate::charge(), popcon2dropbox::copy(), BXVector< T >::end(), PV3DBase< T, PVType, FrameType >::eta(), edm::helper::Filler< Map >::fill(), firstBX_, edm::Event::getByToken(), BXVector< T >::getFirstBX(), BXVector< T >::getLastBX(), TrajectoryStateOnSurface::globalPosition(), l1t::L1Candidate::hwIso(), l1t::L1Candidate::hwPhi(), l1t::L1Candidate::hwQual(), mps_fire::i, edm::helper::Filler< Map >::insert(), L1MuGMTCand::isol(), GlobalTrackerMuonAlignment_cfi::isolated, TrajectoryStateOnSurface::isValid(), l1Token_, l1tToken_, labelL1_, labelProp_, lastBX_, reco::Candidate::mass(), match(), L1MuonMatcherAlgo::match(), matcher_, SiStripPI::max, simTrackMatching_cfi::maxBX, min(), simTrackMatching_cfi::minBX, eostools::move(), RPCpg::mu, gen::n, p4, PV3DBase< T, PVType, FrameType >::phi(), reco::LeafCandidate::polarP4(), reco::Candidate::pt(), edm::Event::put(), jets_cff::quality, L1MuGMTCand::quality(), trackingPlots::reco, recoToken_, BXVector< T >::size(), storeExtraInfo(), l1t::Muon::tfMuonIndex(), pfDeepBoostedJetPreprocessParams_cfi::upper_bound, useStage2L1_, and writeExtraInfo_.
Referenced by ~L1MuonMatcher().
|
private |
Store extra information in a ValueMap.
Definition at line 254 of file L1MuonMatcher.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 |
|
private |
Definition at line 50 of file L1MuonMatcher.cc.
Referenced by L1MuonMatcher(), and produce().
|
private |
Definition at line 51 of file L1MuonMatcher.cc.
Referenced by L1MuonMatcher(), and produce().
|
private |
Labels to set as filter names in the output.
Definition at line 54 of file L1MuonMatcher.cc.
Referenced by produce().
|
private |
Definition at line 54 of file L1MuonMatcher.cc.
Referenced by produce().
|
private |
Definition at line 64 of file L1MuonMatcher.cc.
Referenced by produce().
|
private |
Definition at line 46 of file L1MuonMatcher.cc.
Referenced by beginRun(), and produce().
|
private |
Tokens for input collections.
Definition at line 49 of file L1MuonMatcher.cc.
Referenced by produce().
|
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(), and produce().
|
private |
Write out additional info as ValueMaps.
Definition at line 57 of file L1MuonMatcher.cc.
Referenced by L1MuonMatcher(), and produce().