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);
60 template <
class Archive,
typename DetIdT,
typename T>
62 split_free(ar, obj, v);
void setItems(const std::vector< Item > &items)
void serialize(Archive &ar, CLHEP::Hep3Vector &obj, const unsigned int v)
const Items & items() const
void load(Archive &ar, CLHEP::Hep3Vector &obj, const unsigned int)
void save(Archive &ar, const CLHEP::Hep3Vector &obj, const unsigned int)
std::vector< Item > Items