Go to the documentation of this file. 1 #ifndef __JTOOLS__JTRANSFORMABLEMULTIHISTOGRAM__
2 #define __JTOOLS__JTRANSFORMABLEMULTIHISTOGRAM__
34 template<
class JHistogram_t,
39 public JTransformable<JMapLength<JMaplist_t>::value, typename JHistogram_t::abscissa_type>
84 return static_cast<const JTransformableMultiHistogram&>(*
this);
95 return static_cast<JTransformableMultiHistogram&>(*
this);
107 va_start(this->
ap, x);
112 this->
buffer[i] = va_arg(this->
ap, abscissa_type);
137 for (
super_iterator i = this->super_begin(); i != this->super_end(); ++i) {
145 histogram.transform(
get);
146 histogram.transform(put);
162 in >> static_cast<JMultiHistogram_t&>(
object);
164 return object.transformer->read(in);
177 out << static_cast<const JMultiHistogram_t&>(
object);
179 return object.transformer->write(out);
Interface for binary input.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Interface for binary output.
T get(const JHead &header)
Get object from header.
The template JSharedPointer class can be used to share a pointer to an object.