CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
HistSpec Struct Reference

#include <HistSpec.h>

Public Member Functions

 HistSpec (edm::ParameterSet const &_ps, std::string const &_suffix)
 

Public Attributes

int bins
 
double max
 
double min
 

Detailed Description

Definition at line 6 of file HistSpec.h.

Constructor & Destructor Documentation

HistSpec::HistSpec ( edm::ParameterSet const &  _ps,
std::string const &  _suffix 
)
inline

Definition at line 11 of file HistSpec.h.

References edm::ParameterSet::getParameter().

11  {
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  }
int bins
Definition: HistSpec.h:9
double max
Definition: HistSpec.h:8
double min
Definition: HistSpec.h:7

Member Data Documentation

int HistSpec::bins
double HistSpec::max
double HistSpec::min