#include <L1Trigger/L1CaloTrigger/plugin/Phase1L1TJetSumsProducer.cc>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
l1t::EtSum | computeHT (const edm::Handle< std::vector< reco::CaloJet > > inputJets) const |
l1t::EtSum | computeMHT (const edm::Handle< std::vector< reco::CaloJet > > inputJets) const |
void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
const std::vector< double > | cosPhi_ |
const double | htAbsEtaCut_ |
const double | htPtThreshold_ |
const edm::EDGetTokenT< std::vector< reco::CaloJet > > | inputJetCollectionTag_ |
const double | mhtAbsEtaCut_ |
const double | mhtPtThreshold_ |
const unsigned int | nBinsPhi_ |
const std::string | outputCollectionName_ |
const double | phiLow_ |
const double | phiStep_ |
const double | phiUp_ |
const double | ptlsb_ |
const std::vector< double > | sinPhi_ |
Additional Inherited Members | |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
template<typename T > | |
using | BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T > |
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 |
Protected Member Functions inherited from edm::ProducerBase | |
template<Transition Tr = Transition::Event> | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<Transition Tr = Transition::Event> | |
auto | produces () noexcept |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Description: Computes HT and MHT from phase-1-like jets
INPUT PARAMETERS *** sin/cosPhi: Value of sin/cos phi in the middle of each bin of the grid. etaBinning: vdouble with eta binning (allows non-homogeneous binning in eta) nBinsPhi: uint32, number of bins in phi phiLow: double, min phi (typically -pi) phiUp: double, max phi (typically +pi) {m}htPtThreshold: Minimum jet pt for HT/MHT calculation {m}htAbsEtaCut: pt/eta/philsb : lsb of quantities used in firmware implementation outputCollectionName: string, tag for the output collection inputCollectionTag: tag for input jet collection
Definition at line 42 of file Phase1L1TJetSumsProducer.cc.
|
explicit |
Definition at line 88 of file Phase1L1TJetSumsProducer.cc.
References edm::ParameterSet::getParameter().
|
overridedefault |
|
private |
Definition at line 123 of file Phase1L1TJetSumsProducer.cc.
References htAbsEtaCut_, htPtThreshold_, HLT_2024v10_cff::inputJets, metsig::jet, L1Analysis::kTotalHt, phiLow_, and phiUp_.
Referenced by produce().
|
private |
Definition at line 143 of file Phase1L1TJetSumsProducer.cc.
References cosPhi_, HLT_2024v10_cff::inputJets, metsig::jet, L1Analysis::kMissingHt, mhtAbsEtaCut_, mhtPtThreshold_, nBinsPhi_, phiLow_, phiStep_, phiUp_, ptlsb_, sinPhi_, mathSSE::sqrt(), and pileupReCalc_HLTpaths::trunc.
Referenced by produce().
|
static |
Definition at line 182 of file Phase1L1TJetSumsProducer.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, ProducerED_cfi::InputTag, and M_PI.
|
overrideprivatevirtual |
Implements edm::one::EDProducerBase.
Definition at line 107 of file Phase1L1TJetSumsProducer.cc.
References computeHT(), computeMHT(), iEvent, inputJetCollectionTag_, eostools::move(), and outputCollectionName_.
|
private |
Definition at line 64 of file Phase1L1TJetSumsProducer.cc.
Referenced by computeMHT().
|
private |
Definition at line 78 of file Phase1L1TJetSumsProducer.cc.
Referenced by computeHT().
|
private |
Definition at line 74 of file Phase1L1TJetSumsProducer.cc.
Referenced by computeHT().
|
private |
Definition at line 60 of file Phase1L1TJetSumsProducer.cc.
Referenced by produce().
|
private |
Definition at line 80 of file Phase1L1TJetSumsProducer.cc.
Referenced by computeMHT().
|
private |
Definition at line 76 of file Phase1L1TJetSumsProducer.cc.
Referenced by computeMHT().
|
private |
Definition at line 65 of file Phase1L1TJetSumsProducer.cc.
Referenced by computeMHT().
|
private |
Definition at line 84 of file Phase1L1TJetSumsProducer.cc.
Referenced by produce().
|
private |
Definition at line 68 of file Phase1L1TJetSumsProducer.cc.
Referenced by computeHT(), and computeMHT().
|
private |
Definition at line 72 of file Phase1L1TJetSumsProducer.cc.
Referenced by computeMHT().
|
private |
Definition at line 70 of file Phase1L1TJetSumsProducer.cc.
Referenced by computeHT(), and computeMHT().
|
private |
Definition at line 82 of file Phase1L1TJetSumsProducer.cc.
Referenced by computeMHT().
|
private |
Definition at line 63 of file Phase1L1TJetSumsProducer.cc.
Referenced by computeMHT().