L1Trigger
Phase2L1ParticleFlow
interface
ParametricResolution.h
Go to the documentation of this file.
1
#ifndef L1Trigger_Phase2L1ParticleFlow_ParametricResolution_h
2
#define L1Trigger_Phase2L1ParticleFlow_ParametricResolution_h
3
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
4
#include "
FWCore/Utilities/interface/Exception.h
"
5
#include <vector>
6
#include <cmath>
7
8
namespace
l1tpf
{
9
10
class
ParametricResolution
{
11
public
:
12
static
std::vector<float>
getVFloat
(
const
edm::ParameterSet
&cpset,
const
std::string
&
name
);
13
14
ParametricResolution
() {}
15
ParametricResolution
(
const
edm::ParameterSet
&cpset);
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
};
22
Kind
kind_
;
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
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
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
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
Generated for CMSSW Reference Manual by
1.8.16