CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HistSpec.h
Go to the documentation of this file.
1 #ifndef Validation_EcalClusters_HistSpec_h
2 #define Validation_EcalClusters_HistSpec_h
3 
5 
6 struct HistSpec {
7  double min;
8  double max;
9  int bins;
10 
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
int bins
Definition: HistSpec.h:9
double max
Definition: HistSpec.h:8
double min
Definition: HistSpec.h:7
_suffix(iConfig.getParameter< std::string >("mapSuffix"))
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
HistSpec(edm::ParameterSet const &_ps, std::string const &_suffix)
Definition: HistSpec.h:11