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::HistSpec ( edm::ParameterSet const &  _ps,
std::string const &  _suffix 
)
inline

Definition at line 11 of file HistSpec.h.

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  }

References bins, edm::ParameterSet::getParameter(), max, and min.

Member Data Documentation

◆ bins

int HistSpec::bins

◆ max

double HistSpec::max

◆ min

double HistSpec::min
HistSpec::bins
int bins
Definition: HistSpec.h:9
HistSpec::max
double max
Definition: HistSpec.h:8
HistSpec::min
double min
Definition: HistSpec.h:7