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>
16 namespace serialization {
28 template <
class Archive>
30 auto id_ = obj.
rawId();
31 ar& BOOST_SERIALIZATION_NVP(id_);
34 template <
class Archive>
36 decltype(obj.
rawId()) id_;
37 ar& BOOST_SERIALIZATION_NVP(id_);
41 template <
class Archive>
43 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)