#include "PhysicsTools/PatAlgos/interface/PATJetProducer.h"
Public Member Functions | |
PATJetProducer (const edm::ParameterSet &iConfig) | |
virtual void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override |
~PATJetProducer () | |
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 () |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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 |
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) |
Produces pat::Jet's.
The PATJetProducer produces analysis-level pat::Jet's starting from a collection of objects of JetType.
Definition at line 47 of file PATJetProducer.h.
|
explicit |
Definition at line 43 of file PATJetProducer.cc.
References addGenJetMatch_, addGenPartonMatch_, addJetCorrFactors_, addJetFlavourInfo_, addPartonJetMatch_, embedCaloTowers_, embedGenJetMatch_, embedGenPartonMatch_, embedPFCandidates_, edm::ParameterSet::exists(), genJetToken_, genPartonToken_, getJetMCFlavour_, edm::ParameterSet::getParameter(), jetCorrFactorsTokens_, jetFlavourInfoToken_, jetPartonMapToken_, jetsToken_, edm::EDConsumerBase::mayConsume(), GlobalPosition_Frontier_DevDB_cff::tag, useLegacyJetMCFlavour_, and edm::vector_transform().
PATJetProducer::~PATJetProducer | ( | ) |
Definition at line 129 of file PATJetProducer.cc.
|
static |
Definition at line 420 of file PATJetProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addOptional(), pat::helper::KinResolutionsLoader::fillDescription(), pat::PATUserDataHelper< ObjectType >::fillDescription(), HLT_25ns14e33_v1_cff::InputTag, edm::ParameterSetDescription::setAllowAnything(), and edm::ParameterSetDescription::setComment().
|
overridevirtual |
Implements edm::EDProducer.
Definition at line 134 of file PATJetProducer.cc.
References addAssociatedTracks_, pat::Jet::addBDiscriminatorPair(), addBTagInfo_, addDiscriminators_, addGenJetMatch_, addGenPartonMatch_, pat::Jet::addJECFactors(), addJetCharge_, addJetCorrFactors_, addJetFlavourInfo_, addJetID_, addPartonJetMatch_, pat::Jet::addTagInfo(), addTagInfos_, edm::View< T >::begin(), discriminatorLabels_, discriminatorTokens_, efficiencyLoader_, embedCaloTowers_, embedGenPartonMatch_, embedPFCandidates_, pat::helper::EfficiencyLoader::enabled(), pat::helper::KinResolutionsLoader::enabled(), edm::View< T >::end(), spr::find(), plotBeamSpotDB::first, genJetToken_, genPartonToken_, edm::RefToBase< T >::get(), edm::Event::getByToken(), reco::CaloJet::getCaloConstituents(), reco::JPTJet::getCaloJetRef(), getJetMCFlavour_, reco::PFJet::getPFConstituents(), edm::Event::getRefBeforePut(), i, customizeTrackingMonitorSeedNumber::idx, pat::Jet::initializeJEC(), edm::Ref< C, T, F >::isAvailable(), pat::Jet::isCaloJet(), pat::Jet::isJPTJet(), edm::Ptr< T >::isNonnull(), edm::Ref< C, T, F >::isNonnull(), pat::Jet::isPFJet(), edm::EventBase::isRealData(), metsig::jet, jetChargeToken_, jetCorrFactorsTokens_, jetFlavourInfoToken_, jetIDMapToken_, jetPartonMapToken_, fwrapper::jets, jetsToken_, relval_steps::k, match(), pat::helper::EfficiencyLoader::newEvent(), pat::helper::KinResolutionsLoader::newEvent(), jetProducer_cfi::patJets, pTComparator_, edm::View< T >::ptrAt(), edm::Event::put(), resolutionLoader_, pat::Jet::setAssociatedTracks(), pat::Jet::setCaloTowers(), pat::helper::EfficiencyLoader::setEfficiencies(), pat::Jet::setGenJetRef(), pat::Jet::setGenParton(), pat::Jet::setHadronFlavour(), pat::Jet::setJetCharge(), pat::Jet::setJetFlavourInfo(), pat::Jet::setJetID(), pat::Jet::setPartonFlavour(), pat::Jet::setPFCandidates(), pat::helper::KinResolutionsLoader::setResolutions(), edm::View< T >::size(), python.multivaluedict::sort(), tagInfoLabels_, tagInfoTokens_, trackAssociationToken_, useLegacyJetMCFlavour_, userDataHelper_, useUserData_, and relativeConstraints::value.
|
private |
Definition at line 89 of file PATJetProducer.h.
Referenced by produce().
|
private |
Definition at line 80 of file PATJetProducer.h.
Referenced by produce().
|
private |
Definition at line 81 of file PATJetProducer.h.
Referenced by produce().
|
private |
Definition at line 99 of file PATJetProducer.h.
|
private |
Definition at line 72 of file PATJetProducer.h.
Referenced by PATJetProducer(), and produce().
|
private |
Definition at line 69 of file PATJetProducer.h.
Referenced by PATJetProducer(), and produce().
|
private |
Definition at line 91 of file PATJetProducer.h.
Referenced by produce().
|
private |
Definition at line 77 of file PATJetProducer.h.
Referenced by PATJetProducer(), and produce().
|
private |
Definition at line 66 of file PATJetProducer.h.
Referenced by PATJetProducer(), and produce().
|
private |
Definition at line 93 of file PATJetProducer.h.
Referenced by produce().
|
private |
Definition at line 75 of file PATJetProducer.h.
Referenced by PATJetProducer(), and produce().
|
private |
Definition at line 102 of file PATJetProducer.h.
|
private |
Definition at line 85 of file PATJetProducer.h.
Referenced by produce().
|
private |
Definition at line 97 of file PATJetProducer.h.
|
private |
Definition at line 84 of file PATJetProducer.h.
Referenced by produce().
|
private |
Definition at line 82 of file PATJetProducer.h.
|
private |
Definition at line 83 of file PATJetProducer.h.
Referenced by produce().
|
private |
Definition at line 100 of file PATJetProducer.h.
Referenced by produce().
|
private |
Definition at line 62 of file PATJetProducer.h.
Referenced by PATJetProducer(), and produce().
|
private |
Definition at line 73 of file PATJetProducer.h.
Referenced by PATJetProducer().
|
private |
Definition at line 70 of file PATJetProducer.h.
Referenced by PATJetProducer(), and produce().
|
private |
Definition at line 63 of file PATJetProducer.h.
Referenced by PATJetProducer(), and produce().
|
private |
Definition at line 74 of file PATJetProducer.h.
Referenced by PATJetProducer(), and produce().
|
private |
Definition at line 71 of file PATJetProducer.h.
Referenced by PATJetProducer(), and produce().
|
private |
Definition at line 64 of file PATJetProducer.h.
Referenced by PATJetProducer(), and produce().
|
private |
Definition at line 92 of file PATJetProducer.h.
Referenced by produce().
|
private |
Definition at line 78 of file PATJetProducer.h.
Referenced by PATJetProducer(), and produce().
|
private |
Definition at line 68 of file PATJetProducer.h.
Referenced by PATJetProducer(), and produce().
|
private |
Definition at line 94 of file PATJetProducer.h.
Referenced by produce().
|
private |
Definition at line 67 of file PATJetProducer.h.
Referenced by PATJetProducer(), and produce().
|
private |
Definition at line 61 of file PATJetProducer.h.
Referenced by PATJetProducer(), and produce().
|
private |
Definition at line 96 of file PATJetProducer.h.
Referenced by produce().
|
private |
Definition at line 103 of file PATJetProducer.h.
Referenced by produce().
|
private |
Definition at line 88 of file PATJetProducer.h.
Referenced by produce().
|
private |
Definition at line 86 of file PATJetProducer.h.
|
private |
Definition at line 87 of file PATJetProducer.h.
Referenced by produce().
|
private |
Definition at line 90 of file PATJetProducer.h.
Referenced by produce().
|
private |
Definition at line 65 of file PATJetProducer.h.
Referenced by PATJetProducer(), and produce().
|
private |
Definition at line 106 of file PATJetProducer.h.
Referenced by produce().
|
private |
Definition at line 105 of file PATJetProducer.h.
Referenced by produce().