24 const std::string&
name,
const std::string&
type,
const std::string&
title,
37 const std::string&
folder ) :
49 std::make_pair( std::numeric_limits<float>::quiet_NaN(),
50 std::numeric_limits<float>::quiet_NaN() );
53 std::make_pair( std::numeric_limits<float>::quiet_NaN(),
54 std::numeric_limits<float>::quiet_NaN() );
57 std::make_pair( std::numeric_limits<float>::quiet_NaN(),
58 std::numeric_limits<float>::quiet_NaN() );
89 (
m_type.find(
"TH1" ) != std::string::npos ) or
90 (
m_type.find(
"TH2" ) != std::string::npos ) or
91 (
m_type.find(
"TH3" ) != std::string::npos ) or
92 (
m_type.find(
"TProfile" ) != std::string::npos ) or
93 (
m_type.find(
"TEfficiency" ) != std::string::npos );
96 const bool sensibleXBins = (
m_nBinsX != 0 ) and ( not std::isnan(
m_nBinsX ) );
97 const bool sensibleYBins = (
m_nBinsY != 0 ) and ( not std::isnan(
m_nBinsY ) );
98 const bool sensibleZBins = (
m_nBinsZ != 0 ) and ( not std::isnan(
m_nBinsZ ) );
103 const bool sensibleXLimits = ( not std::isnan(
m_xAxis.first ) ) and
104 ( not std::isnan(
m_xAxis.second ) ) and
107 const bool sensibleYLimits = ( not std::isnan(
m_yAxis.first ) ) and
108 ( not std::isnan(
m_yAxis.second ) ) and
111 const bool sensibleZLimits = ( not std::isnan(
m_zAxis.first ) ) and
112 ( not std::isnan(
m_zAxis.second ) ) and
116 sane = sane and sensibleXBins and sensibleXLimits;
120 sane = sane and sensibleYBins and sensibleYLimits;
124 sane = sane and sensibleZBins and sensibleZLimits;
SinglePlotDefinition(const std::string &name="", const std::string &type="", const std::string &title="", const std::string &xTitle="", unsigned int nBinsX=0, float xLow=0., float xHigh=0., bool doLogLinBinsX=false, const std::vector< float > &xBinsVec={}, const std::vector< std::string > &xBinLabelsVec={}, const std::string &yTitle="", unsigned int nBinsY=0, float yLow=0., float yHigh=0., bool doLogLinBinsY=false, const std::vector< float > &yBinsVec={}, const std::vector< std::string > &yBinLabelsVec={}, const std::string &zTitle="", unsigned int nBinsZ=0, float zLow=0., float zHigh=0., bool doLogLinBinsZ=false, const std::vector< float > &zBinsVec={}, const std::vector< std::string > &zBinLabelsVec={}, const std::string &folder="")
Parametrised Constructor.