1 #ifndef CondFormats_External_DETID_H 2 #define CondFormats_External_DETID_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> 17 namespace serialization {
29 template<
class Archive>
32 auto id_ = obj.
rawId();
33 ar & BOOST_SERIALIZATION_NVP(id_);
36 template<
class Archive>
39 decltype(obj.
rawId()) id_;
40 ar & BOOST_SERIALIZATION_NVP(id_);
44 template<
class Archive>
47 split_free(ar, obj, v);
void serialize(Archive &ar, CLHEP::Hep3Vector &obj, const unsigned int v)
constexpr uint32_t rawId() const
get the raw id
void load(Archive &ar, CLHEP::Hep3Vector &obj, const unsigned int)
void save(Archive &ar, const CLHEP::Hep3Vector &obj, const unsigned int)