1 #ifndef CondFormats_External_ECALDETID_H
2 #define CondFormats_External_ECALDETID_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>
21 namespace serialization {
33 template <
class Archive>
35 ar& boost::serialization::make_nvp(
"DetId", boost::serialization::base_object<DetId>(
obj));
40 template <
class Archive>
42 ar& boost::serialization::make_nvp(
"DetId", boost::serialization::base_object<DetId>(
obj));
47 template <
class Archive,
typename DetIdT,
typename T>
49 ar& boost::serialization::make_nvp(
"m_items",
obj.items());
52 template <
class Archive,
typename DetIdT,
typename T>
56 ar& boost::serialization::make_nvp(
"m_items", m_items);
57 obj.setItems(m_items);
60 template <
class Archive,
typename DetIdT,
typename T>
62 split_free(ar,
obj,
v);