#include <L1ExtraMEtMixerPlugin.h>
Public Member Functions | |
L1ExtraMEtMixerPlugin (const edm::ParameterSet &) | |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
virtual void | registerProducts (edm::EDProducer &) |
~L1ExtraMEtMixerPlugin () | |
Public Member Functions inherited from L1ExtraMixerPluginBase | |
L1ExtraMixerPluginBase (const edm::ParameterSet &) | |
~L1ExtraMixerPluginBase () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
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 (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &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 Types | |
typedef std::map< uint32_t, float > | detIdToFloatMap |
Private Attributes | |
double | sfAbsEta12to17_ |
double | sfAbsEtaGt17_ |
double | sfAbsEtaLt12_ |
edm::InputTag | srcDistanceMapMuMinus_ |
edm::InputTag | srcDistanceMapMuPlus_ |
edm::InputTag | srcMuons_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
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) |
Protected Attributes inherited from L1ExtraMixerPluginBase | |
std::string | instanceLabel_ |
edm::InputTag | src1_ |
edm::InputTag | src2_ |
Mix L1Extra MET objects, i.e. add MET reconstructed in original Zmumu event and negative vectorial momentum sum of embedded tau decay products
Definition at line 27 of file L1ExtraMEtMixerPlugin.h.
|
private |
Definition at line 37 of file L1ExtraMEtMixerPlugin.h.
|
explicit |
Definition at line 16 of file L1ExtraMEtMixerPlugin.cc.
|
inline |
Definition at line 31 of file L1ExtraMEtMixerPlugin.h.
|
virtual |
Implements L1ExtraMixerPluginBase.
Definition at line 31 of file L1ExtraMEtMixerPlugin.cc.
References assert(), funct::cos(), DENSITY_BRASS, DENSITY_PBWO4, DetId::Ecal, l1extra::L1EtMissParticle::etTotal(), Exception, edm::Event::getByLabel(), getDeDxForPbWO4(), DetId::Hcal, HcalOuter, reco::if(), L1ExtraMixerPluginBase::instanceLabel_, metsig::muon, patZpeak::muons, edm::Event::put(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), sfAbsEta12to17_, sfAbsEtaGt17_, sfAbsEtaLt12_, funct::sin(), L1ExtraMixerPluginBase::src1_, L1ExtraMixerPluginBase::src2_, srcDistanceMapMuMinus_, srcDistanceMapMuPlus_, srcMuons_, and l1extra::L1EtMissParticle::type().
|
virtual |
Implements L1ExtraMixerPluginBase.
Definition at line 26 of file L1ExtraMEtMixerPlugin.cc.
References L1ExtraMixerPluginBase::instanceLabel_.
|
private |
Definition at line 44 of file L1ExtraMEtMixerPlugin.h.
Referenced by produce().
|
private |
Definition at line 45 of file L1ExtraMEtMixerPlugin.h.
Referenced by produce().
|
private |
Definition at line 43 of file L1ExtraMEtMixerPlugin.h.
Referenced by produce().
|
private |
Definition at line 41 of file L1ExtraMEtMixerPlugin.h.
Referenced by produce().
|
private |
Definition at line 40 of file L1ExtraMEtMixerPlugin.h.
Referenced by produce().
|
private |
Definition at line 39 of file L1ExtraMEtMixerPlugin.h.
Referenced by produce().