#include <L1Trigger/L1CaloTrigger/plugins/Phase2L1CaloJetEmulator.cc>
Public Member Functions | |
Phase2L1CaloJetEmulator (const edm::ParameterSet &) | |
~Phase2L1CaloJetEmulator () 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 Member Functions | |
float | get_jet_pt_calibration (const float &jet_pt, const float &jet_eta) const |
float | get_tau_pt_calibration (const float &tau_pt, const float &tau_eta) const |
void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
std::vector< double > | absEtaBinsBarrel |
std::vector< double > | absEtaBinsHF |
std::vector< double > | absEtaBinsHGCal |
std::map< std::string, std::map< std::string, TF1 > > | all_nvtx_to_PU_sub_funcs |
std::vector< std::vector< double > > | calibrationsBarrel |
std::vector< std::vector< double > > | calibrationsHF |
std::vector< std::vector< double > > | calibrationsHGCal |
edm::EDGetTokenT< l1tp2::CaloTowerCollection > | caloTowerToken_ |
edm::ESGetToken< CaloTPGTranscoder, CaloTPGRecord > | decoderTag_ |
std::map< std::string, TF1 > | hf_nvtx_to_PU_sub_funcs |
edm::EDGetTokenT< HcalTrigPrimDigiCollection > | hfToken_ |
std::map< std::string, TF1 > | hgcalEM_nvtx_to_PU_sub_funcs |
std::map< std::string, TF1 > | hgcalHad_nvtx_to_PU_sub_funcs |
edm::EDGetTokenT< l1t::HGCalTowerBxCollection > | hgcalTowerToken_ |
std::vector< double > | jetCalibrationsBarrel |
std::vector< double > | jetCalibrationsHF |
std::vector< double > | jetCalibrationsHGCal |
std::vector< double > | jetPtBins |
std::map< std::string, TF1 > | nHits_to_nvtx_funcs |
std::vector< edm::ParameterSet > | nHits_to_nvtx_params |
std::vector< edm::ParameterSet > | nvtx_to_PU_sub_params |
std::vector< double > | tauAbsEtaBinsBarrel |
std::vector< double > | tauAbsEtaBinsHGCal |
std::vector< double > | tauCalibrationsBarrel |
std::vector< double > | tauCalibrationsHGCal |
std::vector< double > | tauPtBins |
std::vector< std::vector< double > > | tauPtCalibrationsBarrel |
std::vector< std::vector< double > > | tauPtCalibrationsHGCal |
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 |
Description: Producing GCT calo jets using GCT barrel, HGCal and HF towers, based on firmware logic.
Implementation: Depends on producers for CaloTowerCollection, HGCalTowerBxCollection and HcalTrigPrimDigiCollection.
Definition at line 56 of file Phase2L1CaloJetEmulator.cc.
|
explicit |
Definition at line 110 of file Phase2L1CaloJetEmulator.cc.
References absEtaBinsBarrel, absEtaBinsHF, absEtaBinsHGCal, all_nvtx_to_PU_sub_funcs, calibrationsBarrel, calibrationsHF, calibrationsHGCal, hf_nvtx_to_PU_sub_funcs, hgcalEM_nvtx_to_PU_sub_funcs, hgcalHad_nvtx_to_PU_sub_funcs, mps_fire::i, l1tPhase2CaloJetEmulator_cfi::iEta, jetCalibrationsBarrel, jetCalibrationsHF, jetCalibrationsHGCal, jetPtBins, nHits_to_nvtx_funcs, nHits_to_nvtx_params, nvtx_to_PU_sub_params, LaserDQM_cfg::p1, SiStripOfflineCRack_cfg::p2, muonDTDigis_cfi::pset, DiDispStaMuonMonitor_cfi::pt, AlCaHLTBitMon_QueryRunRegistry::string, tauAbsEtaBinsBarrel, tauAbsEtaBinsHGCal, tauCalibrationsBarrel, tauCalibrationsHGCal, tauPtBins, tauPtCalibrationsBarrel, tauPtCalibrationsHGCal, and parallelization::uint.
|
override |
Definition at line 217 of file Phase2L1CaloJetEmulator.cc.
|
static |
Definition at line 768 of file Phase2L1CaloJetEmulator.cc.
References edm::ParameterSetDescription::add(), edm::ParameterSet::addParameter(), edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, and ProducerED_cfi::InputTag.
|
private |
Definition at line 656 of file Phase2L1CaloJetEmulator.cc.
References funct::abs(), absEtaBinsBarrel, absEtaBinsHF, absEtaBinsHGCal, l1tEGammaCrystalsEmulatorProducer_cfi::calib, calibrationsBarrel, calibrationsHF, calibrationsHGCal, mps_fire::i, and jetPtBins.
Referenced by produce().
|
private |
Definition at line 719 of file Phase2L1CaloJetEmulator.cc.
References funct::abs(), l1tEGammaCrystalsEmulatorProducer_cfi::calib, mps_fire::i, runTauDisplay::tau_eta, runTauDisplay::tau_pt, tauAbsEtaBinsBarrel, tauAbsEtaBinsHGCal, tauPtBins, tauPtCalibrationsBarrel, and tauPtCalibrationsHGCal.
Referenced by produce().
|
overrideprivate |
Definition at line 224 of file Phase2L1CaloJetEmulator.cc.
References funct::abs(), all_nvtx_to_PU_sub_funcs, reco::JetExtendedAssociation::allJets(), BXVector< T >::begin(), caloTowerToken_, gctobj::compareByEt(), decoderTag_, BXVector< T >::end(), hcalRecHitTable_cff::energy, EgHLTOffHistBins_cfi::et, PVValHelper::eta, get_jet_pt_calibration(), get_tau_pt_calibration(), edm::EventSetup::getData(), gctobj::getRegion(), hfToken_, l1tPhase2CaloJetEmulator_cfi::hgcalTowers, hgcalTowerToken_, mps_fire::i, hit::id, hcalRecHitTable_cff::ieta, iEvent, hcalRecHitTable_cff::iphi, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, dqmiolumiharvest::j, metsig::jet, l1tp2::Phase2L1CaloJet::jetEt(), l1tp2::Phase2L1CaloJet::jetEta(), l1tp2::Phase2L1CaloJet::jetPhi(), dqmdumpme::k, l1t::CaloTools::kHFBegin, l1t::CaloTools::kHFEnd, M_PI, gctobj::makeST(), gctobj::makeST_hf(), gctobj::makeST_hgcal(), eostools::move(), nBarrelEta, nBarrelPhi, nHfEta, nHfPhi, nHgcalEta, nHgcalPhi, nHits_to_nvtx_funcs, nJets, nSTEta, nSTPhi, edm::Handle< T >::product(), l1tp2::Phase2L1CaloJet::setJetEt(), l1tp2::Phase2L1CaloJet::setJetEta(), l1tp2::Phase2L1CaloJet::setJetIEta(), l1tp2::Phase2L1CaloJet::setJetIPhi(), l1tp2::Phase2L1CaloJet::setJetPhi(), reco::LeafCandidate::setP4(), l1tp2::Phase2L1CaloJet::setTauEt(), l1tp2::Phase2L1CaloJet::setTowerEt(), l1tp2::Phase2L1CaloJet::setTowerEta(), l1tp2::Phase2L1CaloJet::setTowerIEta(), l1tp2::Phase2L1CaloJet::setTowerIPhi(), l1tp2::Phase2L1CaloJet::setTowerPhi(), jetUpdater_cfi::sort, AlCaHLTBitMon_QueryRunRegistry::string, groupFilesInBlocks::temp, and l1t::CaloTools::towerEta().
|
private |
Definition at line 83 of file Phase2L1CaloJetEmulator.cc.
Referenced by get_jet_pt_calibration(), and Phase2L1CaloJetEmulator().
|
private |
Definition at line 87 of file Phase2L1CaloJetEmulator.cc.
Referenced by get_jet_pt_calibration(), and Phase2L1CaloJetEmulator().
|
private |
Definition at line 85 of file Phase2L1CaloJetEmulator.cc.
Referenced by get_jet_pt_calibration(), and Phase2L1CaloJetEmulator().
|
private |
Definition at line 79 of file Phase2L1CaloJetEmulator.cc.
Referenced by Phase2L1CaloJetEmulator(), and produce().
|
private |
Definition at line 98 of file Phase2L1CaloJetEmulator.cc.
Referenced by get_jet_pt_calibration(), and Phase2L1CaloJetEmulator().
|
private |
Definition at line 100 of file Phase2L1CaloJetEmulator.cc.
Referenced by get_jet_pt_calibration(), and Phase2L1CaloJetEmulator().
|
private |
Definition at line 99 of file Phase2L1CaloJetEmulator.cc.
Referenced by get_jet_pt_calibration(), and Phase2L1CaloJetEmulator().
|
private |
Definition at line 69 of file Phase2L1CaloJetEmulator.cc.
Referenced by produce().
|
private |
Definition at line 72 of file Phase2L1CaloJetEmulator.cc.
Referenced by produce().
|
private |
Definition at line 78 of file Phase2L1CaloJetEmulator.cc.
Referenced by Phase2L1CaloJetEmulator().
|
private |
Definition at line 71 of file Phase2L1CaloJetEmulator.cc.
Referenced by produce().
|
private |
Definition at line 76 of file Phase2L1CaloJetEmulator.cc.
Referenced by Phase2L1CaloJetEmulator().
|
private |
Definition at line 77 of file Phase2L1CaloJetEmulator.cc.
Referenced by Phase2L1CaloJetEmulator().
|
private |
Definition at line 70 of file Phase2L1CaloJetEmulator.cc.
Referenced by produce().
|
private |
Definition at line 84 of file Phase2L1CaloJetEmulator.cc.
Referenced by Phase2L1CaloJetEmulator().
|
private |
Definition at line 88 of file Phase2L1CaloJetEmulator.cc.
Referenced by Phase2L1CaloJetEmulator().
|
private |
Definition at line 86 of file Phase2L1CaloJetEmulator.cc.
Referenced by Phase2L1CaloJetEmulator().
|
private |
Definition at line 82 of file Phase2L1CaloJetEmulator.cc.
Referenced by get_jet_pt_calibration(), and Phase2L1CaloJetEmulator().
|
private |
Definition at line 75 of file Phase2L1CaloJetEmulator.cc.
Referenced by Phase2L1CaloJetEmulator(), and produce().
|
private |
Definition at line 73 of file Phase2L1CaloJetEmulator.cc.
Referenced by Phase2L1CaloJetEmulator().
|
private |
Definition at line 74 of file Phase2L1CaloJetEmulator.cc.
Referenced by Phase2L1CaloJetEmulator().
|
private |
Definition at line 92 of file Phase2L1CaloJetEmulator.cc.
Referenced by get_tau_pt_calibration(), and Phase2L1CaloJetEmulator().
|
private |
Definition at line 94 of file Phase2L1CaloJetEmulator.cc.
Referenced by get_tau_pt_calibration(), and Phase2L1CaloJetEmulator().
|
private |
Definition at line 93 of file Phase2L1CaloJetEmulator.cc.
Referenced by Phase2L1CaloJetEmulator().
|
private |
Definition at line 95 of file Phase2L1CaloJetEmulator.cc.
Referenced by Phase2L1CaloJetEmulator().
|
private |
Definition at line 91 of file Phase2L1CaloJetEmulator.cc.
Referenced by get_tau_pt_calibration(), and Phase2L1CaloJetEmulator().
|
private |
Definition at line 103 of file Phase2L1CaloJetEmulator.cc.
Referenced by get_tau_pt_calibration(), and Phase2L1CaloJetEmulator().
|
private |
Definition at line 104 of file Phase2L1CaloJetEmulator.cc.
Referenced by get_tau_pt_calibration(), and Phase2L1CaloJetEmulator().