CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Member Functions | Private Attributes
pat::PATJetProducer Class Reference

Produces pat::Jet's. More...

#include "PhysicsTools/PatAlgos/interface/PATJetProducer.h"

Inheritance diagram for pat::PATJetProducer:
edm::stream::EDProducer<> edm::stream::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

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::stream::EDProducer<>
 EDProducer ()=default
 
- Public Member Functions inherited from edm::stream::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDProducerBase ()
 
- 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< ConsumesInfoconsumesInfo () 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 (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &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::stream::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Private Attributes

bool addAssociatedTracks_
 
bool addBTagInfo_
 
bool addDiscriminators_
 
bool addEfficiencies_
 
bool addGenJetMatch_
 
bool addGenPartonMatch_
 
bool addJetCharge_
 
bool addJetCorrFactors_
 
bool addJetFlavourInfo_
 
bool addJetID_
 
bool addPartonJetMatch_
 
bool addResolutions_
 
bool addTagInfos_
 
GreaterByPt< CaloTowercaloPTComparator_
 
std::vector< std::string > discriminatorLabels_
 
std::vector< edm::InputTagdiscriminatorTags_
 
std::vector< edm::EDGetTokenT
< reco::JetFloatAssociation::Container > > 
discriminatorTokens_
 
pat::helper::EfficiencyLoader efficiencyLoader_
 
bool embedCaloTowers_
 
bool embedGenJetMatch_
 
bool embedGenPartonMatch_
 
bool embedPFCandidates_
 
edm::EDGetTokenT
< edm::Association
< reco::GenJetCollection > > 
genJetToken_
 
edm::EDGetTokenT
< edm::Association
< reco::GenParticleCollection > > 
genPartonToken_
 
bool getJetMCFlavour_
 
edm::EDGetTokenT
< reco::JetFloatAssociation::Container
jetChargeToken_
 
std::vector< edm::EDGetTokenT
< edm::ValueMap
< JetCorrFactors > > > 
jetCorrFactorsTokens_
 
edm::EDGetTokenT
< reco::JetFlavourInfoMatchingCollection
jetFlavourInfoToken_
 
edm::EDGetTokenT
< reco::JetIDValueMap
jetIDMapToken_
 
edm::EDGetTokenT
< reco::JetFlavourMatchingCollection
jetPartonMapToken_
 
edm::EDGetTokenT< edm::View
< reco::Jet > > 
jetsToken_
 
bool printWarning_
 
GreaterByPt< JetpTComparator_
 
pat::helper::KinResolutionsLoader resolutionLoader_
 
std::vector< std::string > tagInfoLabels_
 
std::vector< edm::InputTagtagInfoTags_
 
std::vector< edm::EDGetTokenT
< edm::View< reco::BaseTagInfo > > > 
tagInfoTokens_
 
edm::EDGetTokenT
< reco::JetTracksAssociation::Container
trackAssociationToken_
 
bool useLegacyJetMCFlavour_
 
pat::PATUserDataHelper< pat::JetuserDataHelper_
 
bool useUserData_
 

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
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)
 

Detailed Description

Produces pat::Jet's.

The PATJetProducer produces analysis-level pat::Jet's starting from a collection of objects of JetType.

Author
Steven Lowette, Jeremy Andrea
Version
Id:
PATJetProducer.h,v 1.26 2010/08/09 18:13:54 srappocc Exp

Definition at line 47 of file PATJetProducer.h.

Constructor & Destructor Documentation

PATJetProducer::PATJetProducer ( const edm::ParameterSet iConfig)
explicit

Definition at line 42 of file PATJetProducer.cc.

PATJetProducer::~PATJetProducer ( )

Definition at line 134 of file PATJetProducer.cc.

Member Function Documentation

void PATJetProducer::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 424 of file PATJetProducer.cc.

void PATJetProducer::produce ( edm::Event iEvent,
const edm::EventSetup iSetup 
)
overridevirtual

Implements edm::stream::EDProducerBase.

Definition at line 139 of file PATJetProducer.cc.

Member Data Documentation

bool pat::PATJetProducer::addAssociatedTracks_
private

Definition at line 89 of file PATJetProducer.h.

bool pat::PATJetProducer::addBTagInfo_
private

Definition at line 80 of file PATJetProducer.h.

bool pat::PATJetProducer::addDiscriminators_
private

Definition at line 81 of file PATJetProducer.h.

bool pat::PATJetProducer::addEfficiencies_
private

Definition at line 99 of file PATJetProducer.h.

bool pat::PATJetProducer::addGenJetMatch_
private

Definition at line 72 of file PATJetProducer.h.

bool pat::PATJetProducer::addGenPartonMatch_
private

Definition at line 69 of file PATJetProducer.h.

bool pat::PATJetProducer::addJetCharge_
private

Definition at line 91 of file PATJetProducer.h.

bool pat::PATJetProducer::addJetCorrFactors_
private

Definition at line 77 of file PATJetProducer.h.

bool pat::PATJetProducer::addJetFlavourInfo_
private

Definition at line 66 of file PATJetProducer.h.

bool pat::PATJetProducer::addJetID_
private

Definition at line 93 of file PATJetProducer.h.

bool pat::PATJetProducer::addPartonJetMatch_
private

Definition at line 75 of file PATJetProducer.h.

bool pat::PATJetProducer::addResolutions_
private

Definition at line 102 of file PATJetProducer.h.

bool pat::PATJetProducer::addTagInfos_
private

Definition at line 85 of file PATJetProducer.h.

GreaterByPt<CaloTower> pat::PATJetProducer::caloPTComparator_
private

Definition at line 97 of file PATJetProducer.h.

std::vector<std::string> pat::PATJetProducer::discriminatorLabels_
private

Definition at line 84 of file PATJetProducer.h.

std::vector<edm::InputTag> pat::PATJetProducer::discriminatorTags_
private

Definition at line 82 of file PATJetProducer.h.

std::vector<edm::EDGetTokenT<reco::JetFloatAssociation::Container> > pat::PATJetProducer::discriminatorTokens_
private

Definition at line 83 of file PATJetProducer.h.

pat::helper::EfficiencyLoader pat::PATJetProducer::efficiencyLoader_
private

Definition at line 100 of file PATJetProducer.h.

bool pat::PATJetProducer::embedCaloTowers_
private

Definition at line 62 of file PATJetProducer.h.

bool pat::PATJetProducer::embedGenJetMatch_
private

Definition at line 73 of file PATJetProducer.h.

bool pat::PATJetProducer::embedGenPartonMatch_
private

Definition at line 70 of file PATJetProducer.h.

bool pat::PATJetProducer::embedPFCandidates_
private

Definition at line 63 of file PATJetProducer.h.

edm::EDGetTokenT<edm::Association<reco::GenJetCollection> > pat::PATJetProducer::genJetToken_
private

Definition at line 74 of file PATJetProducer.h.

edm::EDGetTokenT<edm::Association<reco::GenParticleCollection> > pat::PATJetProducer::genPartonToken_
private

Definition at line 71 of file PATJetProducer.h.

bool pat::PATJetProducer::getJetMCFlavour_
private

Definition at line 64 of file PATJetProducer.h.

edm::EDGetTokenT<reco::JetFloatAssociation::Container> pat::PATJetProducer::jetChargeToken_
private

Definition at line 92 of file PATJetProducer.h.

std::vector<edm::EDGetTokenT<edm::ValueMap<JetCorrFactors> > > pat::PATJetProducer::jetCorrFactorsTokens_
private

Definition at line 78 of file PATJetProducer.h.

edm::EDGetTokenT<reco::JetFlavourInfoMatchingCollection> pat::PATJetProducer::jetFlavourInfoToken_
private

Definition at line 68 of file PATJetProducer.h.

edm::EDGetTokenT<reco::JetIDValueMap> pat::PATJetProducer::jetIDMapToken_
private

Definition at line 94 of file PATJetProducer.h.

edm::EDGetTokenT<reco::JetFlavourMatchingCollection> pat::PATJetProducer::jetPartonMapToken_
private

Definition at line 67 of file PATJetProducer.h.

edm::EDGetTokenT<edm::View<reco::Jet> > pat::PATJetProducer::jetsToken_
private

Definition at line 61 of file PATJetProducer.h.

bool pat::PATJetProducer::printWarning_
private

Definition at line 108 of file PATJetProducer.h.

GreaterByPt<Jet> pat::PATJetProducer::pTComparator_
private

Definition at line 96 of file PATJetProducer.h.

pat::helper::KinResolutionsLoader pat::PATJetProducer::resolutionLoader_
private

Definition at line 103 of file PATJetProducer.h.

std::vector<std::string> pat::PATJetProducer::tagInfoLabels_
private

Definition at line 88 of file PATJetProducer.h.

std::vector<edm::InputTag> pat::PATJetProducer::tagInfoTags_
private

Definition at line 86 of file PATJetProducer.h.

std::vector<edm::EDGetTokenT<edm::View<reco::BaseTagInfo> > > pat::PATJetProducer::tagInfoTokens_
private

Definition at line 87 of file PATJetProducer.h.

edm::EDGetTokenT<reco::JetTracksAssociation::Container> pat::PATJetProducer::trackAssociationToken_
private

Definition at line 90 of file PATJetProducer.h.

bool pat::PATJetProducer::useLegacyJetMCFlavour_
private

Definition at line 65 of file PATJetProducer.h.

pat::PATUserDataHelper<pat::Jet> pat::PATJetProducer::userDataHelper_
private

Definition at line 106 of file PATJetProducer.h.

bool pat::PATJetProducer::useUserData_
private

Definition at line 105 of file PATJetProducer.h.