CMS 3D CMS Logo

LinearizedPuppiAlgo.h
Go to the documentation of this file.
1 #ifndef L1Trigger_Phase2L1ParticleFlow_LinearizedPuppiAlgo_h
2 #define L1Trigger_Phase2L1ParticleFlow_LinearizedPuppiAlgo_h
3 
5 
6 namespace l1tpf_impl {
7 
8  class LinearizedPuppiAlgo : public PuppiAlgo {
9  public:
11  ~LinearizedPuppiAlgo() override;
12 
13  const std::vector<std::string> &puGlobalNames() const override;
14  void doPUGlobals(const std::vector<Region> &rs, float npu, std::vector<float> &globals) const override;
15  void runNeutralsPU(Region &r, float npu, const std::vector<float> &globals) const override;
16 
17  protected:
19  float npu,
20  const std::vector<float> &alphaC,
21  const std::vector<float> &alphaF) const;
22 
23  std::vector<float> puppiPriors_, puppiPriorsPhotons_;
25  std::vector<float> puppiPtZeros_, puppiPtZerosPhotons_;
29  };
30 
31 } // namespace l1tpf_impl
32 
33 #endif
l1tpf_impl::LinearizedPuppiAlgo::puGlobalNames
const std::vector< std::string > & puGlobalNames() const override
Definition: LinearizedPuppiAlgo.cc:61
l1tpf_impl::LinearizedPuppiAlgo::puppiAlphaSlopesPhotons_
std::vector< float > puppiAlphaSlopesPhotons_
Definition: LinearizedPuppiAlgo.h:26
l1tpf_impl
Definition: BitwisePFAlgo.h:8
l1tpf_impl::LinearizedPuppiAlgo::puppiAlphaCropsPhotons_
std::vector< float > puppiAlphaCropsPhotons_
Definition: LinearizedPuppiAlgo.h:28
l1tpf_impl::LinearizedPuppiAlgo::doPUGlobals
void doPUGlobals(const std::vector< Region > &rs, float npu, std::vector< float > &globals) const override
Definition: LinearizedPuppiAlgo.cc:65
l1tpf_impl::LinearizedPuppiAlgo
Definition: LinearizedPuppiAlgo.h:8
l1tpf_impl::LinearizedPuppiAlgo::puppiPriorsPhotons_
std::vector< float > puppiPriorsPhotons_
Definition: LinearizedPuppiAlgo.h:23
l1tpf_impl::LinearizedPuppiAlgo::puppiAlphaCrops_
std::vector< float > puppiAlphaCrops_
Definition: LinearizedPuppiAlgo.h:28
l1tpf_impl::LinearizedPuppiAlgo::puppiAlphaZerosPhotons_
std::vector< float > puppiAlphaZerosPhotons_
Definition: LinearizedPuppiAlgo.h:27
l1tpf_impl::LinearizedPuppiAlgo::puppiPtZeros_
std::vector< float > puppiPtZeros_
Definition: LinearizedPuppiAlgo.h:25
l1tpf_impl::PuppiAlgo
Definition: PuppiAlgo.h:8
l1tpf_impl::LinearizedPuppiAlgo::puppiAlphaSlopes_
std::vector< float > puppiAlphaSlopes_
Definition: LinearizedPuppiAlgo.h:26
l1tpf_impl::LinearizedPuppiAlgo::puppiPtZerosPhotons_
std::vector< float > puppiPtZerosPhotons_
Definition: LinearizedPuppiAlgo.h:25
l1tpf_impl::Region
Definition: Region.h:8
edm::ParameterSet
Definition: ParameterSet.h:36
l1tpf_impl::LinearizedPuppiAlgo::LinearizedPuppiAlgo
LinearizedPuppiAlgo(const edm::ParameterSet &)
Definition: LinearizedPuppiAlgo.cc:19
l1tpf_impl::LinearizedPuppiAlgo::puppiPriors_
std::vector< float > puppiPriors_
Definition: LinearizedPuppiAlgo.h:23
PuppiAlgo.h
alignCSCRings.r
r
Definition: alignCSCRings.py:93
l1tpf_impl::LinearizedPuppiAlgo::puppiPtSlopesPhotons_
std::vector< float > puppiPtSlopesPhotons_
Definition: LinearizedPuppiAlgo.h:24
l1tpf_impl::LinearizedPuppiAlgo::puppiPtSlopes_
std::vector< float > puppiPtSlopes_
Definition: LinearizedPuppiAlgo.h:24
l1tpf_impl::LinearizedPuppiAlgo::computePuppiWeights
void computePuppiWeights(Region &r, float npu, const std::vector< float > &alphaC, const std::vector< float > &alphaF) const
Definition: LinearizedPuppiAlgo.cc:75
l1tpf_impl::LinearizedPuppiAlgo::puppiAlphaZeros_
std::vector< float > puppiAlphaZeros_
Definition: LinearizedPuppiAlgo.h:27
l1tpf_impl::LinearizedPuppiAlgo::~LinearizedPuppiAlgo
~LinearizedPuppiAlgo() override
Definition: LinearizedPuppiAlgo.cc:59
l1tpf_impl::LinearizedPuppiAlgo::runNeutralsPU
void runNeutralsPU(Region &r, float npu, const std::vector< float > &globals) const override
Definition: LinearizedPuppiAlgo.cc:68