#include <PuppiAlgo.h>
Public Member Functions | |
void | doPUGlobals (const std::vector< Region > &rs, float npu, std::vector< float > &globals) const override |
const std::vector< std::string > & | puGlobalNames () const override |
PuppiAlgo (const edm::ParameterSet &) | |
void | runNeutralsPU (Region &r, float npu, const std::vector< float > &globals) const override |
~PuppiAlgo () override | |
Public Member Functions inherited from l1tpf_impl::PUAlgoBase | |
virtual void | doVertexing (std::vector< Region > &rs, VertexAlgo algo, float &vz) const |
PUAlgoBase (const edm::ParameterSet &) | |
virtual void | runChargedPV (Region &r, float z0) const |
virtual | ~PUAlgoBase () |
Protected Member Functions | |
virtual void | computePuppiAlphas (const Region &r, std::vector< float > &alphaC, std::vector< float > &alphaF) const |
virtual void | computePuppiMedRMS (const std::vector< Region > &rs, float &alphaCMed, float &alphaCRms, float &alphaFMed, float &alphaFRms) const |
void | computePuppiWeights (Region &r, const std::vector< float > &alphaC, const std::vector< float > &alphaF, float alphaCMed, float alphaCRms, float alphaFMed, float alphaFRms) const |
virtual void | fillPuppi (Region &r) const |
Protected Attributes | |
std::vector< int16_t > | intPuppiEtaCuts_ |
std::vector< int16_t > | intPuppiPtCuts_ |
std::vector< int16_t > | intPuppiPtCutsPhotons_ |
float | puppiDr_ |
float | puppiDrMin_ |
std::vector< float > | puppiEtaCuts_ |
std::vector< float > | puppiPtCuts_ |
std::vector< float > | puppiPtCutsPhotons_ |
float | puppiPtMax_ |
bool | puppiUsingBareTracks_ |
Protected Attributes inherited from l1tpf_impl::PUAlgoBase | |
int | debug_ |
float | etaCharged_ |
bool | vtxAdaptiveCut_ |
float | vtxRes_ |
Additional Inherited Members | |
Public Types inherited from l1tpf_impl::PUAlgoBase | |
enum | VertexAlgo { VertexAlgo::Old, VertexAlgo::TP, VertexAlgo::External } |
global operations More... | |
Definition at line 8 of file PuppiAlgo.h.
PuppiAlgo::PuppiAlgo | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 19 of file PuppiAlgo.cc.
References l1tpf_impl::PUAlgoBase::debug_, Exception, edm::ParameterSet::getUntrackedParameter(), mps_fire::i, intPuppiEtaCuts_, intPuppiPtCuts_, intPuppiPtCutsPhotons_, dqmiodumpmetadata::n, puppiEtaCuts_, puppiPtCuts_, and puppiPtCutsPhotons_.
|
override |
Definition at line 39 of file PuppiAlgo.cc.
|
protectedvirtual |
Definition at line 57 of file PuppiAlgo.cc.
References HLTMuonOfflineAnalyzer_cfi::deltaR2, min(), np, AlCaHLTBitMon_ParallelJobs::p, p2, funct::pow(), puppiDr_, puppiDrMin_, puppiPtMax_, puppiUsingBareTracks_, alignCSCRings::r, and w.
Referenced by runNeutralsPU(), and l1tpf_impl::LinearizedPuppiAlgo::runNeutralsPU().
|
protectedvirtual |
Definition at line 157 of file PuppiAlgo.cc.
References funct::abs(), alpha, central, dbgPrintf(), l1tpf_impl::PUAlgoBase::debug_, HLTMuonOfflineAnalyzer_cfi::deltaR2, l1tpf_impl::PUAlgoBase::etaCharged_, dqm-mbProfile::log, min(), AlCaHLTBitMon_ParallelJobs::p, p2, funct::pow(), puppiDr_, puppiDrMin_, puppiPtMax_, puppiUsingBareTracks_, alignCSCRings::r, jetUpdater_cfi::sort, mathSSE::sqrt(), and w.
Referenced by doPUGlobals().
|
protected |
Definition at line 91 of file PuppiAlgo.cc.
References funct::abs(), alpha, central, l1t::PFCandidate::ChargedHadron, dbgPrintf(), l1tpf_impl::PUAlgoBase::debug_, l1t::PFCandidate::Electron, l1tpf_impl::PUAlgoBase::etaCharged_, dqm-mbProfile::log, l1t::PFCandidate::Muon, np, AlCaHLTBitMon_ParallelJobs::p, funct::pow(), alignCSCRings::r, and testProducerWithPsetDescEmpty_cfi::x2.
Referenced by runNeutralsPU().
|
overridevirtual |
Implements l1tpf_impl::PUAlgoBase.
Definition at line 45 of file PuppiAlgo.cc.
References computePuppiMedRMS().
|
protectedvirtual |
Definition at line 236 of file PuppiAlgo.cc.
References funct::abs(), l1t::PFCandidate::ChargedHadron, l1t::PFCandidate::Electron, dqmMemoryStats::float, intPuppiEtaCuts_, intPuppiPtCuts_, intPuppiPtCutsPhotons_, l1t::PFCandidate::Muon, seedmultiplicitymonitor_newtracking_cfi::nBins, AlCaHLTBitMon_ParallelJobs::p, l1t::PFCandidate::Photon, and alignCSCRings::r.
Referenced by runNeutralsPU(), and l1tpf_impl::LinearizedPuppiAlgo::runNeutralsPU().
|
overridevirtual |
Reimplemented from l1tpf_impl::PUAlgoBase.
Definition at line 41 of file PuppiAlgo.cc.
|
overridevirtual |
Implements l1tpf_impl::PUAlgoBase.
Definition at line 50 of file PuppiAlgo.cc.
References computePuppiAlphas(), computePuppiWeights(), fillPuppi(), and alignCSCRings::r.
|
protected |
Definition at line 32 of file PuppiAlgo.h.
Referenced by fillPuppi(), and PuppiAlgo().
|
protected |
Definition at line 32 of file PuppiAlgo.h.
Referenced by fillPuppi(), and PuppiAlgo().
|
protected |
Definition at line 32 of file PuppiAlgo.h.
Referenced by fillPuppi(), and PuppiAlgo().
|
protected |
Definition at line 30 of file PuppiAlgo.h.
Referenced by computePuppiAlphas(), and computePuppiMedRMS().
|
protected |
Definition at line 30 of file PuppiAlgo.h.
Referenced by computePuppiAlphas(), and computePuppiMedRMS().
|
protected |
Definition at line 31 of file PuppiAlgo.h.
Referenced by l1tpf_impl::LinearizedPuppiAlgo::computePuppiWeights(), l1tpf_impl::LinearizedPuppiAlgo::LinearizedPuppiAlgo(), and PuppiAlgo().
|
protected |
Definition at line 31 of file PuppiAlgo.h.
Referenced by PuppiAlgo().
|
protected |
Definition at line 31 of file PuppiAlgo.h.
Referenced by PuppiAlgo().
|
protected |
Definition at line 30 of file PuppiAlgo.h.
Referenced by computePuppiAlphas(), and computePuppiMedRMS().
|
protected |
Definition at line 33 of file PuppiAlgo.h.
Referenced by computePuppiAlphas(), and computePuppiMedRMS().