CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 bins, edm::ParameterSet::getParameter(), max, and min.

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  }
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