Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-03-19 23:41:32

0001 #ifndef JetMETCorrections_FFTJetObjects_FFTJET_H
0002 #define JetMETCorrections_FFTJetObjects_FFTJET_H
0003 
0004 #include <boost/serialization/base_object.hpp>
0005 #include <boost/serialization/nvp.hpp>
0006 #include <boost/serialization/split_free.hpp>
0007 
0008 // std::vector used in DataFormats/EcalDetId/interface/EcalContainer.h
0009 #include <boost/serialization/vector.hpp>
0010 #include <boost/serialization/string.hpp>
0011 #include <boost/serialization/map.hpp>
0012 
0013 #include "JetMETCorrections/FFTJetObjects/interface/FFTJetCorrectorSequence.h"
0014 #include "JetMETCorrections/FFTJetObjects/interface/FFTJetDict.h"
0015 
0016 #include <stdexcept>
0017 
0018 namespace boost {
0019   namespace serialization {
0020 
0021     /*
0022  * Note regarding object tracking: all autos used here
0023  * must resolve to untracked types, since we use local
0024  * variables in the stack which could end up with the same
0025  * address. For the moment, all types resolved by auto here
0026  * are primitive types, which are untracked by default
0027  * by Boost Serialization.
0028  */
0029 
0030     // JetMETCorrections/FFTJetObjects/interface/FFTJetCorrectorSequence.h
0031     template <class Archive, class Jet, template <class> class InitialConverter, template <class> class FinalConverter>
0032     void serialize(Archive& ar,
0033                    FFTJetCorrectorSequence<Jet, InitialConverter, FinalConverter>& obj,
0034                    const unsigned int) {
0035       throw std::runtime_error("Unimplemented serialization code.");
0036     }
0037 
0038     // JetMETCorrections/FFTJetObjects/interface/FFTJetDict.h
0039     template <class Archive, class Key, class T, class Compare, class Allocator>
0040     void serialize(Archive& ar, FFTJetDict<Key, T, Compare, Allocator>& obj, const unsigned int) {
0041       throw std::runtime_error("Unimplemented serialization code.");
0042     }
0043 
0044   }  // namespace serialization
0045 }  // namespace boost
0046 
0047 #endif