#include <NjettinessAdder.h>
Public Member Functions | |
float | getTau (unsigned num, const edm::Ptr< reco::Jet > &object) const |
NjettinessAdder (const edm::ParameterSet &iConfig) | |
void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) |
virtual | ~NjettinessAdder () |
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 |
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 & | itemsToGetFromEvent () 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) |
Private Attributes | |
double | akAxesR0_ |
unsigned | axesDefinition_ |
double | beta_ |
unsigned | measureDefinition_ |
std::vector< unsigned > | Njets_ |
int | nPass_ |
double | R0_ |
double | Rcutoff_ |
std::auto_ptr< fastjet::contrib::Njettiness > | routine_ |
edm::InputTag | src_ |
edm::EDGetTokenT< edm::View< reco::Jet > > | src_token_ |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
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 15 of file NjettinessAdder.h.
Definition at line 27 of file NjettinessAdder.h.
Enumerator | |
---|---|
NormalizedMeasure | |
UnnormalizedMeasure | |
OriginalGeometricMeasure | |
NormalizedCutoffMeasure | |
UnnormalizedCutoffMeasure | |
GeometricCutoffMeasure | |
N_MEASURE_DEFINITIONS |
Definition at line 18 of file NjettinessAdder.h.
|
explicit |
Definition at line 6 of file NjettinessAdder.cc.
References akAxesR0_, AntiKT_Axes, axesDefinition_, beta_, CA_Axes, KT_Axes, measureDefinition_, MultiPass_Axes, gen::n, Njets_, nJettinessAdder_cfi::Njettiness, NormalizedCutoffMeasure, NormalizedMeasure, nPass_, OnePass_AntiKT_Axes, OnePass_CA_Axes, OnePass_KT_Axes, OnePass_WTA_CA_Axes, OnePass_WTA_KT_Axes, OriginalGeometricMeasure, R0_, Rcutoff_, routine_, UnnormalizedCutoffMeasure, UnnormalizedMeasure, WTA_CA_Axes, and WTA_KT_Axes.
|
inlinevirtual |
Definition at line 48 of file NjettinessAdder.h.
References getTau(), iEvent, pileupDistInMC::num, and produce().
Definition at line 109 of file NjettinessAdder.cc.
References DEFINE_FWK_MODULE, reco::dp, edm::Ptr< T >::isAvailable(), edm::Ptr< T >::isNonnull(), gen::k, and routine_.
Referenced by produce(), and ~NjettinessAdder().
void NjettinessAdder::produce | ( | edm::Event & | iEvent, |
const edm::EventSetup & | iSetup | ||
) |
Definition at line 77 of file NjettinessAdder.cc.
References edm::Event::getByToken(), getTau(), fwrapper::jets, eostools::move(), gen::n, Njets_, edm::Event::put(), src_token_, and lumiQTWidget::t.
Referenced by ~NjettinessAdder().
|
private |
Definition at line 67 of file NjettinessAdder.h.
Referenced by NjettinessAdder().
|
private |
Definition at line 65 of file NjettinessAdder.h.
Referenced by NjettinessAdder().
|
private |
Definition at line 60 of file NjettinessAdder.h.
Referenced by NjettinessAdder().
|
private |
Definition at line 59 of file NjettinessAdder.h.
Referenced by NjettinessAdder().
|
private |
Definition at line 56 of file NjettinessAdder.h.
Referenced by NjettinessAdder(), and produce().
|
private |
Definition at line 66 of file NjettinessAdder.h.
Referenced by NjettinessAdder().
|
private |
Definition at line 61 of file NjettinessAdder.h.
Referenced by NjettinessAdder().
|
private |
Definition at line 62 of file NjettinessAdder.h.
Referenced by NjettinessAdder().
|
private |
Definition at line 71 of file NjettinessAdder.h.
Referenced by getTau(), and NjettinessAdder().
|
private |
Definition at line 54 of file NjettinessAdder.h.
|
private |
Definition at line 55 of file NjettinessAdder.h.
Referenced by produce().