#include <HiJetBackground/HiFJRhoProducer/plugins/HiFJRhoProducer.cc>
Public Member Functions | |
HiFJRhoProducer (const edm::ParameterSet &) | |
~HiFJRhoProducer () | |
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) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
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 Member Functions | |
virtual void | beginStream (edm::StreamID) override |
double | calcMd (const reco::Jet *jet) |
double | calcMedian (std::vector< double > &v) |
virtual void | endStream () override |
bool | isPackedCandidate (const reco::Candidate *candidate) |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
bool | checkJetCand |
double | etaMaxExcl2_ |
double | etaMaxExcl_ |
std::vector< double > | etaRanges |
edm::EDGetTokenT< edm::View< reco::Jet > > | jetsToken_ |
unsigned int | nExcl2_ |
unsigned int | nExcl_ |
double | ptMinExcl2_ |
double | ptMinExcl_ |
edm::InputTag | src_ |
bool | usingPackedCand |
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) |
Description: [one line class summary]
Implementation: [Notes on implementation]
Definition at line 26 of file HiFJRhoProducer.h.
|
explicit |
Definition at line 51 of file HiFJRhoProducer.cc.
References etaRanges, edm::ParameterSet::getParameter(), jetsToken_, and src_.
HiFJRhoProducer::~HiFJRhoProducer | ( | ) |
Definition at line 76 of file HiFJRhoProducer.cc.
|
overrideprivatevirtual |
Reimplemented from edm::stream::EDProducerBase.
Definition at line 186 of file HiFJRhoProducer.cc.
|
private |
Definition at line 195 of file HiFJRhoProducer.cc.
References reco::Jet::getJetConstituentsQuick(), isPackedCandidate(), and mathSSE::sqrt().
Referenced by produce().
|
private |
Definition at line 240 of file HiFJRhoProducer.cc.
References DEFINE_FWK_MODULE, and gen::n.
Referenced by produce().
|
overrideprivatevirtual |
Reimplemented from edm::stream::EDProducerBase.
Definition at line 192 of file HiFJRhoProducer.cc.
|
static |
Definition at line 225 of file HiFJRhoProducer.cc.
References edm::ConfigurationDescriptions::add(), and edm::ParameterSetDescription::add().
|
private |
Definition at line 215 of file HiFJRhoProducer.cc.
References checkJetCand, Exception, and usingPackedCand.
Referenced by calcMd().
|
overrideprivatevirtual |
Definition at line 85 of file HiFJRhoProducer.cc.
References calcMd(), calcMedian(), MillePedeFileConverter_cfg::e, PVValHelper::eta, ALCARECOTkAlBeamHalo_cff::etaMax, etaMaxExcl2_, etaMaxExcl_, ALCARECOTkAlBeamHalo_cff::etaMin, etaRanges, edm::Event::getByToken(), mps_fire::i, createfilelist::int, metsig::jet, fwrapper::jets, jetsToken_, eostools::move(), nExcl2_, nExcl_, EnergyCorrector::pt, ptMinExcl2_, ptMinExcl_, edm::Event::put(), and TCMET_cfi::radius.
|
private |
Definition at line 55 of file HiFJRhoProducer.h.
Referenced by isPackedCandidate().
|
private |
Definition at line 52 of file HiFJRhoProducer.h.
Referenced by produce().
|
private |
Definition at line 49 of file HiFJRhoProducer.h.
Referenced by produce().
|
private |
Definition at line 54 of file HiFJRhoProducer.h.
Referenced by HiFJRhoProducer(), and produce().
|
private |
Definition at line 44 of file HiFJRhoProducer.h.
Referenced by HiFJRhoProducer(), and produce().
|
private |
Definition at line 51 of file HiFJRhoProducer.h.
Referenced by produce().
|
private |
Definition at line 48 of file HiFJRhoProducer.h.
Referenced by produce().
|
private |
Definition at line 53 of file HiFJRhoProducer.h.
Referenced by produce().
|
private |
Definition at line 50 of file HiFJRhoProducer.h.
Referenced by produce().
|
private |
Definition at line 47 of file HiFJRhoProducer.h.
Referenced by HiFJRhoProducer().
|
private |
Definition at line 55 of file HiFJRhoProducer.h.
Referenced by isPackedCandidate().