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 | |
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 () | |
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 (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) 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 | |
edm::EDGetTokenT< std::vector < l1extra::L1MuonParticle > > | l1Token_ |
std::string | labelL1_ |
Labels to set as filter names in the output. More... | |
std::string | labelProp_ |
L1MuonMatcherAlgo | matcher_ |
edm::EDGetTokenT< edm::View < reco::Candidate > > | recoToken_ |
Tokens for input collections. 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 |
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::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) |
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 68 of file L1MuonMatcher.cc.
References writeExtraInfo_.
|
inlinevirtual |
Definition at line 36 of file L1MuonMatcher.cc.
|
overridevirtual |
Reimplemented from edm::EDProducer.
Definition at line 182 of file L1MuonMatcher.cc.
|
overridevirtual |
Implements edm::EDProducer.
Definition at line 92 of file L1MuonMatcher.cc.
References L1MuGMTCand::bx(), reco::Candidate::charge(), reco::LeafCandidate::charge(), PV3DBase< T, PVType, FrameType >::eta(), edm::helper::Filler< Map >::fill(), edm::Event::getByToken(), TrajectoryStateOnSurface::globalPosition(), l1extra::L1MuonParticle::gmtMuonCand(), i, edm::helper::Filler< Map >::insert(), L1MuGMTCand::isol(), TrajectoryStateOnSurface::isValid(), L1Scalers_cfi::l1s, reco::Candidate::mass(), match(), RPCpg::mu, n, PV3DBase< T, PVType, FrameType >::phi(), reco::LeafCandidate::polarP4(), reco::Candidate::pt(), edm::Event::put(), L1MuGMTCand::quality(), and dt_dqm_sourceclient_common_cff::reco.
|
private |
Store extra information in a ValueMap.
Definition at line 168 of file L1MuonMatcher.cc.
References edm::helper::Filler< Map >::fill(), edm::helper::Filler< Map >::insert(), and edm::Event::put().
|
private |
Definition at line 50 of file L1MuonMatcher.cc.
|
private |
Labels to set as filter names in the output.
Definition at line 53 of file L1MuonMatcher.cc.
|
private |
Definition at line 53 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 |
Write out additional info as ValueMaps.
Definition at line 56 of file L1MuonMatcher.cc.
Referenced by L1MuonMatcher().