g4tools  5.4.0
Public Member Functions | Protected Attributes | List of all members
tools::sg::h2d2plot_cp Class Reference
Inheritance diagram for tools::sg::h2d2plot_cp:
Inheritance graph
[legend]
Collaboration diagram for tools::sg::h2d2plot_cp:
Collaboration graph
[legend]

Public Member Functions

virtual void * cast (const std::string &a_class) const
 
virtual plottablecopy () const
 
 h2d2plot_cp (const histo::h2d &a_data)
 
virtual ~h2d2plot_cp ()
 
 h2d2plot_cp (const h2d2plot_cp &a_from)
 
h2d2plot_cpoperator= (const h2d2plot_cp &a_from)
 
- Public Member Functions inherited from tools::sg::h2d2plot
virtual bool is_valid () const
 
virtual const std::string & name () const
 
virtual void set_name (const std::string &a_s)
 
virtual const std::string & title () const
 
virtual const std::string & legend () const
 
virtual void set_legend (const std::string &a_s)
 
virtual void infos (const std::string &a_opts, std::string &a_sinfos) const
 
virtual void bins_Sw_range (float &a_mn, float &a_mx, bool a_with_entries) const
 
virtual unsigned int x_bins () const
 
virtual unsigned int y_bins () const
 
virtual float x_axis_min () const
 
virtual float x_axis_max () const
 
virtual float y_axis_min () const
 
virtual float y_axis_max () const
 
virtual float bin_lower_edge_x (int aI) const
 
virtual float bin_upper_edge_x (int aI) const
 
virtual float bin_lower_edge_y (int aI) const
 
virtual float bin_upper_edge_y (int aI) const
 
virtual bool has_entries_per_bin () const
 
virtual unsigned int bin_entries (int aI, int aJ) const
 
virtual float bin_Sw (int aI, int aJ) const
 
virtual float bin_error (int aI, int aJ) const
 
 h2d2plot (const histo::h2d &a_data)
 
virtual ~h2d2plot ()
 
 h2d2plot (const h2d2plot &a_from)
 
h2d2plotoperator= (const h2d2plot &a_from)
 
- Public Member Functions inherited from tools::sg::bins2D
virtual ~bins2D ()
 
- Public Member Functions inherited from tools::sg::plottable
virtual ~plottable ()
 

Protected Attributes

histo::h2d m_cp
 
- Protected Attributes inherited from tools::sg::h2d2plot
const histo::h2dm_data
 
std::string m_name
 
std::string m_legend
 

Detailed Description

Definition at line 64 of file h2plot_cp.

Constructor & Destructor Documentation

◆ h2d2plot_cp() [1/2]

tools::sg::h2d2plot_cp::h2d2plot_cp ( const histo::h2d a_data)
inline

Definition at line 75 of file h2plot_cp.

76  :h2d2plot(m_cp)
77  ,m_cp(a_data)
78  {
79 #ifdef TOOLS_MEM
80  mem::increment(s_class().c_str());
81 #endif
82  }

◆ ~h2d2plot_cp()

virtual tools::sg::h2d2plot_cp::~h2d2plot_cp ( )
inlinevirtual

Definition at line 83 of file h2plot_cp.

83  {
84 #ifdef TOOLS_MEM
85  mem::decrement(s_class().c_str());
86 #endif
87  }

◆ h2d2plot_cp() [2/2]

tools::sg::h2d2plot_cp::h2d2plot_cp ( const h2d2plot_cp a_from)
inline

Definition at line 89 of file h2plot_cp.

90  :plottable(a_from),bins2D(a_from),h2d2plot(m_cp)
91  ,m_cp(a_from.m_cp)
92  {
93 #ifdef TOOLS_MEM
94  mem::increment(s_class().c_str());
95 #endif
96  }

Member Function Documentation

◆ cast()

virtual void* tools::sg::h2d2plot_cp::cast ( const std::string &  a_class) const
inlinevirtual

Reimplemented from tools::sg::h2d2plot.

Definition at line 68 of file h2plot_cp.

68  {
69  if(void* p = cmp_cast<h2d2plot_cp>(this,a_class)) {return p;}
70  return h2d2plot::cast(a_class);
71  }

◆ copy()

virtual plottable* tools::sg::h2d2plot_cp::copy ( ) const
inlinevirtual

Reimplemented from tools::sg::h2d2plot.

Definition at line 73 of file h2plot_cp.

73 {return new h2d2plot_cp(*this);}

◆ operator=()

h2d2plot_cp& tools::sg::h2d2plot_cp::operator= ( const h2d2plot_cp a_from)
inline

Definition at line 97 of file h2plot_cp.

97  {
98  h2d2plot::operator=(a_from);
99  m_cp = a_from.m_cp;
100  return *this;
101  }

Member Data Documentation

◆ m_cp

histo::h2d tools::sg::h2d2plot_cp::m_cp
protected

Definition at line 103 of file h2plot_cp.


The documentation for this class was generated from the following file:
tools::sg::h2d2plot_cp::m_cp
histo::h2d m_cp
Definition: h2plot_cp:103
tools::sg::h2d2plot::cast
virtual void * cast(const std::string &a_class) const
Definition: h2plot:205
tools::sg::h2d2plot::operator=
h2d2plot & operator=(const h2d2plot &a_from)
Definition: h2plot:309
tools::sg::h2d2plot_cp::h2d2plot_cp
h2d2plot_cp(const histo::h2d &a_data)
Definition: h2plot_cp:75
tools::sg::h2d2plot::h2d2plot
h2d2plot(const histo::h2d &a_data)
Definition: h2plot:286