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) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
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, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
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 |
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 | |
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.
References beginRun(), iEvent, and produce().
|
overridevirtual |
Definition at line 268 of file L1MuonMatcher.cc.
References DEFINE_FWK_MODULE, L1MuonMatcherAlgo::init(), and matcher_.
Referenced by ~L1MuonMatcher().
|
overridevirtual |
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_, hpstanc_transforms::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(), btvTracks_cfi::quality, L1MuGMTCand::quality(), trackingPlots::reco, recoToken_, BXVector< T >::size(), storeExtraInfo(), l1t::Muon::tfMuonIndex(), 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().