#include <XsilHistogram.hh>
Public Member Functions | |
| xsilHistogram (int level=1) | |
| Constructor. | |
| xsilHistogram (const Histogram1 *h1, int level=1) | |
| Constructor for 1D histogram. | |
| xsilHistogram (const Histogram1 &h1, int level=1) | |
| Constructor for 1D histogram. | |
| xsilHistogram (const Histogram2 *h2, int level=1) | |
| Constructor for 2D histogram. | |
| xsilHistogram (const Histogram2 &h2, int level=1) | |
| Constructor for 2D histogram. | |
| std::ostream & | write (std::ostream &os) const |
| Write the histogram data to output stream. | |
Protected Attributes | |
| int | fLevel |
| Indent level. | |
| const Histogram1 * | fH1 |
| Reference to Hostogram1 object. | |
| const Histogram2 * | fH2 |
| Reference to Hostogram2 object. | |
Example: {verbatim} ofstream out ("myfile.xml"); Histogram1 h1 (...); Histogram2 h2 (...); Fill histogram... out << xsilHeader() << endl; out << xsilHistogram (&h1) << endl; out << xsilHistogram (&h2) << endl; out << xsilTrailer() << endl; {verbatim}
brief Writes HistogramX in LIGO_LW format as described in LIGO-TOOOO67
1.5.4