#include <NjettinessAdder.h>
Public Types | |
enum | AxesDefinition_t { KT_Axes =0, CA_Axes, AntiKT_Axes, WTA_KT_Axes, WTA_CA_Axes, Manual_Axes, OnePass_KT_Axes, OnePass_CA_Axes, OnePass_AntiKT_Axes, OnePass_WTA_KT_Axes, OnePass_WTA_CA_Axes, OnePass_Manual_Axes, MultiPass_Axes, N_AXES_DEFINITIONS } |
enum | MeasureDefinition_t { NormalizedMeasure =0, UnnormalizedMeasure, GeometricMeasure, NormalizedCutoffMeasure, UnnormalizedCutoffMeasure, GeometricCutoffMeasure, N_MEASURE_DEFINITIONS } |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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::one::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::one::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< 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 () |
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::one::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 | |
GeometricMeasure | |
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, GeometricCutoffMeasure, GeometricMeasure, 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, R0_, Rcutoff_, routine_, UnnormalizedCutoffMeasure, UnnormalizedMeasure, WTA_CA_Axes, and WTA_KT_Axes.
|
inlinevirtual |
Definition at line 48 of file NjettinessAdder.h.
Definition at line 109 of file NjettinessAdder.cc.
References edm::Ptr< T >::isAvailable(), edm::Ptr< T >::isNonnull(), relval_steps::k, and routine_.
Referenced by produce().
|
virtual |
Implements edm::one::EDProducerBase.
Definition at line 77 of file NjettinessAdder.cc.
References edm::helper::Filler< Map >::fill(), edm::Event::getByToken(), getTau(), edm::helper::Filler< Map >::insert(), fwrapper::jets, gen::n, Njets_, edm::Event::put(), src_token_, and tree::t.
|
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().