#include <PUAlgoBase.h>
Public Types | |
enum | VertexAlgo { VertexAlgo::Old, VertexAlgo::TP, VertexAlgo::External } |
global operations More... | |
Public Member Functions | |
virtual void | doPUGlobals (const std::vector< Region > &rs, float npu, std::vector< float > &globals) const =0 |
virtual void | doVertexing (std::vector< Region > &rs, VertexAlgo algo, float &vz) const |
PUAlgoBase (const edm::ParameterSet &) | |
virtual const std::vector < std::string > & | puGlobalNames () const |
virtual void | runChargedPV (Region &r, float z0) const |
virtual void | runNeutralsPU (Region &r, float npu, const std::vector< float > &globals) const =0 |
virtual | ~PUAlgoBase () |
Protected Attributes | |
int | debug_ |
float | etaCharged_ |
bool | vtxAdaptiveCut_ |
float | vtxRes_ |
Definition at line 9 of file PUAlgoBase.h.
|
strong |
PUAlgoBase::PUAlgoBase | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 7 of file PUAlgoBase.cc.
|
virtual |
Definition at line 13 of file PUAlgoBase.cc.
|
pure virtual |
Implemented in l1tpf_impl::LinearizedPuppiAlgo, and l1tpf_impl::PuppiAlgo.
|
virtual |
Definition at line 28 of file PUAlgoBase.cc.
References funct::abs(), b, central, External, l1tpf_impl::PropagatedTrack::fromPV, l1tpf_impl::InputTrack::hwVtxEta, l1tpf_impl::InputTrack::hwZ0, SiStripPI::max, min(), Old, AlCaHLTBitMon_ParallelJobs::p, alignCSCRings::r, TP, vtxAdaptiveCut_, and vtxRes_.
|
virtual |
Reimplemented in l1tpf_impl::LinearizedPuppiAlgo, and l1tpf_impl::PuppiAlgo.
Definition at line 78 of file PUAlgoBase.cc.
|
virtual |
Definition at line 15 of file PUAlgoBase.cc.
References funct::abs(), Reference_intrackfit_cff::barrel, l1tpf_impl::PFParticle::chargedPV, l1tpf_impl::Region::globalAbsEta(), l1tpf_impl::PFParticle::hwId, l1tpf_impl::InputTrack::hwVtxEta, l1tpf_impl::InputTrack::hwZ0, AlCaHLTBitMon_ParallelJobs::p, l1tpf_impl::Region::pf, l1tpf_impl::Region::relativeCoordinates, l1tpf_impl::PFParticle::track, vtxAdaptiveCut_, and vtxRes_.
|
pure virtual |
Implemented in l1tpf_impl::LinearizedPuppiAlgo, and l1tpf_impl::PuppiAlgo.
|
protected |
Definition at line 27 of file PUAlgoBase.h.
Referenced by l1tpf_impl::PuppiAlgo::computePuppiMedRMS(), l1tpf_impl::LinearizedPuppiAlgo::computePuppiWeights(), l1tpf_impl::PuppiAlgo::computePuppiWeights(), and l1tpf_impl::PuppiAlgo::PuppiAlgo().
|
protected |
Definition at line 28 of file PUAlgoBase.h.
Referenced by l1tpf_impl::PuppiAlgo::computePuppiMedRMS(), l1tpf_impl::LinearizedPuppiAlgo::computePuppiWeights(), and l1tpf_impl::PuppiAlgo::computePuppiWeights().
|
protected |
Definition at line 29 of file PUAlgoBase.h.
Referenced by doVertexing(), and runChargedPV().
|
protected |
Definition at line 28 of file PUAlgoBase.h.
Referenced by doVertexing(), and runChargedPV().