File indexing completed on 2025-12-16 09:19:56
0001 #include "TruthVertex_v1.h"
0002
0003 void TruthVertex_v1::identify(std::ostream& os) const
0004 {
0005 os << "---TruthVertex_v1--------------------------------" << std::endl;
0006 os << "vertexid: " << get_id() << std::endl;
0007 os << " t = " << get_t() << " +/- " << get_t_err() << std::endl;
0008 os << " z = " << get_z() << " +/- " << get_z_err() << std::endl;
0009 os << " x = " << get_x() << " +/- " << get_x_err() << std::endl;
0010 os << " y = " << get_y() << " +/- " << get_y_err() << std::endl;
0011 os << "-----------------------------------------------" << std::endl;
0012 }
0013
0014 int TruthVertex_v1::isValid() const
0015 {
0016 return std::isfinite(_z) && std::isfinite(_t);
0017 }