#include <FastL1GlobalAlgo.h>
Public Member Functions | |
void | CaloTowersDump (edm::Event const &e) |
FastL1GlobalAlgo (const edm::ParameterSet &) | |
void | FillBitInfos () |
void | FillEgammas (edm::Event const &) |
void | FillEgammasTP (edm::Event const &) |
void | FillJets (const edm::EventSetup &e) |
void | FillL1Regions (edm::Event const &e, const edm::EventSetup &c) |
void | FillL1RegionsTP (edm::Event const &e, const edm::EventSetup &c) |
void | FillMET () |
void | FillMET (edm::Event const &e) |
FastL1BitInfoCollection | getBitInfos () |
std::vector< FastL1Region > | GetCaloRegions () |
l1extra::L1JetParticleCollection | getCenJets () const |
l1extra::L1EmParticleCollection | getEgammas () const |
l1extra::L1JetParticleCollection | getForJets () const |
l1extra::L1EmParticleCollection | getisoEgammas () const |
l1extra::L1EtMissParticleCollection | getMET () const |
l1extra::L1JetParticleCollection | getTauJets () const |
void | InitL1Regions () |
~FastL1GlobalAlgo () | |
Private Member Functions | |
void | addJet (int rgnId, bool taubit) |
void | checkMapping () |
void | findJets () |
bool | greaterEt (const reco::Candidate &a, const reco::Candidate &b) |
double | hcaletValue (const int ieta, const int compET) |
int | isEMCand (CaloTowerDetId cid, l1extra::L1EmParticle *p, const edm::Event &e) |
bool | isMaxEtRgn_Window33 (int rgnid) |
bool | isTauJet (int rgnid) |
bool | TauIsolation (int rgnid) |
Description: Global algorithm.
Implementation: <Notes on="" implementation>="">
Definition at line 70 of file FastL1GlobalAlgo.h.
|
explicit |
Definition at line 28 of file FastL1GlobalAlgo.cc.
References L1Config::CrystalEBThreshold, L1Config::CrystalEEThreshold, L1Config::DoEMCorr, L1Config::DoJetCorr, L1Config::EcalTPInput, L1Config::EMActiveLevel, L1Config::EmInputs, L1Config::EMLSB, L1Config::EMNoiseLevel, L1Config::EMSeedEnThreshold, L1Config::FGEBThreshold, L1Config::FGEEThreshold, edm::FileInPath::fullPath(), FastL1RegionMap::getFastL1RegionMap(), edm::ParameterSet::getParameter(), L1Config::HadActiveLevel, L1Config::HadNoiseLevel, L1Config::HcalLUT, L1Config::HcalTPInput, L1Config::hOeThreshold, i, j, L1Config::JetLSB, L1Config::JetSeedEtThreshold, m_DoBitInfo, m_GctIso, m_hcaluncomp, m_IsolationEt, m_L1Config, m_Regions, m_RMap, L1Config::MuonNoiseLevel, L1Config::noFGThreshold, L1Config::noTauVetoLevel, L1Config::QuietRegionThreshold, AlCaHLTBitMon_QueryRunRegistry::string, L1Config::TowerEBScale, L1Config::TowerEBThreshold, L1Config::TowerEEScale, L1Config::TowerEEThreshold, L1Config::TowerEMLSB, L1Config::TowerHadLSB, L1Config::TowerHBScale, L1Config::TowerHBThreshold, L1Config::TowerHEScale, L1Config::TowerHEThreshold, and L1Config::TowerInput.
FastL1GlobalAlgo::~FastL1GlobalAlgo | ( | ) |
Definition at line 103 of file FastL1GlobalAlgo.cc.
|
private |
Definition at line 208 of file FastL1GlobalAlgo.cc.
References abs, corrJetEt(), funct::cos(), L1Config::DoJetCorr, alignCSCRings::e, eta(), create_public_lumi_plots::exp, GCTEnergyTrunc(), FastL1RegionMap::getRegionCenterEtaPhi(), myspace::greaterEt(), L1Config::JetLSB, m_CenJets, m_DoBitInfo, m_ForJets, m_L1Config, m_Regions, m_RMap, m_TauJets, L1Config::noTauVetoLevel, AlCaHLTBitMon_ParallelJobs::p, phi, funct::sin(), python.multivaluedict::sort(), and theta().
Referenced by findJets().
void FastL1GlobalAlgo::CaloTowersDump | ( | edm::Event const & | e | ) |
Definition at line 111 of file FastL1GlobalAlgo.cc.
References edm::Event::getByLabel(), LaserDQM_cfg::input, j, m_L1Config, and L1Config::TowerInput.
|
private |
Definition at line 1339 of file FastL1GlobalAlgo.cc.
References FastL1RegionMap::convertFromECal_to_HCal_iphi(), gather_cfg::cout, FastL1RegionMap::getRegionCenterEtaPhi(), FastL1RegionMap::getRegionEtaPhiIndex(), FastL1RegionMap::getRegionIndex(), FastL1RegionMap::getRegionTowerIndex(), i, j, and m_RMap.
void FastL1GlobalAlgo::FillBitInfos | ( | ) |
Definition at line 832 of file FastL1GlobalAlgo.cc.
References i, m_BitInfos, m_DoBitInfo, and m_Regions.
Referenced by FastL1CaloSim::produce().
void FastL1GlobalAlgo::FillEgammas | ( | edm::Event const & | e | ) |
Definition at line 304 of file FastL1GlobalAlgo.cc.
References edm::Event::getByLabel(), myspace::greaterEt(), LaserDQM_cfg::input, isEMCand(), m_Egammas, m_isoEgammas, m_L1Config, python.multivaluedict::sort(), and L1Config::TowerInput.
Referenced by FastL1CaloSim::produce().
void FastL1GlobalAlgo::FillEgammasTP | ( | edm::Event const & | e | ) |
Definition at line 266 of file FastL1GlobalAlgo.cc.
References edm::SortedCollection< T, SORT >::begin(), edm::SortedCollection< T, SORT >::end(), myspace::greaterEt(), i, isEMCand(), m_Egammas, m_isoEgammas, m_Regions, and python.multivaluedict::sort().
Referenced by FastL1CaloSim::produce().
|
inline |
Definition at line 93 of file FastL1GlobalAlgo.h.
References findJets().
Referenced by FastL1CaloSim::produce().
void FastL1GlobalAlgo::FillL1Regions | ( | edm::Event const & | e, |
const edm::EventSetup & | c | ||
) |
Definition at line 750 of file FastL1GlobalAlgo.cc.
References abs, L1Config::EmInputs, edm::EventSetup::get(), edm::Event::getByLabel(), FastL1RegionMap::getRegionEtaPhiIndex(), FastL1RegionMap::getRegionTowerIndex(), i, InitL1Regions(), LaserDQM_cfg::input, m_L1Config, m_Regions, m_RMap, edm::ESHandle< class >::product(), and L1Config::TowerInput.
Referenced by FastL1CaloSim::produce().
void FastL1GlobalAlgo::FillL1RegionsTP | ( | edm::Event const & | e, |
const edm::EventSetup & | c | ||
) |
Definition at line 531 of file FastL1GlobalAlgo.cc.
References abs, corrEmEt(), L1Config::DoEMCorr, L1Config::EcalTPInput, L1Config::EMLSB, eta(), fastmath::etaphi(), edm::EventSetup::get(), edm::Event::getByLabel(), FastL1RegionMap::getRegionCenterEtaPhi(), FastL1RegionMap::getRegionIndex(), FastL1RegionMap::getRegionTowerIndex(), hcaletValue(), L1Config::HcalTPInput, L1Config::hOeThreshold, i, InitL1Regions(), j, m_L1Config, m_Regions, m_RMap, L1Config::noFGThreshold, phi, and lumiQTWidget::t.
Referenced by FastL1CaloSim::produce().
void FastL1GlobalAlgo::FillMET | ( | ) |
Definition at line 463 of file FastL1GlobalAlgo.cc.
References funct::cos(), fastmath::etaphi(), FastL1RegionMap::getRegionCenterEtaPhi(), i, l1extra::L1EtMissParticle::kMET, m_METs, m_Regions, m_RMap, phi, funct::sin(), and mathSSE::sqrt().
Referenced by FastL1CaloSim::produce().
void FastL1GlobalAlgo::FillMET | ( | edm::Event const & | e | ) |
Definition at line 347 of file FastL1GlobalAlgo.cc.
References abs, funct::cos(), eta(), create_public_lumi_plots::exp, edm::Event::getByLabel(), LaserDQM_cfg::input, l1extra::L1EtMissParticle::kMET, m_L1Config, m_METs, phi, RCTEnergyTrunc(), funct::sin(), mathSSE::sqrt(), theta(), L1Config::TowerEBScale, L1Config::TowerEBThreshold, L1Config::TowerEEScale, L1Config::TowerEEThreshold, L1Config::TowerHBScale, L1Config::TowerHBThreshold, L1Config::TowerHEScale, and L1Config::TowerInput.
|
private |
Definition at line 155 of file FastL1GlobalAlgo.cc.
References addJet(), eta(), FastL1RegionMap::getRegionCenterEtaPhi(), i, isMaxEtRgn_Window33(), isTauJet(), L1Config::JetSeedEtThreshold, m_CenJets, m_DoBitInfo, m_ForJets, m_GctIso, m_L1Config, m_Regions, m_RMap, m_TauJets, AlCaHLTBitMon_ParallelJobs::p, phi, and TauIsolation().
Referenced by FillJets().
|
inline |
Definition at line 84 of file FastL1GlobalAlgo.h.
References m_BitInfos.
Referenced by FastL1CaloSim::produce().
|
inline |
|
inline |
Definition at line 80 of file FastL1GlobalAlgo.h.
References m_CenJets.
Referenced by FastL1CaloSim::produce().
|
inline |
Definition at line 82 of file FastL1GlobalAlgo.h.
References m_Egammas.
Referenced by FastL1CaloSim::produce().
|
inline |
Definition at line 81 of file FastL1GlobalAlgo.h.
References m_ForJets.
Referenced by FastL1CaloSim::produce().
|
inline |
Definition at line 83 of file FastL1GlobalAlgo.h.
References m_isoEgammas.
Referenced by FastL1CaloSim::produce().
|
inline |
Definition at line 78 of file FastL1GlobalAlgo.h.
References m_METs.
Referenced by FastL1CaloSim::produce().
|
inline |
Definition at line 79 of file FastL1GlobalAlgo.h.
References m_TauJets.
Referenced by FastL1CaloSim::produce().
|
private |
|
private |
Definition at line 1364 of file FastL1GlobalAlgo.cc.
References m_hcaluncomp.
Referenced by FillL1RegionsTP().
void FastL1GlobalAlgo::InitL1Regions | ( | ) |
Definition at line 511 of file FastL1GlobalAlgo.cc.
References trackerHits::c, FastL1RegionMap::getRegionEtaPhiIndex(), i, m_DoBitInfo, m_L1Config, m_Regions, m_RMap, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by FillL1Regions(), and FillL1RegionsTP().
|
private |
Definition at line 932 of file FastL1GlobalAlgo.cc.
References trackerHits::c, funct::cos(), L1Config::EMLSB, L1Config::EMSeedEnThreshold, create_public_lumi_plots::exp, GCTEnergyTrunc(), FastL1RegionMap::getRegionCenterEtaPhi(), FastL1RegionMap::getRegionIndex(), FastL1RegionMap::getRegionTowerIndex(), FastL1RegionMap::GetTowerEastEtaPhi(), FastL1RegionMap::GetTowerNEEtaPhi(), FastL1RegionMap::GetTowerNorthEtaPhi(), FastL1RegionMap::GetTowerNWEtaPhi(), FastL1RegionMap::GetTowerSEEtaPhi(), FastL1RegionMap::GetTowerSouthEtaPhi(), FastL1RegionMap::GetTowerSWEtaPhi(), FastL1RegionMap::GetTowerWestEtaPhi(), CaloTowerDetId::ieta(), CaloTowerDetId::iphi(), m_L1Config, m_Regions, m_RMap, max(), Vispa.Plugins.EdmBrowser.EdmDataAccessor::ne(), L1Config::QuietRegionThreshold, funct::sin(), and L1Config::TowerEBThreshold.
Referenced by FillEgammas(), and FillEgammasTP().
|
private |
Definition at line 1184 of file FastL1GlobalAlgo.cc.
References m_Regions, and evf::utils::sid.
Referenced by findJets().
|
private |
Definition at line 843 of file FastL1GlobalAlgo.cc.
References m_DoBitInfo, m_Regions, and evf::utils::sid.
Referenced by findJets().
|
private |
Definition at line 1371 of file FastL1GlobalAlgo.cc.
References m_DoBitInfo, m_IsolationEt, m_Regions, and evf::utils::sid.
Referenced by findJets().
|
private |
Definition at line 125 of file FastL1GlobalAlgo.h.
Referenced by FillBitInfos(), and getBitInfos().
|
private |
Definition at line 121 of file FastL1GlobalAlgo.h.
Referenced by addJet(), findJets(), and getCenJets().
|
private |
Definition at line 129 of file FastL1GlobalAlgo.h.
Referenced by addJet(), FastL1GlobalAlgo(), FillBitInfos(), findJets(), InitL1Regions(), isTauJet(), and TauIsolation().
|
private |
Definition at line 123 of file FastL1GlobalAlgo.h.
Referenced by FillEgammas(), FillEgammasTP(), and getEgammas().
|
private |
Definition at line 122 of file FastL1GlobalAlgo.h.
Referenced by addJet(), findJets(), and getForJets().
|
private |
Definition at line 131 of file FastL1GlobalAlgo.h.
Referenced by FastL1GlobalAlgo(), and findJets().
|
private |
Definition at line 135 of file FastL1GlobalAlgo.h.
Referenced by FastL1GlobalAlgo(), and hcaletValue().
|
private |
Definition at line 124 of file FastL1GlobalAlgo.h.
Referenced by FillEgammas(), FillEgammasTP(), and getisoEgammas().
|
private |
Definition at line 132 of file FastL1GlobalAlgo.h.
Referenced by FastL1GlobalAlgo(), and TauIsolation().
|
private |
Definition at line 134 of file FastL1GlobalAlgo.h.
Referenced by addJet(), CaloTowersDump(), FastL1GlobalAlgo(), FillEgammas(), FillL1Regions(), FillL1RegionsTP(), FillMET(), findJets(), InitL1Regions(), and isEMCand().
|
private |
Definition at line 119 of file FastL1GlobalAlgo.h.
|
private |
Definition at line 127 of file FastL1GlobalAlgo.h.
Referenced by addJet(), FastL1GlobalAlgo(), FillBitInfos(), FillEgammasTP(), FillL1Regions(), FillL1RegionsTP(), FillMET(), findJets(), GetCaloRegions(), InitL1Regions(), isEMCand(), isMaxEtRgn_Window33(), isTauJet(), and TauIsolation().
|
private |
Definition at line 128 of file FastL1GlobalAlgo.h.
Referenced by addJet(), checkMapping(), FastL1GlobalAlgo(), FillL1Regions(), FillL1RegionsTP(), FillMET(), findJets(), InitL1Regions(), and isEMCand().
|
private |
Definition at line 120 of file FastL1GlobalAlgo.h.
Referenced by addJet(), findJets(), and getTauJets().