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>
36 ar & boost::serialization::make_nvp(
"DetId", boost::serialization::base_object<DetId>(obj));;
40 template<
class Archive>
43 ar & boost::serialization::make_nvp(
"DetId", boost::serialization::base_object<DetId>(obj));;
48 template<
class Archive,
typename DetIdT,
typename T>
51 ar & boost::serialization::make_nvp(
"m_items", obj.
items());
54 template<
class Archive,
typename DetIdT,
typename T>
59 ar & boost::serialization::make_nvp(
"m_items", m_items);
63 template<
class Archive,
typename DetIdT,
typename T>
66 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