3 #include "Alignment/Geners/interface/binaryIO.hh"
4 #include "Alignment/Geners/interface/IOException.hh"
5 #include "Alignment/Geners/interface/CPP11_auto_ptr.hh"
20 static const gs::ClassId current(gs::ClassId::makeId<DualHistoAxis>());
21 current.ensureSameId(
id);
25 gs::ClassId clid(in, 1);
27 throw gs::IOReadFailure(
"In npstat::DualHistoAxis::read: "
28 "input stream failure");
bool write(std::ostream &of) const
bool write(std::ostream &of) const
bool write(std::ostream &of) const
gs::ClassId classId() const
static HistoAxis * read(const gs::ClassId &id, std::istream &in)
static DualHistoAxis * read(const gs::ClassId &id, std::istream &in)
gs::ClassId classId() const
static NUHistoAxis * read(const gs::ClassId &id, std::istream &in)
Represent both equidistant and non-uniform histogram axis binning.