CMS 3D CMS Logo

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
l1tpf::ParametricResolution::ptMins_
std::vector< float > ptMins_
Definition: ParametricResolution.h:20
l1tpf::ParametricResolution::ParametricResolution
ParametricResolution()
Definition: ParametricResolution.h:14
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
l1tpf::ParametricResolution::operator()
float operator()(const float pt, const float abseta) const
Definition: ParametricResolution.cc:31
l1tpf::ParametricResolution
Definition: ParametricResolution.h:10
l1tpf::ParametricResolution::Kind::Track
l1tpf::ParametricResolution::Kind
Kind
Definition: ParametricResolution.h:21
edm::ParameterSet
Definition: ParameterSet.h:47
l1tpf::ParametricResolution::scales_
std::vector< float > scales_
Definition: ParametricResolution.h:20
l1tpf::ParametricResolution::Kind::Calo
l1tpf::ParametricResolution::ptMaxs_
std::vector< float > ptMaxs_
Definition: ParametricResolution.h:20
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
l1tpf::ParametricResolution::getVFloat
static std::vector< float > getVFloat(const edm::ParameterSet &cpset, const std::string &name)
Definition: ParametricResolution.cc:3
l1tpf
Definition: HGC3DClusterEgID.h:20
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
Exception.h
ParameterSet.h
l1tpf::ParametricResolution::offsets_
std::vector< float > offsets_
Definition: ParametricResolution.h:20
l1tpf::ParametricResolution::kind_
Kind kind_
Definition: ParametricResolution.h:22
l1tpf::ParametricResolution::etas_
std::vector< float > etas_
Definition: ParametricResolution.h:20