|
static const std::string & | s_class () |
|
Definition at line 119 of file dps.
◆ dps() [1/3]
tools::histo::dps::dps |
( |
| ) |
|
|
inline |
Definition at line 126 of file dps.
◆ dps() [2/3]
tools::histo::dps::dps |
( |
const std::string & |
a_title, |
|
|
unsigned int |
a_dim |
|
) |
| |
|
inline |
Definition at line 128 of file dps.
◆ ~dps()
virtual tools::histo::dps::~dps |
( |
| ) |
|
|
inlinevirtual |
Definition at line 131 of file dps.
◆ dps() [3/3]
tools::histo::dps::dps |
( |
const dps & |
a_from | ) |
|
|
inline |
Definition at line 133 of file dps.
◆ add_point()
Definition at line 164 of file dps.
◆ clear()
void tools::histo::dps::clear |
( |
| ) |
|
|
inline |
Definition at line 152 of file dps.
◆ dimension()
unsigned int tools::histo::dps::dimension |
( |
| ) |
const |
|
inline |
Definition at line 151 of file dps.
◆ lower_extent()
bool tools::histo::dps::lower_extent |
( |
unsigned int |
a_coord, |
|
|
double & |
a_value |
|
) |
| const |
|
inline |
Definition at line 180 of file dps.
185 std::vector<data_point>::const_iterator it =
m_points.begin();
186 a_value = (*it).coordinate(a_coord).value();
189 a_value = mn<double>(a_value,(*it).coordinate(a_coord).value());
◆ operator=()
dps& tools::histo::dps::operator= |
( |
const dps & |
a_from | ) |
|
|
inline |
Definition at line 138 of file dps.
139 if(&a_from==
this)
return *
this;
141 m_dim = a_from.m_dim;
◆ point() [1/2]
data_point& tools::histo::dps::point |
( |
size_t |
a_index | ) |
|
|
inline |
Definition at line 159 of file dps.
◆ point() [2/2]
const data_point& tools::histo::dps::point |
( |
size_t |
a_index | ) |
const |
|
inline |
Definition at line 155 of file dps.
◆ remove_point()
bool tools::histo::dps::remove_point |
( |
size_t |
a_index | ) |
|
|
inline |
Definition at line 169 of file dps.
172 std::vector<data_point>::iterator it =
m_points.begin();
◆ s_class()
static const std::string& tools::histo::dps::s_class |
( |
| ) |
|
|
inlinestatic |
Definition at line 121 of file dps.
122 static const std::string s_v(
"tools::histo::dps");
◆ scale()
void tools::histo::dps::scale |
( |
double |
a_scale | ) |
|
|
inline |
Definition at line 208 of file dps.
209 std::vector<data_point>::iterator it;
211 for(
unsigned int coord=0;coord<
m_dim;coord++) {
212 measurement& m = (*it).coordinate(coord);
213 m.set_value(m.value() * a_scale);
214 m.set_error_plus(m.error_plus() * a_scale);
215 m.set_error_minus(m.error_minus() * a_scale);
◆ scale_errors()
void tools::histo::dps::scale_errors |
( |
double |
a_scale | ) |
|
|
inline |
Definition at line 230 of file dps.
231 std::vector<data_point>::iterator it;
233 for(
unsigned int coord=0;coord<
m_dim;coord++) {
234 measurement& m = (*it).coordinate(coord);
235 m.set_error_plus(m.error_plus() * a_scale);
236 m.set_error_minus(m.error_minus() * a_scale);
◆ scale_value()
void tools::histo::dps::scale_value |
( |
double |
a_scale | ) |
|
|
inline |
Definition at line 220 of file dps.
221 std::vector<data_point>::iterator it;
223 for(
unsigned int coord=0;coord<
m_dim;coord++) {
224 measurement& m = (*it).coordinate(coord);
225 m.set_value(m.value() * a_scale);
◆ set_title()
void tools::histo::dps::set_title |
( |
const std::string & |
a_s | ) |
|
|
inline |
Definition at line 149 of file dps.
◆ size()
size_t tools::histo::dps::size |
( |
| ) |
const |
|
inline |
Definition at line 153 of file dps.
◆ title()
const std::string& tools::histo::dps::title |
( |
| ) |
const |
|
inline |
Definition at line 147 of file dps.
◆ upper_extent()
bool tools::histo::dps::upper_extent |
( |
unsigned int |
a_coord, |
|
|
double & |
a_value |
|
) |
| const |
|
inline |
Definition at line 194 of file dps.
199 std::vector<data_point>::const_iterator it =
m_points.begin();
200 a_value = (*it).coordinate(a_coord).value();
203 a_value = mx<double>(a_value,(*it).coordinate(a_coord).value());
◆ m_dim
unsigned int tools::histo::dps::m_dim |
|
protected |
Definition at line 243 of file dps.
◆ m_points
std::vector<data_point> tools::histo::dps::m_points |
|
protected |
Definition at line 244 of file dps.
◆ m_title
std::string tools::histo::dps::m_title |
|
protected |
Definition at line 242 of file dps.
The documentation for this class was generated from the following file:
- /Users/barrand/private/dev/softinex/g4tools/g4tools/tools/histo/dps