#include <PATMHTProducer.h>
Classes | |
class | uncertaintyFunctions |
Public Member Functions | |
PATMHTProducer (const edm::ParameterSet &) | |
~PATMHTProducer () | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::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 Member Functions | |
double | getElectrons (edm::Event &, const edm::EventSetup &) |
double | getJets (edm::Event &, const edm::EventSetup &) |
double | getMuons (edm::Event &, const edm::EventSetup &) |
void | getTowers (edm::Event &, const edm::EventSetup &) |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
void | setUncertaintyParameters () |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T...> | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T...> | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT < LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | 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::stream::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 64 of file PATMHTProducer.h.
|
explicit |
Definition at line 6 of file PATMHTProducer.cc.
References CaloTowerTag_, controlledUncertainty_, eleEtaMax_, eleEtUncertaintyParameter0_, elePhiUncertaintyParameter0_, elePtMin_, eleToken_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), jetEMfracMax_, jetEtaMax_, jetEtUncertaintyParameter0_, jetEtUncertaintyParameter1_, jetEtUncertaintyParameter2_, jetPhiUncertaintyParameter0_, jetPhiUncertaintyParameter1_, jetPhiUncertaintyParameter2_, jetPtMin_, jetToken_, muonEtaMax_, muonEtUncertaintyParameter0_, muonPhiUncertaintyParameter0_, muonPtMin_, muoToken_, noHF_, phoToken_, setUncertaintyParameters(), tauToken_, towerEtThreshold_, uncertaintyScaleFactor_, useHO_, and verbose_.
PATMHTProducer::~PATMHTProducer | ( | ) |
Definition at line 55 of file PATMHTProducer.cc.
|
private |
Definition at line 219 of file PATMHTProducer.cc.
References Abs(), edm::View< T >::begin(), gather_cfg::cout, HI_PhotonSkim_cff::electrons, edm::View< T >::end(), edm::Event::getByToken(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 127 of file PATMHTProducer.cc.
References Abs(), edm::View< T >::begin(), gather_cfg::cout, edm::View< T >::end(), edm::Event::getByToken(), cuy::ii, fwrapper::jets, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 312 of file PATMHTProducer.cc.
References Abs(), edm::View< T >::begin(), gather_cfg::cout, edm::View< T >::end(), edm::Event::getByToken(), edm::HandleBase::isValid(), patZpeak::muons, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
|
overrideprivatevirtual |
Implements edm::stream::EDProducerBase.
Definition at line 59 of file PATMHTProducer.cc.
References metsig::significanceAlgo::addObjects(), funct::cos(), gather_cfg::cout, HWWFunctions::getJets(), edm::Event::put(), pat::MHT::setNumberOfElectrons(), pat::MHT::setNumberOfJets(), pat::MHT::setNumberOfMuons(), metsig::significanceAlgo::significance(), and funct::sin().
|
private |
Definition at line 375 of file PATMHTProducer.cc.
Referenced by PATMHTProducer().
|
private |
Definition at line 159 of file PATMHTProducer.h.
|
private |
Definition at line 164 of file PATMHTProducer.h.
Referenced by PATMHTProducer().
|
private |
Definition at line 93 of file PATMHTProducer.h.
Referenced by PATMHTProducer().
|
private |
Definition at line 160 of file PATMHTProducer.h.
|
private |
Definition at line 105 of file PATMHTProducer.h.
|
private |
Definition at line 106 of file PATMHTProducer.h.
|
private |
Definition at line 163 of file PATMHTProducer.h.
|
private |
Definition at line 133 of file PATMHTProducer.h.
Referenced by PATMHTProducer().
|
private |
Definition at line 153 of file PATMHTProducer.h.
Referenced by PATMHTProducer().
|
private |
Definition at line 154 of file PATMHTProducer.h.
Referenced by PATMHTProducer().
|
private |
Definition at line 132 of file PATMHTProducer.h.
Referenced by PATMHTProducer().
|
private |
Definition at line 85 of file PATMHTProducer.h.
Referenced by PATMHTProducer().
|
private |
Definition at line 114 of file PATMHTProducer.h.
|
private |
Definition at line 107 of file PATMHTProducer.h.
|
private |
Definition at line 108 of file PATMHTProducer.h.
|
private |
Definition at line 110 of file PATMHTProducer.h.
|
private |
Definition at line 109 of file PATMHTProducer.h.
|
private |
Definition at line 161 of file PATMHTProducer.h.
|
private |
Definition at line 113 of file PATMHTProducer.h.
|
private |
Definition at line 130 of file PATMHTProducer.h.
Referenced by PATMHTProducer().
|
private |
Definition at line 129 of file PATMHTProducer.h.
Referenced by PATMHTProducer().
|
private |
Definition at line 145 of file PATMHTProducer.h.
Referenced by PATMHTProducer().
|
private |
Definition at line 146 of file PATMHTProducer.h.
Referenced by PATMHTProducer().
|
private |
Definition at line 147 of file PATMHTProducer.h.
Referenced by PATMHTProducer().
|
private |
Definition at line 149 of file PATMHTProducer.h.
Referenced by PATMHTProducer().
|
private |
Definition at line 150 of file PATMHTProducer.h.
Referenced by PATMHTProducer().
|
private |
Definition at line 151 of file PATMHTProducer.h.
Referenced by PATMHTProducer().
|
private |
Definition at line 128 of file PATMHTProducer.h.
Referenced by PATMHTProducer().
|
private |
Definition at line 84 of file PATMHTProducer.h.
Referenced by PATMHTProducer().
|
private |
Definition at line 112 of file PATMHTProducer.h.
|
private |
Definition at line 165 of file PATMHTProducer.h.
|
private |
Definition at line 83 of file PATMHTProducer.h.
|
private |
Definition at line 141 of file PATMHTProducer.h.
|
private |
Definition at line 116 of file PATMHTProducer.h.
|
private |
Definition at line 140 of file PATMHTProducer.h.
|
private |
Definition at line 136 of file PATMHTProducer.h.
Referenced by PATMHTProducer().
|
private |
Definition at line 156 of file PATMHTProducer.h.
Referenced by PATMHTProducer().
|
private |
Definition at line 139 of file PATMHTProducer.h.
|
private |
Definition at line 157 of file PATMHTProducer.h.
Referenced by PATMHTProducer().
|
private |
Definition at line 135 of file PATMHTProducer.h.
Referenced by PATMHTProducer().
|
private |
Definition at line 162 of file PATMHTProducer.h.
|
private |
Definition at line 137 of file PATMHTProducer.h.
|
private |
Definition at line 138 of file PATMHTProducer.h.
|
private |
Definition at line 115 of file PATMHTProducer.h.
|
private |
Definition at line 86 of file PATMHTProducer.h.
Referenced by PATMHTProducer().
|
private |
Definition at line 126 of file PATMHTProducer.h.
Referenced by PATMHTProducer().
|
private |
Definition at line 88 of file PATMHTProducer.h.
Referenced by PATMHTProducer().
|
private |
Definition at line 90 of file PATMHTProducer.h.
|
private |
Definition at line 124 of file PATMHTProducer.h.
|
private |
Definition at line 166 of file PATMHTProducer.h.
|
private |
Definition at line 87 of file PATMHTProducer.h.
Referenced by PATMHTProducer().
|
private |
Definition at line 172 of file PATMHTProducer.h.
Referenced by PATMHTProducer().
|
private |
Definition at line 92 of file PATMHTProducer.h.
Referenced by PATMHTProducer().
|
private |
Definition at line 120 of file PATMHTProducer.h.
|
private |
Definition at line 122 of file PATMHTProducer.h.
|
private |
Definition at line 173 of file PATMHTProducer.h.
Referenced by PATMHTProducer().
|
private |
Definition at line 121 of file PATMHTProducer.h.
|
private |
Definition at line 123 of file PATMHTProducer.h.
|
private |
Definition at line 80 of file PATMHTProducer.h.
Referenced by PATMHTProducer().