#include <LinearizedPuppiAlgo.h>
Public Member Functions | |
void | doPUGlobals (const std::vector< Region > &rs, float npu, std::vector< float > &globals) const override |
LinearizedPuppiAlgo (const edm::ParameterSet &) | |
const std::vector< std::string > & | puGlobalNames () const override |
void | runNeutralsPU (Region &r, float npu, const std::vector< float > &globals) const override |
~LinearizedPuppiAlgo () override | |
Public Member Functions inherited from l1tpf_impl::PuppiAlgo | |
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 | |
void | computePuppiWeights (Region &r, float npu, const std::vector< float > &alphaC, const std::vector< float > &alphaF) const |
Protected Member Functions inherited from l1tpf_impl::PuppiAlgo | |
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< float > | puppiAlphaCrops_ |
std::vector< float > | puppiAlphaCropsPhotons_ |
std::vector< float > | puppiAlphaSlopes_ |
std::vector< float > | puppiAlphaSlopesPhotons_ |
std::vector< float > | puppiAlphaZeros_ |
std::vector< float > | puppiAlphaZerosPhotons_ |
std::vector< float > | puppiPriors_ |
std::vector< float > | puppiPriorsPhotons_ |
std::vector< float > | puppiPtSlopes_ |
std::vector< float > | puppiPtSlopesPhotons_ |
std::vector< float > | puppiPtZeros_ |
std::vector< float > | puppiPtZerosPhotons_ |
Protected Attributes inherited from l1tpf_impl::PuppiAlgo | |
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 LinearizedPuppiAlgo.h.
LinearizedPuppiAlgo::LinearizedPuppiAlgo | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 19 of file LinearizedPuppiAlgo.cc.
References puppiAlphaCrops_, puppiAlphaCropsPhotons_, puppiAlphaSlopes_, puppiAlphaSlopesPhotons_, puppiAlphaZeros_, puppiAlphaZerosPhotons_, l1tpf_impl::PuppiAlgo::puppiEtaCuts_, puppiPriors_, puppiPriorsPhotons_, puppiPtSlopes_, puppiPtSlopesPhotons_, puppiPtZeros_, and puppiPtZerosPhotons_.
|
override |
Definition at line 59 of file LinearizedPuppiAlgo.cc.
|
protected |
Definition at line 75 of file LinearizedPuppiAlgo.cc.
References funct::abs(), alpha, central, l1t::PFCandidate::ChargedHadron, l1tpf_impl::PFParticle::chargedPV, dbgPrintf(), l1tpf_impl::PUAlgoBase::debug_, l1t::PFCandidate::Electron, l1tpf_impl::PUAlgoBase::etaCharged_, funct::exp(), validate-o2o-wbm::f, l1tpf_impl::Region::globalAbsEta(), l1tpf_impl::PFParticle::hwId, log, l1t::PFCandidate::Muon, np, AlCaHLTBitMon_ParallelJobs::p, l1tpf_impl::Region::pf, l1t::PFCandidate::Photon, bookConverter::prior, puppiAlphaCrops_, puppiAlphaCropsPhotons_, puppiAlphaSlopes_, puppiAlphaSlopesPhotons_, puppiAlphaZeros_, puppiAlphaZerosPhotons_, l1tpf_impl::PuppiAlgo::puppiEtaCuts_, puppiPriors_, puppiPriorsPhotons_, puppiPtSlopes_, puppiPtSlopesPhotons_, puppiPtZeros_, puppiPtZerosPhotons_, and l1tpf_impl::Region::relativeCoordinates.
Referenced by runNeutralsPU().
|
overridevirtual |
Implements l1tpf_impl::PUAlgoBase.
Definition at line 65 of file LinearizedPuppiAlgo.cc.
|
overridevirtual |
Reimplemented from l1tpf_impl::PUAlgoBase.
Definition at line 61 of file LinearizedPuppiAlgo.cc.
|
overridevirtual |
Implements l1tpf_impl::PUAlgoBase.
Definition at line 68 of file LinearizedPuppiAlgo.cc.
References l1tpf_impl::PuppiAlgo::computePuppiAlphas(), computePuppiWeights(), and l1tpf_impl::PuppiAlgo::fillPuppi().
|
protected |
Definition at line 28 of file LinearizedPuppiAlgo.h.
Referenced by computePuppiWeights(), and LinearizedPuppiAlgo().
|
protected |
Definition at line 28 of file LinearizedPuppiAlgo.h.
Referenced by computePuppiWeights(), and LinearizedPuppiAlgo().
|
protected |
Definition at line 26 of file LinearizedPuppiAlgo.h.
Referenced by computePuppiWeights(), and LinearizedPuppiAlgo().
|
protected |
Definition at line 26 of file LinearizedPuppiAlgo.h.
Referenced by computePuppiWeights(), and LinearizedPuppiAlgo().
|
protected |
Definition at line 27 of file LinearizedPuppiAlgo.h.
Referenced by computePuppiWeights(), and LinearizedPuppiAlgo().
|
protected |
Definition at line 27 of file LinearizedPuppiAlgo.h.
Referenced by computePuppiWeights(), and LinearizedPuppiAlgo().
|
protected |
Definition at line 23 of file LinearizedPuppiAlgo.h.
Referenced by computePuppiWeights(), and LinearizedPuppiAlgo().
|
protected |
Definition at line 23 of file LinearizedPuppiAlgo.h.
Referenced by computePuppiWeights(), and LinearizedPuppiAlgo().
|
protected |
Definition at line 24 of file LinearizedPuppiAlgo.h.
Referenced by computePuppiWeights(), and LinearizedPuppiAlgo().
|
protected |
Definition at line 24 of file LinearizedPuppiAlgo.h.
Referenced by computePuppiWeights(), and LinearizedPuppiAlgo().
|
protected |
Definition at line 25 of file LinearizedPuppiAlgo.h.
Referenced by computePuppiWeights(), and LinearizedPuppiAlgo().
|
protected |
Definition at line 25 of file LinearizedPuppiAlgo.h.
Referenced by computePuppiWeights(), and LinearizedPuppiAlgo().