CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ParametricResolution.h
Go to the documentation of this file.
1 #ifndef L1Trigger_Phase2L1ParticleFlow_ParametricResolution_h
2 #define L1Trigger_Phase2L1ParticleFlow_ParametricResolution_h
5 #include <vector>
6 #include <cmath>
7 
8 namespace l1tpf {
9 
11  public:
12  static std::vector<float> getVFloat(const edm::ParameterSet &cpset, const std::string &name);
13 
16 
17  float operator()(const float pt, const float abseta) const;
18 
19  protected:
20  std::vector<float> etas_, offsets_, scales_, ptMins_, ptMaxs_;
21  enum class Kind { Calo, Track };
23  };
24 
25 }; // namespace l1tpf
26 
27 #endif
static std::vector< float > getVFloat(const edm::ParameterSet &cpset, const std::string &name)
float operator()(const float pt, const float abseta) const