CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
std::vector< float > puppiPriorsPhotons_
std::vector< float > puppiAlphaZeros_
const std::vector< std::string > & puGlobalNames() const override
std::vector< float > puppiPtSlopesPhotons_
void runNeutralsPU(Region &r, float npu, const std::vector< float > &globals) const override
void computePuppiWeights(Region &r, float npu, const std::vector< float > &alphaC, const std::vector< float > &alphaF) const
std::vector< float > puppiAlphaSlopes_
std::vector< float > puppiAlphaSlopesPhotons_
void doPUGlobals(const std::vector< Region > &rs, float npu, std::vector< float > &globals) const override
std::vector< float > puppiAlphaCrops_
LinearizedPuppiAlgo(const edm::ParameterSet &)
std::vector< float > puppiAlphaZerosPhotons_
std::vector< float > puppiAlphaCropsPhotons_
std::vector< float > puppiPtZerosPhotons_