![]() |
![]() |
#include <Stage2Layer2JetAlgorithmFirmware.h>
Public Member Functions | |
void | accuSort (std::vector< Jet > &jets) |
double | calibFit (double, double *) |
double | calibFitErr (double, double *) |
void | calibrate (std::vector< Jet > &jets, int calibThreshold, bool isAllJets) |
int | chunkyDonutPUEstimate (Jet &jet, int pos, const std::vector< l1t::CaloTower > &towers) |
int | chunkySandwichPUEstimate (Jet &jet, int pos, const std::vector< l1t::CaloTower > &towers, const std::string chunkySandwichStr) |
void | create (const std::vector< CaloTower > &towers, std::vector< Jet > &jets, std::vector< Jet > &alljets, std::string PUSubMethod) |
int | donutPUEstimate (int jetEta, int jetPhi, int size, const std::vector< l1t::CaloTower > &towers) |
std::vector< int > | getChunkyRing (Jet &jet, int pos, const std::vector< l1t::CaloTower > &towers, const std::string chunkyString) |
std::map< int, int > | getSumEtEtaMap (const std::vector< l1t::CaloTower > &towers) |
void | processEvent (const std::vector< CaloTower > &towers, std::vector< Jet > &jets, std::vector< Jet > &alljets) override |
Stage2Layer2JetAlgorithmFirmwareImp1 (CaloParamsHelper const *params) | |
~Stage2Layer2JetAlgorithmFirmwareImp1 () override=default | |
![]() | |
virtual | ~Stage2Layer2JetAlgorithm () |
Private Attributes | |
CaloParamsHelper const *const | params_ |
Description: Implementation of Jad's asymmetric map overlap algorithm with donut subtraction
Definition at line 22 of file Stage2Layer2JetAlgorithmFirmware.h.
l1t::Stage2Layer2JetAlgorithmFirmwareImp1::Stage2Layer2JetAlgorithmFirmwareImp1 | ( | CaloParamsHelper const * | params | ) |
Definition at line 47 of file Stage2Layer2JetAlgorithmFirmwareImp1.cc.
|
overridedefault |
void l1t::Stage2Layer2JetAlgorithmFirmwareImp1::accuSort | ( | std::vector< Jet > & | jets | ) |
Definition at line 275 of file Stage2Layer2JetAlgorithmFirmwareImp1.cc.
References down, and AccumulatingSort< T >::Merge().
Referenced by processEvent().
double l1t::Stage2Layer2JetAlgorithmFirmwareImp1::calibFit | ( | double | pt, |
double * | par | ||
) |
Definition at line 733 of file Stage2Layer2JetAlgorithmFirmwareImp1.cc.
References JetChargeProducer_cfi::exp, and f.
Referenced by calibrate().
double l1t::Stage2Layer2JetAlgorithmFirmwareImp1::calibFitErr | ( | double | pt, |
double * | par | ||
) |
Definition at line 750 of file Stage2Layer2JetAlgorithmFirmwareImp1.cc.
References JetChargeProducer_cfi::exp, and f.
Referenced by calibrate().
void l1t::Stage2Layer2JetAlgorithmFirmwareImp1::calibrate | ( | std::vector< Jet > & | jets, |
int | calibThreshold, | ||
bool | isAllJets | ||
) |
Definition at line 574 of file Stage2Layer2JetAlgorithmFirmwareImp1.cc.
References funct::abs(), l1t::CaloTools::bin16Eta(), calibFit(), calibFitErr(), l1t::LUT::data(), conversionPostprocessing_cfi::etaBin, mps_fire::i, metsig::jet, l1t::CaloParamsHelper::jetCalibrationLUT(), l1t::CaloParamsHelper::jetCalibrationParams(), l1t::CaloParamsHelper::jetCalibrationType(), l1t::CaloParamsHelper::jetCompressEtaLUT(), l1t::CaloParamsHelper::jetCompressPtLUT(), l1t::CaloParamsHelper::jetLsb(), l1t::CaloTools::kSatJet, l1t::CaloTools::mpEta(), params_, electronConversionRejectionValidator::ptBin, and l1t::CaloTools::regionEta().
Referenced by create(), and processEvent().
int l1t::Stage2Layer2JetAlgorithmFirmwareImp1::chunkyDonutPUEstimate | ( | l1t::Jet & | jet, |
int | pos, | ||
const std::vector< l1t::CaloTower > & | towers | ||
) |
Definition at line 552 of file Stage2Layer2JetAlgorithmFirmwareImp1.cc.
References getChunkyRing(), mps_fire::i, relativeConstraints::ring, and l1t::Jet::setPUDonutEt().
Referenced by create().
int l1t::Stage2Layer2JetAlgorithmFirmwareImp1::chunkySandwichPUEstimate | ( | l1t::Jet & | jet, |
int | pos, | ||
const std::vector< l1t::CaloTower > & | towers, | ||
const std::string | chunkySandwichStr | ||
) |
Definition at line 564 of file Stage2Layer2JetAlgorithmFirmwareImp1.cc.
References getChunkyRing(), mps_fire::i, relativeConstraints::ring, and l1t::Jet::setPUDonutEt().
Referenced by create().
void l1t::Stage2Layer2JetAlgorithmFirmwareImp1::create | ( | const std::vector< CaloTower > & | towers, |
std::vector< Jet > & | jets, | ||
std::vector< Jet > & | alljets, | ||
std::string | PUSubMethod | ||
) |
Definition at line 67 of file Stage2Layer2JetAlgorithmFirmwareImp1.cc.
References calibrate(), l1t::CaloTools::caloEta(), chunkyDonutPUEstimate(), chunkySandwichPUEstimate(), donutPUEstimate(), down, getSumEtEtaMap(), l1t::CaloTools::getTower(), l1t::L1Candidate::hwEta(), l1t::L1Candidate::hwPt(), mps_fire::i, metsig::jet, l1t::CaloParamsHelper::jetBypassPUS(), reco::btau::jetEta, l1t::CaloParamsHelper::jetPUSUsePhiRing(), l1t::CaloParamsHelper::jetSeedThreshold(), l1t::CaloTools::kHBHENrPhi, l1t::CaloTools::kHFEnd, l1t::CaloTools::kSatEcal, l1t::CaloTools::kSatHcal, l1t::CaloTools::kSatJet, l1t::CaloTools::kSatTower, l1t::CaloTools::mpEta(), p4, params_, l1t::L1Candidate::setHwPt(), l1t::Jet::setPUEt(), l1t::Jet::setRawEt(), l1t::Jet::setSeedEt(), l1t::Jet::setTowerIEta(), l1t::Jet::setTowerIPhi(), findQualityFiles::size, and l1t::CaloParamsHelper::towerLsbSum().
Referenced by processEvent().
int l1t::Stage2Layer2JetAlgorithmFirmwareImp1::donutPUEstimate | ( | int | jetEta, |
int | jetPhi, | ||
int | size, | ||
const std::vector< l1t::CaloTower > & | towers | ||
) |
Definition at line 343 of file Stage2Layer2JetAlgorithmFirmwareImp1.cc.
References funct::abs(), l1t::CaloTools::caloEta(), l1t::CaloTools::getTower(), l1t::L1Candidate::hwPt(), l1t::CaloTools::kHBHENrPhi, l1t::CaloTools::kHFEnd, l1t::CaloTools::mpEta(), relativeConstraints::ring, findQualityFiles::size, and jetUpdater_cfi::sort.
Referenced by create().
std::vector< int > l1t::Stage2Layer2JetAlgorithmFirmwareImp1::getChunkyRing | ( | l1t::Jet & | jet, |
int | pos, | ||
const std::vector< l1t::CaloTower > & | towers, | ||
const std::string | chunkyString | ||
) |
Definition at line 432 of file Stage2Layer2JetAlgorithmFirmwareImp1.cc.
References funct::abs(), l1t::CaloTools::caloEta(), l1t::CaloTools::getTower(), l1t::L1Candidate::hwEta(), l1t::L1Candidate::hwPhi(), l1t::L1Candidate::hwPt(), mps_fire::i, reco::btau::jetEta, reco::btau::jetPhi, l1t::CaloTools::kHBHENrPhi, l1t::CaloTools::kHFEnd, l1t::CaloTools::mpEta(), relativeConstraints::ring, pfIsolationCalculator_cfi::ringSize, findQualityFiles::size, and jetUpdater_cfi::sort.
Referenced by chunkyDonutPUEstimate(), and chunkySandwichPUEstimate().
std::map< int, int > l1t::Stage2Layer2JetAlgorithmFirmwareImp1::getSumEtEtaMap | ( | const std::vector< l1t::CaloTower > & | towers | ) |
Definition at line 405 of file Stage2Layer2JetAlgorithmFirmwareImp1.cc.
References l1t::CaloTools::caloEta(), Gflash::EtaMax, Gflash::EtaMin, l1t::CaloTools::getTower(), l1t::L1Candidate::hwPt(), AlignmentTrackSelector_cfi::phiMax, and AlignmentTrackSelector_cfi::phiMin.
Referenced by create().
|
overridevirtual |
Implements l1t::Stage2Layer2JetAlgorithm.
Definition at line 51 of file Stage2Layer2JetAlgorithmFirmwareImp1.cc.
References accuSort(), calibrate(), create(), l1t::CaloParamsHelper::jetPUSType(), and params_.
|
private |
Definition at line 57 of file Stage2Layer2JetAlgorithmFirmware.h.
Referenced by calibrate(), create(), and processEvent().