1 #ifndef CondFormats_External_SMATRIX_H 2 #define CondFormats_External_SMATRIX_H 4 #include <boost/serialization/base_object.hpp> 5 #include <boost/serialization/nvp.hpp> 6 #include <boost/serialization/split_free.hpp> 9 #include <boost/serialization/vector.hpp> 10 #include <boost/serialization/string.hpp> 11 #include <boost/serialization/map.hpp> 13 #include <Math/SMatrix.h> 16 namespace serialization {
28 template <
class Archive,
typename T,
unsigned int D1,
unsigned int D2,
class R>
29 void serialize(Archive& ar, ROOT::Math::SMatrix<T, D1, D2, R>&
obj,
const unsigned int) {
31 for (
auto&
value : obj) {
32 ar& boost::serialization::make_nvp(std::to_string(i).c_str(),
value);
void serialize(Archive &ar, CLHEP::Hep3Vector &obj, const unsigned int v)