Public Types | |
typedef std::vector< T > | JetCollection |
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 |
Public Member Functions | |
void | endJob () override |
JetIdSelector (const edm::ParameterSet &iConfig) | |
void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override |
virtual | ~JetIdSelector () |
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 (const std::string &iProcessName, std::vector< const char * > &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 Attributes | |
JetIDSelectionFunctor * | jetIDFunctor |
edm::InputTag | jetIDMap_ |
std::string | moduleLabel_ |
unsigned int | nJetsPassed_ |
unsigned int | nJetsTot_ |
std::string | qualityStr |
edm::InputTag | src_ |
bool | use_pfloose |
bool | use_pfmedium |
bool | use_pftight |
Additional Inherited Members | |
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) |
Definition at line 59 of file JetIdSelector.cc.
typedef std::vector<T> JetIdSelector< T >::JetCollection |
Definition at line 62 of file JetIdSelector.cc.
|
explicit |
Definition at line 96 of file JetIdSelector.cc.
References Exception, JetIdSelector< T >::jetIDFunctor, JetIDSelectionFunctor::LOOSE, JetIDSelectionFunctor::LOOSE_AOD, JetIDSelectionFunctor::MINIMAL, JetIDSelectionFunctor::PURE09, JetIdSelector< T >::qualityStr, JetIDSelectionFunctor::TIGHT, JetIdSelector< T >::use_pfloose, JetIdSelector< T >::use_pfmedium, and JetIdSelector< T >::use_pftight.
|
virtual |
Definition at line 144 of file JetIdSelector.cc.
|
overridevirtual |
Reimplemented from edm::EDProducer.
Definition at line 251 of file JetIdSelector.cc.
References gather_cfg::cout, moduleLabel_(), and contentValuesCheck::ss.
|
overridevirtual |
Implements edm::EDProducer.
Definition at line 156 of file JetIdSelector.cc.
References reco::PFJet::chargedEmEnergy(), reco::PFJet::chargedHadronEnergy(), reco::PFJet::chargedMultiplicity(), reco::LeafCandidate::energy(), reco::LeafCandidate::eta(), edm::Event::getByLabel(), customizeTrackingMonitorSeedNumber::idx, fwrapper::jets, reco::Jet::nConstituents(), reco::PFJet::neutralEmEnergy(), reco::PFJet::neutralHadronEnergy(), edm::Event::put(), and patRefSel_refMuJets_cfi::selectedJets.
|
private |
Definition at line 81 of file JetIdSelector.cc.
Referenced by JetIdSelector< T >::JetIdSelector().
|
private |
Definition at line 75 of file JetIdSelector.cc.
|
private |
Definition at line 76 of file JetIdSelector.cc.
Referenced by Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), and Modules.ESProducer::nameInProcessDesc_().
|
private |
Definition at line 80 of file JetIdSelector.cc.
|
private |
Definition at line 79 of file JetIdSelector.cc.
|
private |
Definition at line 74 of file JetIdSelector.cc.
Referenced by JetIdSelector< T >::JetIdSelector().
|
private |
Definition at line 73 of file JetIdSelector.cc.
|
private |
Definition at line 82 of file JetIdSelector.cc.
Referenced by JetIdSelector< T >::JetIdSelector().
|
private |
Definition at line 83 of file JetIdSelector.cc.
Referenced by JetIdSelector< T >::JetIdSelector().
|
private |
Definition at line 84 of file JetIdSelector.cc.
Referenced by JetIdSelector< T >::JetIdSelector().