Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
{
13
min
= _ps.
getParameter
<
double
>(
"hist_min_"
+ _suffix);
14
max
= _ps.
getParameter
<
double
>(
"hist_max_"
+ _suffix);
15
bins
= _ps.
getParameter
<
int
>(
"hist_bins_"
+ _suffix);
16
}
17
};
18
19
#endif
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
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:255
ParameterSet.h
HistSpec::min
double min
Definition:
HistSpec.h:7
HistSpec
Definition:
HistSpec.h:6
edm::ParameterSet
Definition:
ParameterSet.h:36
HistSpec::HistSpec
HistSpec(edm::ParameterSet const &_ps, std::string const &_suffix)
Definition:
HistSpec.h:11
Generated for CMSSW Reference Manual by
1.8.5