#include <ParametricResolution.h>
Definition at line 10 of file ParametricResolution.h.
l1tpf::ParametricResolution::ParametricResolution |
( |
| ) |
|
|
inline |
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_
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_
T getParameter(std::string const &) const
static std::vector< float > getVFloat(const edm::ParameterSet &cpset, const std::string &name)
std::vector< float > offsets_
std::vector< float > etas_
std::vector< float > l1tpf::ParametricResolution::getVFloat |
( |
const edm::ParameterSet & |
cpset, |
|
|
const std::string & |
name |
|
) |
| |
|
static |
float l1tpf::ParametricResolution::operator() |
( |
const float |
pt, |
|
|
const float |
abseta |
|
) |
| const |
std::vector<float> l1tpf::ParametricResolution::etas_ |
|
protected |
Kind l1tpf::ParametricResolution::kind_ |
|
protected |
std::vector<float> l1tpf::ParametricResolution::offsets_ |
|
protected |
std::vector<float> l1tpf::ParametricResolution::ptMaxs_ |
|
protected |
std::vector<float> l1tpf::ParametricResolution::ptMins_ |
|
protected |
std::vector<float> l1tpf::ParametricResolution::scales_ |
|
protected |