1 #ifndef CondTools_Hcal_BufferedBoostIOESProducer_h 2 #define CondTools_Hcal_BufferedBoostIOESProducer_h 30 #include "CondFormats/Serialization/interface/eos/portable_iarchive.hpp" 33 template<
class DataType,
class MyRecord>
44 ReturnType
produce(
const MyRecord&);
47 template<
class DataType,
class MyRecord>
53 std::istringstream is(handle->
str());
54 eos::portable_iarchive ar(is);
55 auto ret = std::make_unique<DataType>();
60 #endif // CondTools_Hcal_BufferedBoostIOESProducer_h
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
~BufferedBoostIOESProducer() override
BufferedBoostIOESProducer(const edm::ParameterSet &)
const std::string & str() const
ReturnType produce(const MyRecord &)
std::unique_ptr< DataType > ReturnType