#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 | |
std::vector< double > | cosPhi_ |
double | htAbsEtaCut_ |
double | htPtThreshold_ |
edm::EDGetTokenT< std::vector < reco::CaloJet > > | inputJetCollectionTag_ |
double | mhtAbsEtaCut_ |
double | mhtPtThreshold_ |
unsigned int | nBinsPhi_ |
std::string | outputCollectionName_ |
double | phiLow_ |
double | phiStep_ |
double | phiUp_ |
double | ptlsb_ |
std::vector< double > | sinPhi_ |
Additional Inherited Members | |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
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 | |
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 ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
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 () noexcept |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
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 43 of file Phase1L1TJetSumsProducer.cc.
|
explicit |
Definition at line 89 of file Phase1L1TJetSumsProducer.cc.
References edm::ParameterSet::getParameter().
|
override |
Definition at line 107 of file Phase1L1TJetSumsProducer.cc.
|
private |
Definition at line 126 of file Phase1L1TJetSumsProducer.cc.
References htAbsEtaCut_, htPtThreshold_, HLT_FULL_cff::inputJets, metsig::jet, L1Analysis::kTotalHt, phiLow_, and phiUp_.
Referenced by produce().
|
private |
Definition at line 146 of file Phase1L1TJetSumsProducer.cc.
References cosPhi_, HLT_FULL_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 185 of file Phase1L1TJetSumsProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), submitPVResolutionJobs::desc, HLT_FULL_cff::InputTag, and M_PI.
|
overrideprivatevirtual |
Implements edm::one::EDProducerBase.
Definition at line 109 of file Phase1L1TJetSumsProducer.cc.
References computeHT(), computeMHT(), edm::Event::getByToken(), inputJetCollectionTag_, eostools::move(), outputCollectionName_, and edm::Event::put().
|
private |
Definition at line 65 of file Phase1L1TJetSumsProducer.cc.
Referenced by computeMHT().
|
private |
Definition at line 79 of file Phase1L1TJetSumsProducer.cc.
Referenced by computeHT().
|
private |
Definition at line 75 of file Phase1L1TJetSumsProducer.cc.
Referenced by computeHT().
|
private |
Definition at line 61 of file Phase1L1TJetSumsProducer.cc.
Referenced by produce().
|
private |
Definition at line 81 of file Phase1L1TJetSumsProducer.cc.
Referenced by computeMHT().
|
private |
Definition at line 77 of file Phase1L1TJetSumsProducer.cc.
Referenced by computeMHT().
|
private |
Definition at line 66 of file Phase1L1TJetSumsProducer.cc.
Referenced by computeMHT().
|
private |
Definition at line 85 of file Phase1L1TJetSumsProducer.cc.
Referenced by produce().
|
private |
Definition at line 69 of file Phase1L1TJetSumsProducer.cc.
Referenced by computeHT(), and computeMHT().
|
private |
Definition at line 73 of file Phase1L1TJetSumsProducer.cc.
Referenced by computeMHT().
|
private |
Definition at line 71 of file Phase1L1TJetSumsProducer.cc.
Referenced by computeHT(), and computeMHT().
|
private |
Definition at line 83 of file Phase1L1TJetSumsProducer.cc.
Referenced by computeMHT().
|
private |
Definition at line 64 of file Phase1L1TJetSumsProducer.cc.
Referenced by computeMHT().