#include <EventShapeVarsProducer.h>
Private Member Functions | |
void | beginJob () |
void | endJob () |
void | produce (edm::Event &, const edm::EventSetup &) |
Private Attributes | |
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) |
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) |
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 http://cepa.fnal.gov/psm/simulation/mcgen/lund/pythia_manual/pythia6.3/pythia6301/node213.html ( http://cepa.fnal.gov/psm/simulation/mcgen/lund/pythia_manual/pythia6.3/pythia6301/node214.html ) for an explanation of sphericity, aplanarity and the quantities C and D (thrust and oblateness).
Definition at line 39 of file EventShapeVarsProducer.h.
|
explicit |
Definition at line 7 of file EventShapeVarsProducer.cc.
References edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), r_, and srcToken_.
|
inline |
Definition at line 44 of file EventShapeVarsProducer.h.
|
inlineprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 51 of file EventShapeVarsProducer.h.
References produce().
|
inlineprivatevirtual |
|
private |
Definition at line 28 of file EventShapeVarsProducer.cc.
References DEFINE_FWK_MODULE, edm::Event::getByToken(), put(), r_, and srcToken_.
Referenced by beginJob().
|
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().