#include "PhysicsTools/PatAlgos/interface/PATJetProducer.h"
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | 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 |
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 42 of file PATJetProducer.cc.
References addAssociatedTracks_, addBTagInfo_, addDiscriminators_, addEfficiencies_, addGenJetMatch_, addGenPartonMatch_, addJetCharge_, addJetCorrFactors_, addJetFlavourInfo_, addJetID_, addPartonJetMatch_, addResolutions_, addTagInfos_, edm::EDConsumerBase::consumesCollector(), discriminatorLabels_, discriminatorTags_, discriminatorTokens_, efficiencyLoader_, embedCaloTowers_, embedGenJetMatch_, embedGenPartonMatch_, embedPFCandidates_, edm::ParameterSet::exists(), genJetToken_, genPartonToken_, getJetMCFlavour_, edm::ParameterSet::getParameter(), jetChargeToken_, jetCorrFactorsTokens_, jetFlavourInfoToken_, jetIDMapToken_, jetPartonMapToken_, jetsToken_, diffTwoXMLs::label, resolutionLoader_, AlCaHLTBitMon_QueryRunRegistry::string, GlobalPosition_Frontier_DevDB_cff::tag, tagInfoLabels_, tagInfoTags_, tagInfoTokens_, trackAssociationToken_, useLegacyJetMCFlavour_, userDataHelper_, useUserData_, and edm::vector_transform().
|
override |
Definition at line 141 of file PATJetProducer.cc.
|
static |
Definition at line 431 of file PATJetProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addOptional(), DEFINE_FWK_MODULE, pat::helper::KinResolutionsLoader::fillDescription(), pat::PATUserDataHelper< ObjectType >::fillDescription(), edm::ParameterSetDescription::setAllowAnything(), and edm::ParameterSetDescription::setComment().
|
override |
Definition at line 146 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(), reco::BaseTagInfo::clone(), discriminatorLabels_, discriminatorTokens_, efficiencyLoader_, embedCaloTowers_, embedGenPartonMatch_, embedPFCandidates_, pat::helper::EfficiencyLoader::enabled(), pat::helper::KinResolutionsLoader::enabled(), edm::View< T >::end(), spr::find(), jetProducer_cfi::genJetMatch, genJetToken_, genPartonToken_, edm::RefToBase< T >::get(), edm::Event::getByToken(), reco::CaloJet::getCaloConstituents(), reco::JPTJet::getCaloJetRef(), getJetMCFlavour_, reco::PFJet::getPFConstituents(), edm::Event::getRefBeforePut(), mps_fire::i, training_settings::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_, jets_cff::jetId, jetIDMapToken_, jetPartonMapToken_, fwrapper::jets, jetsToken_, gen::k, jets_cff::levels, match(), eostools::move(), pat::helper::EfficiencyLoader::newEvent(), pat::helper::KinResolutionsLoader::newEvent(), hemisphereProducer_cfi::patJets, printWarning_, 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(), tagInfoLabels_, tagInfoTokens_, trackAssociationToken_, useLegacyJetMCFlavour_, userDataHelper_, and useUserData_.
|
private |
Definition at line 89 of file PATJetProducer.h.
Referenced by PATJetProducer(), and produce().
|
private |
Definition at line 80 of file PATJetProducer.h.
Referenced by PATJetProducer(), and produce().
|
private |
Definition at line 81 of file PATJetProducer.h.
Referenced by PATJetProducer(), and produce().
|
private |
Definition at line 99 of file PATJetProducer.h.
Referenced by PATJetProducer().
|
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 PATJetProducer(), and 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 PATJetProducer(), and produce().
|
private |
Definition at line 75 of file PATJetProducer.h.
Referenced by PATJetProducer(), and produce().
|
private |
Definition at line 102 of file PATJetProducer.h.
Referenced by PATJetProducer().
|
private |
Definition at line 85 of file PATJetProducer.h.
Referenced by PATJetProducer(), and produce().
|
private |
Definition at line 97 of file PATJetProducer.h.
|
private |
Definition at line 84 of file PATJetProducer.h.
Referenced by PATJetProducer(), and produce().
|
private |
Definition at line 82 of file PATJetProducer.h.
Referenced by PATJetProducer().
|
private |
Definition at line 83 of file PATJetProducer.h.
Referenced by PATJetProducer(), and produce().
|
private |
Definition at line 100 of file PATJetProducer.h.
Referenced by PATJetProducer(), and 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 PATJetProducer(), and 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 PATJetProducer(), and 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 108 of file PATJetProducer.h.
Referenced by produce().
|
private |
Definition at line 96 of file PATJetProducer.h.
Referenced by produce().
|
private |
Definition at line 103 of file PATJetProducer.h.
Referenced by PATJetProducer(), and produce().
|
private |
Definition at line 88 of file PATJetProducer.h.
Referenced by PATJetProducer(), and produce().
|
private |
Definition at line 86 of file PATJetProducer.h.
Referenced by PATJetProducer().
|
private |
Definition at line 87 of file PATJetProducer.h.
Referenced by PATJetProducer(), and produce().
|
private |
Definition at line 90 of file PATJetProducer.h.
Referenced by PATJetProducer(), and 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 PATJetProducer(), and produce().
|
private |
Definition at line 105 of file PATJetProducer.h.
Referenced by PATJetProducer(), and produce().