|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef INDETTRACKPERFMON_SINGLEPLOTDEFINITION_H
6 #define INDETTRACKPERFMON_SINGLEPLOTDEFINITION_H
34 const std::string&
name =
"",
const std::string&
type =
"",
const std::string&
title =
"",
35 const std::string&
xTitle =
"",
38 const std::string&
yTitle =
"",
41 const std::string&
zTitle =
"",
44 const std::string&
folder =
"" );
163 #endif // > !INDETTRACKPERFMON_SINGLEPLOTDEFINITION_H
void setxBinsVec(const std::vector< float > &vec)
void setzBinsVec(const std::vector< float > &vec)
void name(std::string_view name_s)
const std::vector< float > & zBinsVec() const
std::vector< float > m_xBinsVec
void type(std::string_view type_s)
void redoPlotDigest()
recompute m_plotDigest
void digest()
recompute m_identifier, m_plotDigest, m_titleDigest, m_is*D
void redoIdDigest()
recompute m_identifier
std::string m_name
main members
std::pair< float, float > axesLimits_t
typedef for axes limits: (lower bound, upper bound)
void doLogLinBinsZ(bool doLogLinBinsZ_b)
const std::string & name() const
~SinglePlotDefinition()=default
Default destructor.
std::vector< size_t > vec
bool m_empty
status member
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::string &yTitle="", unsigned int nBinsY=0, float yLow=0., float yHigh=0., bool doLogLinBinsY=false, const std::vector< float > &yBinsVec={}, const std::string &zTitle="", unsigned int nBinsZ=0, float zLow=0., float zHigh=0., bool doLogLinBinsZ=false, const std::vector< float > &zBinsVec={}, const std::string &folder="")
Parametrised Constructor.
bool doLogLinBinsY() const
unsigned int nBinsX() const
const std::string & identifier() const
void yTitle(std::string_view yTitle_s)
const std::vector< float > & yBinsVec() const
void title(std::string_view title_s)
void folder(std::string_view folder_s)
void doLogLinBinsY(bool doLogLinBinsY_b)
typename vecDetail::vec_typedef< T, N >::type vec
Define a nice alias for the vectorized type.
const std::string & title() const
std::string m_identifier
derived members, i.e. dependant on main members
unsigned int nBinsZ() const
const std::string & type() const
std::string m_titleDigest
void yLimits(float yLow, float yHigh)
void xTitle(std::string_view xTitle_s)
unsigned int nBinsY() const
void zLimits(float zLow, float zHigh)
const std::vector< float > & xBinsVec() const
bool doLogLinBinsZ() const
void setEmpty(bool empty=true)
void nBinsX(float nBinsX_f)
std::vector< float > m_zBinsVec
void redoTitleDigest()
recompute m_titleDigest
const std::string & titleDigest() const
const std::string & plotDigest() const
void zTitle(std::string_view zTitle_s)
void xLimits(float xLow, float xHigh)
SinglePlotDefinition & operator=(const SinglePlotDefinition &)=default
= operator
void setyBinsVec(const std::vector< float > &vec)
const std::string & xTitle() const
std::vector< float > m_yBinsVec
void nBinsY(float nBinsY_f)
const std::string & yTitle() const
const std::string & folder() const
bool doLogLinBinsX() const
void doLogLinBinsX(bool doLogLinBinsX_b)
void nBinsZ(float nBinsZ_f)
void redoTypeDigest()
recompute m_is*D
const std::string & zTitle() const