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
JPTJetAnalyzer::HistogramConfig Struct Reference

Helper class to hold the configuration for a histogram. More...

Public Member Functions

 HistogramConfig ()
 
 HistogramConfig (const unsigned int theNBins, const double theMin, const double theMax)
 
 HistogramConfig (const unsigned int theNBinsX, const double theMinX, const double theMaxX, const unsigned int theNBinsY, const double theMinY, const double theMaxY)
 

Public Attributes

bool enabled
 
double max
 
double maxY
 
double min
 
double minY
 
unsigned int nBins
 
unsigned int nBinsY
 

Detailed Description

Helper class to hold the configuration for a histogram.

Definition at line 67 of file JPTJetAnalyzer.h.

Constructor & Destructor Documentation

JPTJetAnalyzer::HistogramConfig::HistogramConfig ( )

Definition at line 662 of file JPTJetAnalyzer.cc.

JPTJetAnalyzer::HistogramConfig::HistogramConfig ( const unsigned int  theNBins,
const double  theMin,
const double  theMax 
)

Definition at line 672 of file JPTJetAnalyzer.cc.

673  : enabled(true),
674  nBins(theNBins),
675  min(theMin),
676  max(theMax),
677  nBinsY(0),
678  minY(0),
679  maxY(0)
680 {}
JPTJetAnalyzer::HistogramConfig::HistogramConfig ( const unsigned int  theNBinsX,
const double  theMinX,
const double  theMaxX,
const unsigned int  theNBinsY,
const double  theMinY,
const double  theMaxY 
)

Definition at line 682 of file JPTJetAnalyzer.cc.

684  : enabled(true),
685  nBins(theNBinsX),
686  min(theMinX),
687  max(theMaxX),
688  nBinsY(theNBinsY),
689  minY(theMinY),
690  maxY(theMaxY)
691 {}

Member Data Documentation

bool JPTJetAnalyzer::HistogramConfig::enabled
double JPTJetAnalyzer::HistogramConfig::max
double JPTJetAnalyzer::HistogramConfig::maxY

Definition at line 74 of file JPTJetAnalyzer.h.

Referenced by JPTJetAnalyzer::book2DHistogram().

double JPTJetAnalyzer::HistogramConfig::min
double JPTJetAnalyzer::HistogramConfig::minY

Definition at line 73 of file JPTJetAnalyzer.h.

Referenced by JPTJetAnalyzer::book2DHistogram().

unsigned int JPTJetAnalyzer::HistogramConfig::nBins
unsigned int JPTJetAnalyzer::HistogramConfig::nBinsY

Definition at line 72 of file JPTJetAnalyzer.h.

Referenced by JPTJetAnalyzer::book2DHistogram().