This produces a reco::MET object that stores HT and MHT. More...
#include <HLTCaloTowerHtMhtProducer.h>
Public Member Functions | |
HLTCaloTowerHtMhtProducer (const edm::ParameterSet &iConfig) | |
void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override |
~HLTCaloTowerHtMhtProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Attributes | |
edm::EDGetTokenT< CaloTowerCollection > | m_theTowersToken |
double | maxEtaTowerHt_ |
Maximum (abs) eta requirement for jets. More... | |
double | maxEtaTowerMht_ |
double | minPtTowerHt_ |
Minimum pt requirement for jets. More... | |
double | minPtTowerMht_ |
edm::InputTag | towersLabel_ |
Input CaloTower collection. More... | |
bool | usePt_ |
Use pt; otherwise, use et. More... | |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
This produces a reco::MET object that stores HT and MHT.
HT & MHT are calculated using input CaloTower collection. HT is stored as sumet_
, MHT is stored as p4_
in the output.
See header file for documentation
Definition at line 31 of file HLTCaloTowerHtMhtProducer.h.
|
explicit |
Definition at line 18 of file HLTCaloTowerHtMhtProducer.cc.
References m_theTowersToken, and towersLabel_.
|
overridedefault |
|
static |
Definition at line 35 of file HLTCaloTowerHtMhtProducer.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, and ProducerED_cfi::InputTag.
|
override |
Definition at line 48 of file HLTCaloTowerHtMhtProducer.cc.
References funct::abs(), funct::cos(), PVValHelper::eta, htmht(), iEvent, dqmiolumiharvest::j, m_theTowersToken, maxEtaTowerHt_, maxEtaTowerMht_, minPtTowerHt_, minPtTowerMht_, eostools::move(), phi, DiDispStaMuonMonitor_cfi::pt, multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, mps_fire::result, funct::sin(), mathSSE::sqrt(), HLT_2023v12_cff::towers, usePt_, and extraflags_cff::vtx.
|
private |
Definition at line 52 of file HLTCaloTowerHtMhtProducer.h.
Referenced by HLTCaloTowerHtMhtProducer(), and produce().
|
private |
Maximum (abs) eta requirement for jets.
Definition at line 47 of file HLTCaloTowerHtMhtProducer.h.
Referenced by produce().
|
private |
Definition at line 48 of file HLTCaloTowerHtMhtProducer.h.
Referenced by produce().
|
private |
Minimum pt requirement for jets.
Definition at line 43 of file HLTCaloTowerHtMhtProducer.h.
Referenced by produce().
|
private |
Definition at line 44 of file HLTCaloTowerHtMhtProducer.h.
Referenced by produce().
|
private |
Input CaloTower collection.
Definition at line 51 of file HLTCaloTowerHtMhtProducer.h.
Referenced by HLTCaloTowerHtMhtProducer().
|
private |
Use pt; otherwise, use et.
Definition at line 40 of file HLTCaloTowerHtMhtProducer.h.
Referenced by produce().