#include <METProducer.h>
Public Member Functions | |
METProducer (const edm::ParameterSet &) | |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
virtual | ~METProducer () |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
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 | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
void | produce_CaloMET (edm::Event &event) |
void | produce_else (edm::Event &event) |
void | produce_GenMET (edm::Event &event) |
void | produce_PFClusterMET (edm::Event &event) |
void | produce_PFMET (edm::Event &event) |
void | produce_TCMET (edm::Event &event, const edm::EventSetup &setup) |
Private Attributes | |
std::string | alias |
bool | applyFiducialThresholdForFractions |
bool | calculateSignificance_ |
double | globalThreshold |
edm::InputTag | inputLabel |
std::string | inputType |
edm::InputTag | jetsLabel_ |
std::string | METtype |
bool | noHF |
bool | onlyFiducial |
metsig::SignAlgoResolutions * | resolutions_ |
TCMETAlgo | tcMetAlgo_ |
bool | usePt |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
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::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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 42 of file METProducer.h.
|
explicit |
Definition at line 55 of file METProducer.cc.
References alias, applyFiducialThresholdForFractions, calculateSignificance_, TCMETAlgo::configure(), edm::ParameterSet::getParameter(), jetsLabel_, METtype, noHF, onlyFiducial, resolutions_, tcMetAlgo_, and usePt.
|
inlinevirtual |
Definition at line 46 of file METProducer.h.
|
overridevirtual |
Implements edm::EDProducer.
Definition at line 119 of file METProducer.cc.
References METtype, produce_CaloMET(), produce_else(), produce_GenMET(), produce_PFClusterMET(), produce_PFMET(), and produce_TCMET().
|
private |
Definition at line 154 of file METProducer.cc.
References CaloSpecificAlgo::addInfo(), SignCaloSpecificAlgo::calculateBaseCaloMET(), calculateSignificance_, SignCaloSpecificAlgo::getSignificance(), SignCaloSpecificAlgo::getSignificanceMatrix(), globalThreshold, LaserDQM_cfg::input, inputLabel, noHF, resolutions_, METAlgo::run(), reco::CaloMET::SetMetSignificance(), and reco::MET::setSignificanceMatrix().
Referenced by produce().
|
private |
Definition at line 240 of file METProducer.cc.
References globalThreshold, LaserDQM_cfg::input, inputLabel, CaloMET_cfi::met, CommonMETData::met, CommonMETData::mex, CommonMETData::mey, p4, METAlgo::run(), and CommonMETData::sumet.
Referenced by produce().
|
private |
Definition at line 226 of file METProducer.cc.
References GenSpecificAlgo::addInfo(), applyFiducialThresholdForFractions, relval_steps::gen(), globalThreshold, LaserDQM_cfg::input, inputLabel, onlyFiducial, and usePt.
Referenced by produce().
|
private |
Definition at line 210 of file METProducer.cc.
References PFClusterSpecificAlgo::addInfo(), globalThreshold, LaserDQM_cfg::input, inputLabel, and METAlgo::run().
Referenced by produce().
|
private |
Definition at line 187 of file METProducer.cc.
References PFSpecificAlgo::addInfo(), calculateSignificance_, globalThreshold, LaserDQM_cfg::input, inputLabel, fwrapper::jets, jetsLabel_, resolutions_, METAlgo::run(), and PFSpecificAlgo::runSignificance().
Referenced by produce().
|
private |
Definition at line 179 of file METProducer.cc.
References TCMETAlgo::CalculateTCMET(), and tcMetAlgo_.
Referenced by produce().
|
private |
Definition at line 62 of file METProducer.h.
Referenced by METProducer().
|
private |
Definition at line 79 of file METProducer.h.
Referenced by METProducer(), and produce_GenMET().
|
private |
Definition at line 65 of file METProducer.h.
Referenced by METProducer(), produce_CaloMET(), and produce_PFMET().
|
private |
Definition at line 73 of file METProducer.h.
Referenced by produce_CaloMET(), produce_else(), produce_GenMET(), produce_PFClusterMET(), and produce_PFMET().
|
private |
Definition at line 59 of file METProducer.h.
Referenced by produce_CaloMET(), produce_else(), produce_GenMET(), produce_PFClusterMET(), and produce_PFMET().
|
private |
Definition at line 60 of file METProducer.h.
|
private |
Definition at line 67 of file METProducer.h.
Referenced by METProducer(), and produce_PFMET().
|
private |
Definition at line 61 of file METProducer.h.
Referenced by METProducer(), and produce().
|
private |
Definition at line 70 of file METProducer.h.
Referenced by METProducer(), and produce_CaloMET().
|
private |
Definition at line 76 of file METProducer.h.
Referenced by METProducer(), and produce_GenMET().
|
private |
Definition at line 66 of file METProducer.h.
Referenced by METProducer(), produce_CaloMET(), and produce_PFMET().
|
private |
Definition at line 84 of file METProducer.h.
Referenced by METProducer(), and produce_TCMET().
|
private |
Definition at line 82 of file METProducer.h.
Referenced by METProducer(), and produce_GenMET().