ATLAS Offline Software
Public Types | Public Member Functions | Private Attributes | List of all members
IDTPM::SinglePlotDefinition Class Reference

#include <SinglePlotDefinition.h>

Collaboration diagram for IDTPM::SinglePlotDefinition:

Public Types

typedef std::pair< float, float > axesLimits_t
 typedef for axes limits: (lower bound, upper bound) More...
 

Public Member Functions

 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. More...
 
 ~SinglePlotDefinition ()=default
 Default destructor. More...
 
SinglePlotDefinitionoperator= (const SinglePlotDefinition &)=default
 = operator More...
 
const std::string & name () const
 
const std::string & type () const
 
const std::string & title () const
 
const std::string & xTitle () const
 
const std::string & yTitle () const
 
const std::string & zTitle () const
 
unsigned int nBinsX () const
 
unsigned int nBinsY () const
 
unsigned int nBinsZ () const
 
float xLow () const
 
float xHigh () const
 
float yLow () const
 
float yHigh () const
 
float zLow () const
 
float zHigh () const
 
bool doLogLinBinsX () const
 
bool doLogLinBinsY () const
 
bool doLogLinBinsZ () const
 
const std::vector< float > & xBinsVec () const
 
const std::vector< float > & yBinsVec () const
 
const std::vector< float > & zBinsVec () const
 
bool doVarBinsX () const
 
bool doVarBinsY () const
 
bool doVarBinsZ () const
 
const std::string & folder () const
 
bool isEmpty () const
 
const std::string & identifier () const
 
const std::string & plotDigest () const
 
const std::string & titleDigest () const
 
bool isValid () const
 
void name (std::string_view name_s)
 
void type (std::string_view type_s)
 
void title (std::string_view title_s)
 
void xTitle (std::string_view xTitle_s)
 
void yTitle (std::string_view yTitle_s)
 
void zTitle (std::string_view zTitle_s)
 
void nBinsX (float nBinsX_f)
 
void nBinsY (float nBinsY_f)
 
void nBinsZ (float nBinsZ_f)
 
void xLimits (float xLow, float xHigh)
 
void yLimits (float yLow, float yHigh)
 
void zLimits (float zLow, float zHigh)
 
void doLogLinBinsX (bool doLogLinBinsX_b)
 
void doLogLinBinsY (bool doLogLinBinsY_b)
 
void doLogLinBinsZ (bool doLogLinBinsZ_b)
 
void setxBinsVec (const std::vector< float > &vec)
 
void setyBinsVec (const std::vector< float > &vec)
 
void setzBinsVec (const std::vector< float > &vec)
 
void folder (std::string_view folder_s)
 
void setEmpty (bool empty=true)
 
void redoIdDigest ()
 recompute m_identifier More...
 
void redoPlotDigest ()
 recompute m_plotDigest More...
 
void redoTitleDigest ()
 recompute m_titleDigest More...
 
void redoTypeDigest ()
 recompute m_is*D More...
 
void digest ()
 recompute m_identifier, m_plotDigest, m_titleDigest, m_is*D More...
 

Private Attributes

std::string m_name
 main members More...
 
std::string m_type
 
std::string m_title
 
std::string m_xTitle
 
std::string m_yTitle
 
std::string m_zTitle
 
unsigned int m_nBinsX
 
unsigned int m_nBinsY
 
unsigned int m_nBinsZ
 
axesLimits_t m_xAxis
 
axesLimits_t m_yAxis
 
axesLimits_t m_zAxis
 
bool m_doLogLinBinsX
 
bool m_doLogLinBinsY
 
bool m_doLogLinBinsZ
 
std::vector< float > m_xBinsVec
 
std::vector< float > m_yBinsVec
 
std::vector< float > m_zBinsVec
 
std::string m_folder
 
bool m_empty
 status member More...
 
std::string m_identifier
 derived members, i.e. dependant on main members More...
 
std::string m_plotDigest
 
std::string m_titleDigest
 
bool m_is1D
 
bool m_is2D
 
bool m_is3D
 

Detailed Description

Definition at line 25 of file SinglePlotDefinition.h.

Member Typedef Documentation

◆ axesLimits_t

typedef std::pair< float, float > IDTPM::SinglePlotDefinition::axesLimits_t

typedef for axes limits: (lower bound, upper bound)

Definition at line 30 of file SinglePlotDefinition.h.

Constructor & Destructor Documentation

◆ SinglePlotDefinition()

IDTPM::SinglePlotDefinition::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.

Local include(s)

STL include(s)


--— Constructor --—

initialise title = name if title is empty

initialising axes ranges

Recomputing limits and sizes (for variable bin sizes)

Sanity check

Definition at line 23 of file SinglePlotDefinition.cxx.

34  :
35  m_name( name ), m_type( type ), m_title( title ),
39  m_folder( folder ), m_is1D( false ), m_is2D( false ), m_is3D( false )
40 {
42  if( m_title.empty() ) m_title = m_name;
43 
45  m_xAxis = ( nBinsX != 0 ) ? std::make_pair( xLow, xHigh ) :
46  std::make_pair( std::numeric_limits<float>::quiet_NaN(),
47  std::numeric_limits<float>::quiet_NaN() );
48 
49  m_yAxis = ( nBinsY != 0 ) ? std::make_pair( yLow, yHigh ) :
50  std::make_pair( std::numeric_limits<float>::quiet_NaN(),
51  std::numeric_limits<float>::quiet_NaN() );
52 
53  m_zAxis = ( nBinsZ != 0 ) ? std::make_pair( zLow, zHigh ) :
54  std::make_pair( std::numeric_limits<float>::quiet_NaN(),
55  std::numeric_limits<float>::quiet_NaN() );
56 
59 
61  m_empty = not isValid();
62 
63  // Re-compute digest strings
64  if( not m_empty ) digest();
65 }

◆ ~SinglePlotDefinition()

IDTPM::SinglePlotDefinition::~SinglePlotDefinition ( )
default

Default destructor.

Member Function Documentation

◆ digest()

void IDTPM::SinglePlotDefinition::digest ( )
inline

recompute m_identifier, m_plotDigest, m_titleDigest, m_is*D

Definition at line 131 of file SinglePlotDefinition.h.

131  {
132  redoIdDigest();
133  redoPlotDigest();
134  redoTitleDigest();
135  redoTypeDigest();
136  }

◆ doLogLinBinsX() [1/2]

bool IDTPM::SinglePlotDefinition::doLogLinBinsX ( ) const
inline

Definition at line 70 of file SinglePlotDefinition.h.

70 { return m_doLogLinBinsX; }

◆ doLogLinBinsX() [2/2]

void IDTPM::SinglePlotDefinition::doLogLinBinsX ( bool  doLogLinBinsX_b)
inline

Definition at line 103 of file SinglePlotDefinition.h.

103 { m_doLogLinBinsX = doLogLinBinsX_b; }

◆ doLogLinBinsY() [1/2]

bool IDTPM::SinglePlotDefinition::doLogLinBinsY ( ) const
inline

Definition at line 71 of file SinglePlotDefinition.h.

71 { return m_doLogLinBinsY; }

◆ doLogLinBinsY() [2/2]

void IDTPM::SinglePlotDefinition::doLogLinBinsY ( bool  doLogLinBinsY_b)
inline

Definition at line 104 of file SinglePlotDefinition.h.

104 { m_doLogLinBinsY = doLogLinBinsY_b; }

◆ doLogLinBinsZ() [1/2]

bool IDTPM::SinglePlotDefinition::doLogLinBinsZ ( ) const
inline

Definition at line 72 of file SinglePlotDefinition.h.

72 { return m_doLogLinBinsZ; }

◆ doLogLinBinsZ() [2/2]

void IDTPM::SinglePlotDefinition::doLogLinBinsZ ( bool  doLogLinBinsZ_b)
inline

Definition at line 105 of file SinglePlotDefinition.h.

105 { m_doLogLinBinsZ = doLogLinBinsZ_b; }

◆ doVarBinsX()

bool IDTPM::SinglePlotDefinition::doVarBinsX ( ) const
inline

Definition at line 76 of file SinglePlotDefinition.h.

76 { return ( not m_xBinsVec.empty() ); }

◆ doVarBinsY()

bool IDTPM::SinglePlotDefinition::doVarBinsY ( ) const
inline

Definition at line 77 of file SinglePlotDefinition.h.

77 { return ( not m_yBinsVec.empty() ); }

◆ doVarBinsZ()

bool IDTPM::SinglePlotDefinition::doVarBinsZ ( ) const
inline

Definition at line 78 of file SinglePlotDefinition.h.

78 { return ( not m_zBinsVec.empty() ); }

◆ folder() [1/2]

const std::string& IDTPM::SinglePlotDefinition::folder ( ) const
inline

Definition at line 79 of file SinglePlotDefinition.h.

79 { return m_folder; }

◆ folder() [2/2]

void IDTPM::SinglePlotDefinition::folder ( std::string_view  folder_s)
inline

Definition at line 115 of file SinglePlotDefinition.h.

115 { m_folder = folder_s; digest(); }

◆ identifier()

const std::string& IDTPM::SinglePlotDefinition::identifier ( ) const
inline

Definition at line 81 of file SinglePlotDefinition.h.

81 { return m_identifier; }

◆ isEmpty()

bool IDTPM::SinglePlotDefinition::isEmpty ( ) const
inline

Definition at line 80 of file SinglePlotDefinition.h.

80 { return m_empty; }

◆ isValid()

bool IDTPM::SinglePlotDefinition::isValid ( ) const

---— isValid ---—

Is the histogram definition valid

non-valid plot if name or type are undefined

check if type is valid

check if bin numbers are valid

check validity of axes limits NB: if yaxis is left undefined, the limits should be NaN, but (NaN != NaN) is always true, so an extra check is needed

check if x- and y-axis have no title

sanity check for 1D, 2D and 3D plots

sanity check for 2D and 3D plots

sanity check for 3D plots

Definition at line 72 of file SinglePlotDefinition.cxx.

73 {
75  if( m_name.empty() or m_type.empty() ) return false;
76 
78  bool sane =
79  ( m_type.find( "TH1" ) != std::string::npos ) or
80  ( m_type.find( "TH2" ) != std::string::npos ) or
81  ( m_type.find( "TH3" ) != std::string::npos ) or
82  ( m_type.find( "TProfile" ) != std::string::npos ) or // 1D and 2D
83  ( m_type.find( "TEfficiency" ) != std::string::npos ); // 1D and 2D
84 
86  const bool sensibleXBins = ( m_nBinsX != 0 ) and ( not std::isnan( m_nBinsX ) );
87  const bool sensibleYBins = ( m_nBinsY != 0 ) and ( not std::isnan( m_nBinsY ) );
88  const bool sensibleZBins = ( m_nBinsZ != 0 ) and ( not std::isnan( m_nBinsZ ) );
89 
93  const bool sensibleXLimits = ( not std::isnan( m_xAxis.first ) ) and
94  ( not std::isnan( m_xAxis.second ) ) and
95  ( m_xAxis.first != m_xAxis.second );
96 
97  const bool sensibleYLimits = ( not std::isnan( m_yAxis.first ) ) and
98  ( not std::isnan( m_yAxis.second ) ) and
99  ( m_yAxis.first != m_yAxis.second );
100 
101  const bool sensibleZLimits = ( not std::isnan( m_zAxis.first ) ) and
102  ( not std::isnan( m_zAxis.second ) ) and
103  ( m_zAxis.first != m_zAxis.second );
104 
106  sane = sane and ( not( m_xTitle.empty() or m_yTitle.empty() ) );
107 
109  sane = sane and sensibleXBins and sensibleXLimits;
110 
112  if( m_is2D ) {
113  sane = sane and sensibleYBins and sensibleYLimits;
114 
116  if( m_is3D ) {
117  sane = sane and sensibleZBins and sensibleZLimits and ( not m_zTitle.empty() );
118  }
119  }
120 
121  return sane;
122 }

◆ name() [1/2]

const std::string& IDTPM::SinglePlotDefinition::name ( ) const
inline

-— getter methods -—

Definition at line 55 of file SinglePlotDefinition.h.

55 { return m_name; }

◆ name() [2/2]

void IDTPM::SinglePlotDefinition::name ( std::string_view  name_s)
inline

-— setter methods -—

These need and are followed by the recomputing of the digest strings

Definition at line 91 of file SinglePlotDefinition.h.

91 { m_name = name_s; digest(); }

◆ nBinsX() [1/2]

unsigned int IDTPM::SinglePlotDefinition::nBinsX ( ) const
inline

Definition at line 61 of file SinglePlotDefinition.h.

61 { return m_nBinsX; }

◆ nBinsX() [2/2]

void IDTPM::SinglePlotDefinition::nBinsX ( float  nBinsX_f)
inline

Definition at line 97 of file SinglePlotDefinition.h.

97 { m_nBinsX = nBinsX_f; digest(); }

◆ nBinsY() [1/2]

unsigned int IDTPM::SinglePlotDefinition::nBinsY ( ) const
inline

Definition at line 62 of file SinglePlotDefinition.h.

62 { return m_nBinsY; }

◆ nBinsY() [2/2]

void IDTPM::SinglePlotDefinition::nBinsY ( float  nBinsY_f)
inline

Definition at line 98 of file SinglePlotDefinition.h.

98 { m_nBinsY = nBinsY_f; digest(); }

◆ nBinsZ() [1/2]

unsigned int IDTPM::SinglePlotDefinition::nBinsZ ( ) const
inline

Definition at line 63 of file SinglePlotDefinition.h.

63 { return m_nBinsZ; }

◆ nBinsZ() [2/2]

void IDTPM::SinglePlotDefinition::nBinsZ ( float  nBinsZ_f)
inline

Definition at line 99 of file SinglePlotDefinition.h.

99 { m_nBinsZ = nBinsZ_f; digest(); }

◆ operator=()

SinglePlotDefinition& IDTPM::SinglePlotDefinition::operator= ( const SinglePlotDefinition )
default

= operator

◆ plotDigest()

const std::string& IDTPM::SinglePlotDefinition::plotDigest ( ) const
inline

Definition at line 82 of file SinglePlotDefinition.h.

82 { return m_plotDigest; }

◆ redoIdDigest()

void IDTPM::SinglePlotDefinition::redoIdDigest ( )

recompute m_identifier


— redoIdDigest —

recompute plot identifier, i.e.: "folder/name" or "name" if folder is empty

reduce: "/folder" -> "folder"

add a slash: "folder" -> "folder/"

Definition at line 130 of file SinglePlotDefinition.cxx.

131 {
132  if( m_folder.empty() ){
134  } else {
136  if( m_folder[0] == '/' ) {
137  m_folder.erase( m_folder.begin() );
138  }
140  if( m_folder.back() != '/' ) m_folder += "/";
142  }
143 }

◆ redoPlotDigest()

void IDTPM::SinglePlotDefinition::redoPlotDigest ( )

recompute m_plotDigest


— redoPlotDigest —

recompute single-line representation of the plot definition

Definition at line 150 of file SinglePlotDefinition.cxx.

151 {
152  std::stringstream ss;
153  ss << m_name << " - " << m_type << " - " << m_title
154  << " - " << m_xTitle << " : (" << m_nBinsX << ", " << m_xAxis.first << ", " << m_xAxis.second << " )"
155  << " - " << m_yTitle << " : (" << m_nBinsY << ", " << m_yAxis.first << ", " << m_yAxis.second << " )"
156  << " - " << m_zTitle << " : (" << m_nBinsZ << ", " << m_zAxis.first << ", " << m_zAxis.second << " )";
157 
158  m_plotDigest = ss.str();
159 }

◆ redoTitleDigest()

void IDTPM::SinglePlotDefinition::redoTitleDigest ( )

recompute m_titleDigest


— redoTitleDigest —

recompute single-line representation of the titles (titles separated by the ';' delimiter)

Definition at line 167 of file SinglePlotDefinition.cxx.

168 {
169  std::stringstream ss;
170  ss << m_title << ";" << m_xTitle << ";" << m_yTitle << ";" << m_zTitle;
171 
172  m_titleDigest = ss.str();
173 }

◆ redoTypeDigest()

void IDTPM::SinglePlotDefinition::redoTypeDigest ( )

recompute m_is*D


— redoTypeDigest —

recompute m_is1D, m_is2D and m_is3D

Definition at line 180 of file SinglePlotDefinition.cxx.

181 {
182  m_is1D = ( m_type.find("TH1") != std::string::npos ) or
183  ( m_type == "TProfile" ) or ( m_type == "TEfficiency" );
184 
185  m_is2D = ( m_type.find("TH2") != std::string::npos ) or
186  ( m_type.find("2D") != std::string::npos );
187 
188  m_is3D = ( m_type.find("TH3") != std::string::npos ) or
189  ( m_type.find("3D") != std::string::npos );
190 }

◆ setEmpty()

void IDTPM::SinglePlotDefinition::setEmpty ( bool  empty = true)
inline

Definition at line 116 of file SinglePlotDefinition.h.

116 { m_empty = empty; }

◆ setxBinsVec()

void IDTPM::SinglePlotDefinition::setxBinsVec ( const std::vector< float > &  vec)
inline

Definition at line 106 of file SinglePlotDefinition.h.

106  { if( not vec.empty() ) {
107  m_xBinsVec = vec; m_nBinsX = vec.size() - 1;
108  m_xAxis = std::make_pair( vec.front(), vec.back() ); digest(); } }

◆ setyBinsVec()

void IDTPM::SinglePlotDefinition::setyBinsVec ( const std::vector< float > &  vec)
inline

Definition at line 109 of file SinglePlotDefinition.h.

109  { if( not vec.empty() ) {
110  m_yBinsVec = vec; m_nBinsY = vec.size() - 1;
111  m_yAxis = std::make_pair( vec.front(), vec.back() ); digest(); } }

◆ setzBinsVec()

void IDTPM::SinglePlotDefinition::setzBinsVec ( const std::vector< float > &  vec)
inline

Definition at line 112 of file SinglePlotDefinition.h.

112  { if( not vec.empty() ) {
113  m_zBinsVec = vec; m_nBinsZ = vec.size() - 1;
114  m_zAxis = std::make_pair( vec.front(), vec.back() ); digest(); } }

◆ title() [1/2]

const std::string& IDTPM::SinglePlotDefinition::title ( ) const
inline

Definition at line 57 of file SinglePlotDefinition.h.

57 { return m_title; }

◆ title() [2/2]

void IDTPM::SinglePlotDefinition::title ( std::string_view  title_s)
inline

Definition at line 93 of file SinglePlotDefinition.h.

93 { m_title = title_s; digest(); }

◆ titleDigest()

const std::string& IDTPM::SinglePlotDefinition::titleDigest ( ) const
inline

Definition at line 83 of file SinglePlotDefinition.h.

83 { return m_titleDigest; }

◆ type() [1/2]

const std::string& IDTPM::SinglePlotDefinition::type ( ) const
inline

Definition at line 56 of file SinglePlotDefinition.h.

56 { return m_type; }

◆ type() [2/2]

void IDTPM::SinglePlotDefinition::type ( std::string_view  type_s)
inline

Definition at line 92 of file SinglePlotDefinition.h.

92 { m_type = type_s; digest(); }

◆ xBinsVec()

const std::vector<float>& IDTPM::SinglePlotDefinition::xBinsVec ( ) const
inline

Definition at line 73 of file SinglePlotDefinition.h.

73 { return m_xBinsVec; }

◆ xHigh()

float IDTPM::SinglePlotDefinition::xHigh ( ) const
inline

Definition at line 65 of file SinglePlotDefinition.h.

65 { return m_xAxis.second; }

◆ xLimits()

void IDTPM::SinglePlotDefinition::xLimits ( float  xLow,
float  xHigh 
)
inline

Definition at line 100 of file SinglePlotDefinition.h.

100 { m_xAxis = std::make_pair( xLow, xHigh ); digest(); }

◆ xLow()

float IDTPM::SinglePlotDefinition::xLow ( ) const
inline

Definition at line 64 of file SinglePlotDefinition.h.

64 { return m_xAxis.first; }

◆ xTitle() [1/2]

const std::string& IDTPM::SinglePlotDefinition::xTitle ( ) const
inline

Definition at line 58 of file SinglePlotDefinition.h.

58 { return m_xTitle; }

◆ xTitle() [2/2]

void IDTPM::SinglePlotDefinition::xTitle ( std::string_view  xTitle_s)
inline

Definition at line 94 of file SinglePlotDefinition.h.

94 { m_xTitle = xTitle_s; digest(); }

◆ yBinsVec()

const std::vector<float>& IDTPM::SinglePlotDefinition::yBinsVec ( ) const
inline

Definition at line 74 of file SinglePlotDefinition.h.

74 { return m_yBinsVec; }

◆ yHigh()

float IDTPM::SinglePlotDefinition::yHigh ( ) const
inline

Definition at line 67 of file SinglePlotDefinition.h.

67 { return m_yAxis.second; }

◆ yLimits()

void IDTPM::SinglePlotDefinition::yLimits ( float  yLow,
float  yHigh 
)
inline

Definition at line 101 of file SinglePlotDefinition.h.

101 { m_yAxis = std::make_pair( yLow, yHigh ); digest(); }

◆ yLow()

float IDTPM::SinglePlotDefinition::yLow ( ) const
inline

Definition at line 66 of file SinglePlotDefinition.h.

66 { return m_yAxis.first; }

◆ yTitle() [1/2]

const std::string& IDTPM::SinglePlotDefinition::yTitle ( ) const
inline

Definition at line 59 of file SinglePlotDefinition.h.

59 { return m_yTitle; }

◆ yTitle() [2/2]

void IDTPM::SinglePlotDefinition::yTitle ( std::string_view  yTitle_s)
inline

Definition at line 95 of file SinglePlotDefinition.h.

95 { m_yTitle = yTitle_s; digest(); }

◆ zBinsVec()

const std::vector<float>& IDTPM::SinglePlotDefinition::zBinsVec ( ) const
inline

Definition at line 75 of file SinglePlotDefinition.h.

75 { return m_zBinsVec; }

◆ zHigh()

float IDTPM::SinglePlotDefinition::zHigh ( ) const
inline

Definition at line 69 of file SinglePlotDefinition.h.

69 { return m_zAxis.second; }

◆ zLimits()

void IDTPM::SinglePlotDefinition::zLimits ( float  zLow,
float  zHigh 
)
inline

Definition at line 102 of file SinglePlotDefinition.h.

102 { m_zAxis = std::make_pair( zLow, zHigh ); digest(); }

◆ zLow()

float IDTPM::SinglePlotDefinition::zLow ( ) const
inline

Definition at line 68 of file SinglePlotDefinition.h.

68 { return m_zAxis.first; }

◆ zTitle() [1/2]

const std::string& IDTPM::SinglePlotDefinition::zTitle ( ) const
inline

Definition at line 60 of file SinglePlotDefinition.h.

60 { return m_zTitle; }

◆ zTitle() [2/2]

void IDTPM::SinglePlotDefinition::zTitle ( std::string_view  zTitle_s)
inline

Definition at line 96 of file SinglePlotDefinition.h.

96 { m_zTitle = zTitle_s; digest(); }

Member Data Documentation

◆ m_doLogLinBinsX

bool IDTPM::SinglePlotDefinition::m_doLogLinBinsX
private

Definition at line 146 of file SinglePlotDefinition.h.

◆ m_doLogLinBinsY

bool IDTPM::SinglePlotDefinition::m_doLogLinBinsY
private

Definition at line 146 of file SinglePlotDefinition.h.

◆ m_doLogLinBinsZ

bool IDTPM::SinglePlotDefinition::m_doLogLinBinsZ
private

Definition at line 146 of file SinglePlotDefinition.h.

◆ m_empty

bool IDTPM::SinglePlotDefinition::m_empty
private

status member

Definition at line 151 of file SinglePlotDefinition.h.

◆ m_folder

std::string IDTPM::SinglePlotDefinition::m_folder
private

Definition at line 148 of file SinglePlotDefinition.h.

◆ m_identifier

std::string IDTPM::SinglePlotDefinition::m_identifier
private

derived members, i.e. dependant on main members

Definition at line 154 of file SinglePlotDefinition.h.

◆ m_is1D

bool IDTPM::SinglePlotDefinition::m_is1D
private

Definition at line 157 of file SinglePlotDefinition.h.

◆ m_is2D

bool IDTPM::SinglePlotDefinition::m_is2D
private

Definition at line 157 of file SinglePlotDefinition.h.

◆ m_is3D

bool IDTPM::SinglePlotDefinition::m_is3D
private

Definition at line 157 of file SinglePlotDefinition.h.

◆ m_name

std::string IDTPM::SinglePlotDefinition::m_name
private

main members

Definition at line 141 of file SinglePlotDefinition.h.

◆ m_nBinsX

unsigned int IDTPM::SinglePlotDefinition::m_nBinsX
private

Definition at line 144 of file SinglePlotDefinition.h.

◆ m_nBinsY

unsigned int IDTPM::SinglePlotDefinition::m_nBinsY
private

Definition at line 144 of file SinglePlotDefinition.h.

◆ m_nBinsZ

unsigned int IDTPM::SinglePlotDefinition::m_nBinsZ
private

Definition at line 144 of file SinglePlotDefinition.h.

◆ m_plotDigest

std::string IDTPM::SinglePlotDefinition::m_plotDigest
private

Definition at line 155 of file SinglePlotDefinition.h.

◆ m_title

std::string IDTPM::SinglePlotDefinition::m_title
private

Definition at line 143 of file SinglePlotDefinition.h.

◆ m_titleDigest

std::string IDTPM::SinglePlotDefinition::m_titleDigest
private

Definition at line 156 of file SinglePlotDefinition.h.

◆ m_type

std::string IDTPM::SinglePlotDefinition::m_type
private

Definition at line 142 of file SinglePlotDefinition.h.

◆ m_xAxis

axesLimits_t IDTPM::SinglePlotDefinition::m_xAxis
private

Definition at line 145 of file SinglePlotDefinition.h.

◆ m_xBinsVec

std::vector<float> IDTPM::SinglePlotDefinition::m_xBinsVec
private

Definition at line 147 of file SinglePlotDefinition.h.

◆ m_xTitle

std::string IDTPM::SinglePlotDefinition::m_xTitle
private

Definition at line 143 of file SinglePlotDefinition.h.

◆ m_yAxis

axesLimits_t IDTPM::SinglePlotDefinition::m_yAxis
private

Definition at line 145 of file SinglePlotDefinition.h.

◆ m_yBinsVec

std::vector<float> IDTPM::SinglePlotDefinition::m_yBinsVec
private

Definition at line 147 of file SinglePlotDefinition.h.

◆ m_yTitle

std::string IDTPM::SinglePlotDefinition::m_yTitle
private

Definition at line 143 of file SinglePlotDefinition.h.

◆ m_zAxis

axesLimits_t IDTPM::SinglePlotDefinition::m_zAxis
private

Definition at line 145 of file SinglePlotDefinition.h.

◆ m_zBinsVec

std::vector<float> IDTPM::SinglePlotDefinition::m_zBinsVec
private

Definition at line 147 of file SinglePlotDefinition.h.

◆ m_zTitle

std::string IDTPM::SinglePlotDefinition::m_zTitle
private

Definition at line 143 of file SinglePlotDefinition.h.


The documentation for this class was generated from the following files:
IDTPM::SinglePlotDefinition::setxBinsVec
void setxBinsVec(const std::vector< float > &vec)
Definition: SinglePlotDefinition.h:106
IDTPM::SinglePlotDefinition::m_zTitle
std::string m_zTitle
Definition: SinglePlotDefinition.h:143
IDTPM::SinglePlotDefinition::setzBinsVec
void setzBinsVec(const std::vector< float > &vec)
Definition: SinglePlotDefinition.h:112
IDTPM::SinglePlotDefinition::zBinsVec
const std::vector< float > & zBinsVec() const
Definition: SinglePlotDefinition.h:75
IDTPM::SinglePlotDefinition::m_nBinsX
unsigned int m_nBinsX
Definition: SinglePlotDefinition.h:144
IDTPM::SinglePlotDefinition::m_folder
std::string m_folder
Definition: SinglePlotDefinition.h:148
IDTPM::SinglePlotDefinition::m_type
std::string m_type
Definition: SinglePlotDefinition.h:142
IDTPM::SinglePlotDefinition::m_doLogLinBinsZ
bool m_doLogLinBinsZ
Definition: SinglePlotDefinition.h:146
IDTPM::SinglePlotDefinition::m_xBinsVec
std::vector< float > m_xBinsVec
Definition: SinglePlotDefinition.h:147
PowhegControl_ttHplus_NLO.ss
ss
Definition: PowhegControl_ttHplus_NLO.py:83
IDTPM::SinglePlotDefinition::redoPlotDigest
void redoPlotDigest()
recompute m_plotDigest
Definition: SinglePlotDefinition.cxx:150
IDTPM::SinglePlotDefinition::digest
void digest()
recompute m_identifier, m_plotDigest, m_titleDigest, m_is*D
Definition: SinglePlotDefinition.h:131
IDTPM::SinglePlotDefinition::redoIdDigest
void redoIdDigest()
recompute m_identifier
Definition: SinglePlotDefinition.cxx:130
IDTPM::SinglePlotDefinition::m_name
std::string m_name
main members
Definition: SinglePlotDefinition.h:141
IDTPM::SinglePlotDefinition::name
const std::string & name() const
Definition: SinglePlotDefinition.h:55
IDTPM::SinglePlotDefinition::isValid
bool isValid() const
Definition: SinglePlotDefinition.cxx:72
IDTPM::SinglePlotDefinition::m_doLogLinBinsY
bool m_doLogLinBinsY
Definition: SinglePlotDefinition.h:146
IDTPM::SinglePlotDefinition::yLow
float yLow() const
Definition: SinglePlotDefinition.h:66
vec
std::vector< size_t > vec
Definition: CombinationsGeneratorTest.cxx:12
IDTPM::SinglePlotDefinition::m_empty
bool m_empty
status member
Definition: SinglePlotDefinition.h:151
IDTPM::SinglePlotDefinition::m_xTitle
std::string m_xTitle
Definition: SinglePlotDefinition.h:143
IDTPM::SinglePlotDefinition::m_yAxis
axesLimits_t m_yAxis
Definition: SinglePlotDefinition.h:145
IDTPM::SinglePlotDefinition::doLogLinBinsY
bool doLogLinBinsY() const
Definition: SinglePlotDefinition.h:71
IDTPM::SinglePlotDefinition::nBinsX
unsigned int nBinsX() const
Definition: SinglePlotDefinition.h:61
empty
bool empty(TH1 *h)
Definition: computils.cxx:295
IDTPM::SinglePlotDefinition::yBinsVec
const std::vector< float > & yBinsVec() const
Definition: SinglePlotDefinition.h:74
IDTPM::SinglePlotDefinition::xHigh
float xHigh() const
Definition: SinglePlotDefinition.h:65
IDTPM::SinglePlotDefinition::m_plotDigest
std::string m_plotDigest
Definition: SinglePlotDefinition.h:155
CxxUtils::vec
typename vecDetail::vec_typedef< T, N >::type vec
Define a nice alias for the vectorized type.
Definition: vec.h:207
IDTPM::SinglePlotDefinition::m_title
std::string m_title
Definition: SinglePlotDefinition.h:143
IDTPM::SinglePlotDefinition::title
const std::string & title() const
Definition: SinglePlotDefinition.h:57
IDTPM::SinglePlotDefinition::m_identifier
std::string m_identifier
derived members, i.e. dependant on main members
Definition: SinglePlotDefinition.h:154
IDTPM::SinglePlotDefinition::nBinsZ
unsigned int nBinsZ() const
Definition: SinglePlotDefinition.h:63
IDTPM::SinglePlotDefinition::type
const std::string & type() const
Definition: SinglePlotDefinition.h:56
IDTPM::SinglePlotDefinition::m_titleDigest
std::string m_titleDigest
Definition: SinglePlotDefinition.h:156
IDTPM::SinglePlotDefinition::zHigh
float zHigh() const
Definition: SinglePlotDefinition.h:69
IDTPM::SinglePlotDefinition::nBinsY
unsigned int nBinsY() const
Definition: SinglePlotDefinition.h:62
IDTPM::SinglePlotDefinition::yHigh
float yHigh() const
Definition: SinglePlotDefinition.h:67
IDTPM::SinglePlotDefinition::m_nBinsY
unsigned int m_nBinsY
Definition: SinglePlotDefinition.h:144
IDTPM::SinglePlotDefinition::xBinsVec
const std::vector< float > & xBinsVec() const
Definition: SinglePlotDefinition.h:73
IDTPM::SinglePlotDefinition::xLow
float xLow() const
Definition: SinglePlotDefinition.h:64
IDTPM::SinglePlotDefinition::doLogLinBinsZ
bool doLogLinBinsZ() const
Definition: SinglePlotDefinition.h:72
IDTPM::SinglePlotDefinition::m_xAxis
axesLimits_t m_xAxis
Definition: SinglePlotDefinition.h:145
IDTPM::SinglePlotDefinition::m_is2D
bool m_is2D
Definition: SinglePlotDefinition.h:157
IDTPM::SinglePlotDefinition::m_zBinsVec
std::vector< float > m_zBinsVec
Definition: SinglePlotDefinition.h:147
IDTPM::SinglePlotDefinition::redoTitleDigest
void redoTitleDigest()
recompute m_titleDigest
Definition: SinglePlotDefinition.cxx:167
IDTPM::SinglePlotDefinition::m_is3D
bool m_is3D
Definition: SinglePlotDefinition.h:157
IDTPM::SinglePlotDefinition::m_is1D
bool m_is1D
Definition: SinglePlotDefinition.h:157
IDTPM::SinglePlotDefinition::setyBinsVec
void setyBinsVec(const std::vector< float > &vec)
Definition: SinglePlotDefinition.h:109
IDTPM::SinglePlotDefinition::xTitle
const std::string & xTitle() const
Definition: SinglePlotDefinition.h:58
IDTPM::SinglePlotDefinition::m_yBinsVec
std::vector< float > m_yBinsVec
Definition: SinglePlotDefinition.h:147
IDTPM::SinglePlotDefinition::m_zAxis
axesLimits_t m_zAxis
Definition: SinglePlotDefinition.h:145
IDTPM::SinglePlotDefinition::m_nBinsZ
unsigned int m_nBinsZ
Definition: SinglePlotDefinition.h:144
IDTPM::SinglePlotDefinition::zLow
float zLow() const
Definition: SinglePlotDefinition.h:68
IDTPM::SinglePlotDefinition::m_yTitle
std::string m_yTitle
Definition: SinglePlotDefinition.h:143
IDTPM::SinglePlotDefinition::m_doLogLinBinsX
bool m_doLogLinBinsX
Definition: SinglePlotDefinition.h:146
IDTPM::SinglePlotDefinition::yTitle
const std::string & yTitle() const
Definition: SinglePlotDefinition.h:59
IDTPM::SinglePlotDefinition::folder
const std::string & folder() const
Definition: SinglePlotDefinition.h:79
IDTPM::SinglePlotDefinition::doLogLinBinsX
bool doLogLinBinsX() const
Definition: SinglePlotDefinition.h:70
IDTPM::SinglePlotDefinition::redoTypeDigest
void redoTypeDigest()
recompute m_is*D
Definition: SinglePlotDefinition.cxx:180
IDTPM::SinglePlotDefinition::zTitle
const std::string & zTitle() const
Definition: SinglePlotDefinition.h:60