#include <ParametricResolution.h>
Definition at line 10 of file ParametricResolution.h.
◆ Kind
◆ ParametricResolution() [1/2]
l1tpf::ParametricResolution::ParametricResolution |
( |
| ) |
|
|
inline |
◆ ParametricResolution() [2/2]
Definition at line 8 of file ParametricResolution.cc.
References Calo, etas_, Exception, edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), getVFloat(), kind_, ptMaxs_, ptMin, ptMins_, AlCaHLTBitMon_QueryRunRegistry::string, and Track.
10 if (cpset.
existsAs<std::vector<double>>(
"ptMin")) {
16 if (cpset.
existsAs<std::vector<double>>(
"ptMax")) {
25 else if (skind ==
"calo")
28 throw cms::Exception(
"Configuration",
"Bad kind of resolution: " + skind);
std::vector< float > ptMins_
T getParameter(std::string const &) const
bool existsAs(std::string const ¶meterName, bool trackiness=true) const
checks if a parameter exists as a given type
std::vector< float > scales_
std::vector< float > ptMaxs_
static std::vector< float > getVFloat(const edm::ParameterSet &cpset, const std::string &name)
std::vector< float > offsets_
std::vector< float > etas_
◆ getVFloat()
std::vector< float > l1tpf::ParametricResolution::getVFloat |
( |
const edm::ParameterSet & |
cpset, |
|
|
const std::string & |
name |
|
) |
| |
|
static |
◆ operator()()
float l1tpf::ParametricResolution::operator() |
( |
const float |
pt, |
|
|
const float |
abseta |
|
) |
| const |
◆ etas_
std::vector<float> l1tpf::ParametricResolution::etas_ |
|
protected |
◆ kind_
Kind l1tpf::ParametricResolution::kind_ |
|
protected |
◆ offsets_
std::vector<float> l1tpf::ParametricResolution::offsets_ |
|
protected |
◆ ptMaxs_
std::vector<float> l1tpf::ParametricResolution::ptMaxs_ |
|
protected |
◆ ptMins_
std::vector<float> l1tpf::ParametricResolution::ptMins_ |
|
protected |
◆ scales_
std::vector<float> l1tpf::ParametricResolution::scales_ |
|
protected |