Validation
EcalClusters
interface
HistSpec.h
Go to the documentation of this file.
1
#ifndef Validation_EcalClusters_HistSpec_h
2
#define Validation_EcalClusters_HistSpec_h
3
4
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
5
6
struct
HistSpec
{
7
double
min
;
8
double
max
;
9
int
bins
;
10
11
HistSpec
(
edm::ParameterSet
const
&_ps,
std::string
const
&_suffix) {
12
min
= _ps.
getParameter
<
double
>(
"hist_min_"
+ _suffix);
13
max
= _ps.
getParameter
<
double
>(
"hist_max_"
+ _suffix);
14
bins
= _ps.
getParameter
<
int
>(
"hist_bins_"
+ _suffix);
15
}
16
};
17
18
#endif
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition:
ParameterSet.h:303
HistSpec::bins
int bins
Definition:
HistSpec.h:9
HistSpec::max
double max
Definition:
HistSpec.h:8
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
ParameterSet.h
HistSpec::min
double min
Definition:
HistSpec.h:7
HistSpec
Definition:
HistSpec.h:6
edm::ParameterSet
Definition:
ParameterSet.h:47
HistSpec::HistSpec
HistSpec(edm::ParameterSet const &_ps, std::string const &_suffix)
Definition:
HistSpec.h:11
Generated for CMSSW Reference Manual by
1.8.14