#include <EventShapeVarsProducer.h>
Private Member Functions | |
void | beginJob () override |
void | endJob () override |
void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
unsigned | fwmax_ |
double | r_ |
edm::EDGetTokenT< edm::View< reco::Candidate > > | srcToken_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | 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 |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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) |
Produce set of event shape variables. The values of different event shape variables are stored as doubles in the event. They can be retrieved with InputTags like "moduleName::instanceName", where moduleName corresponds to "eventShapeVarsProducer" per default and instance name specifies an individual event shape variable which you wish to retrieve from the event:
See https://arxiv.org/pdf/hep-ph/0603175v2.pdf#page=524 for an explanation of sphericity, aplanarity, the quantities C and D, thrust, oblateness, Fox-Wolfram moments.
Definition at line 39 of file EventShapeVarsProducer.h.
|
explicit |
Definition at line 10 of file EventShapeVarsProducer.cc.
References edm::ParameterSet::exists(), fwmax_, edm::ParameterSet::getParameter(), r_, and srcToken_.
|
inlineoverride |
Definition at line 44 of file EventShapeVarsProducer.h.
|
inlineoverrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 52 of file EventShapeVarsProducer.h.
References produce().
|
inlineoverrideprivatevirtual |
|
overrideprivate |
Definition at line 32 of file EventShapeVarsProducer.cc.
References DEFINE_FWK_MODULE, fwmax_, edm::Event::getByToken(), eostools::move(), put(), edm::Event::put(), r_, and srcToken_.
Referenced by beginJob().
|
private |
Definition at line 50 of file EventShapeVarsProducer.h.
Referenced by EventShapeVarsProducer(), and produce().
|
private |
Definition at line 49 of file EventShapeVarsProducer.h.
Referenced by EventShapeVarsProducer(), and produce().
|
private |
Definition at line 48 of file EventShapeVarsProducer.h.
Referenced by EventShapeVarsProducer(), and produce().