Definition at line 27 of file h2plot.
◆ h1d2plot() [1/2]
tools::sg::h1d2plot::h1d2plot |
( |
const histo::h1d & |
a_data | ) |
|
|
inline |
Definition at line 167 of file h2plot.
169 mem::increment(s_class().c_str());
◆ ~h1d2plot()
virtual tools::sg::h1d2plot::~h1d2plot |
( |
| ) |
|
|
inlinevirtual |
Definition at line 172 of file h2plot.
174 mem::decrement(s_class().c_str());
◆ h1d2plot() [2/2]
tools::sg::h1d2plot::h1d2plot |
( |
const h1d2plot & |
a_from | ) |
|
|
inline |
Definition at line 178 of file h2plot.
179 :plottable(a_from),bins1D(a_from)
185 mem::increment(s_class().c_str());
◆ axis_max()
virtual float tools::sg::h1d2plot::axis_max |
( |
| ) |
const |
|
inlinevirtual |
◆ axis_min()
virtual float tools::sg::h1d2plot::axis_min |
( |
| ) |
const |
|
inlinevirtual |
◆ bin_entries()
virtual unsigned int tools::sg::h1d2plot::bin_entries |
( |
int |
aI | ) |
const |
|
inlinevirtual |
◆ bin_error()
virtual float tools::sg::h1d2plot::bin_error |
( |
int |
aI | ) |
const |
|
inlinevirtual |
◆ bin_lower_edge()
virtual float tools::sg::h1d2plot::bin_lower_edge |
( |
int |
aI | ) |
const |
|
inlinevirtual |
◆ bin_Sw()
virtual float tools::sg::h1d2plot::bin_Sw |
( |
int |
aI | ) |
const |
|
inlinevirtual |
◆ bin_upper_edge()
virtual float tools::sg::h1d2plot::bin_upper_edge |
( |
int |
aI | ) |
const |
|
inlinevirtual |
◆ bins()
virtual unsigned int tools::sg::h1d2plot::bins |
( |
| ) |
const |
|
inlinevirtual |
◆ bins_Sw_range()
virtual void tools::sg::h1d2plot::bins_Sw_range |
( |
float & |
a_mn, |
|
|
float & |
a_mx, |
|
|
bool |
a_with_entries |
|
) |
| const |
|
inlinevirtual |
◆ cast()
virtual void* tools::sg::h1d2plot::cast |
( |
const std::string & |
a_class | ) |
const |
|
inlinevirtual |
◆ copy()
virtual plottable* tools::sg::h1d2plot::copy |
( |
| ) |
const |
|
inlinevirtual |
◆ data()
const histo::h1d& tools::sg::h1d2plot::data |
( |
| ) |
const |
|
inline |
◆ has_entries_per_bin()
virtual bool tools::sg::h1d2plot::has_entries_per_bin |
( |
| ) |
const |
|
inlinevirtual |
◆ infos()
virtual void tools::sg::h1d2plot::infos |
( |
const std::string & |
a_opts, |
|
|
std::string & |
a_sinfos |
|
) |
| const |
|
inlinevirtual |
Implements tools::sg::plottable.
Definition at line 45 of file h2plot.
47 std::string f_lf(
"\n");
48 std::vector<std::string> ws;
49 words(a_opts,
" ",
false,ws);
50 std::vector<std::string>::const_iterator it;
57 for(it=ws.begin();it!=ws.end();++it) {
58 if(((*it)==
"name") &&
m_name.size()) {
59 if(a_sinfos.size()) a_sinfos += f_lf;
64 }
else if((*it)==
"entries") {
65 if(a_sinfos.size()) a_sinfos += f_lf;
66 a_sinfos +=
"Entries";
70 }
else if((*it)==
"mean") {
71 if(a_sinfos.size()) a_sinfos += f_lf;
76 }
else if((*it)==
"rms") {
77 if(a_sinfos.size()) a_sinfos += f_lf;
80 if(!numas<double>(
m_data.
rms(),a_sinfos)) {}
82 }
else if((*it)==
"underflow") {
83 if(a_sinfos.size()) a_sinfos += f_lf;
88 }
else if((*it)==
"overflow") {
89 if(a_sinfos.size()) a_sinfos += f_lf;
◆ is_profile()
virtual bool tools::sg::h1d2plot::is_profile |
( |
| ) |
const |
|
inlinevirtual |
◆ is_valid()
virtual bool tools::sg::h1d2plot::is_valid |
( |
| ) |
const |
|
inlinevirtual |
◆ legend()
virtual const std::string& tools::sg::h1d2plot::legend |
( |
| ) |
const |
|
inlinevirtual |
◆ name()
virtual const std::string& tools::sg::h1d2plot::name |
( |
| ) |
const |
|
inlinevirtual |
◆ operator=()
◆ set_legend()
virtual void tools::sg::h1d2plot::set_legend |
( |
const std::string & |
a_s | ) |
|
|
inlinevirtual |
◆ set_name()
virtual void tools::sg::h1d2plot::set_name |
( |
const std::string & |
a_s | ) |
|
|
inlinevirtual |
◆ title()
virtual const std::string& tools::sg::h1d2plot::title |
( |
| ) |
const |
|
inlinevirtual |
◆ m_data
◆ m_legend
std::string tools::sg::h1d2plot::m_legend |
|
protected |
◆ m_name
std::string tools::sg::h1d2plot::m_name |
|
protected |
The documentation for this class was generated from the following file:
- /Users/barrand/private/dev/softinex/g4tools/g4tools/tools/sg/h2plot