1 #ifndef CondTools_Hcal_BoostIODBReader_h 2 #define CondTools_Hcal_BoostIODBReader_h 26 #include "CondFormats/Serialization/interface/eos/portable_oarchive.hpp" 41 template <
class DataType,
class RecordType>
57 template <
class DataType,
class RecordType>
61 template <
class DataType,
class RecordType>
65 std::ofstream
of(outputFile_.c_str(), std::ios_base::binary);
67 throw cms::Exception(
"InvalidArgument") <<
"Failed to open file \"" << outputFile_ <<
'"' << std::endl;
69 eos::portable_oarchive ar(
of);
73 #endif // CondTools_Hcal_BoostIODBReader_h
const edm::ESGetToken< DataType, RecordType > tok_
const std::string outputFile_
void analyze(const edm::Event &, const edm::EventSetup &) override
bool getData(T &iHolder) const
~BoostIODBReader() override
BoostIODBReader(const edm::ParameterSet &)