1 #ifndef CondTools_Hcal_BufferedBoostIOESProducer_h
2 #define CondTools_Hcal_BufferedBoostIOESProducer_h
29 #include "CondFormats/Serialization/interface/eos/portable_iarchive.hpp"
32 template <
class DataType,
class MyRecord>
47 template <
class DataType,
class MyRecord>
50 const auto&
buffer = iRecord.get(token_);
51 std::istringstream is(
buffer.str());
52 eos::portable_iarchive ar(is);
53 auto ret = std::make_unique<DataType>();
58 #endif // CondTools_Hcal_BufferedBoostIOESProducer_h
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
tuple ret
prodAgent to be discontinued
const edm::ESGetToken< OOTPileupCorrectionBuffer, MyRecord > token_
~BufferedBoostIOESProducer() override
BufferedBoostIOESProducer(const edm::ParameterSet &)
ReturnType produce(const MyRecord &)
std::unique_ptr< DataType > ReturnType