1 #ifndef CondTools_L1Trigger_WriterProxy_h 2 #define CondTools_L1Trigger_WriterProxy_h 46 template <
class Record,
class Type>
70 throw cond::Exception(
"DataWriter: PoolDBOutputService not available.");
77 std::shared_ptr<Type> pointer = std::make_shared<Type>(*(
handle.product()));
88 #define REGISTER_L1_WRITER(record, type) \ 89 template class l1t::WriterProxyT<record, type>; \ 90 typedef l1t::WriterProxyT<record, type> record##_##type##_Writer; \ 91 DEFINE_EDM_PLUGIN(l1t::WriterFactory, record##_##type##_Writer, #record "@" #type "@Writer") persistency::Exception Exception
uint32_t cc[maxCellsPerHit]
void start(bool readOnly=true)
void setToken(edm::ConsumesCollector cc) override
edmplugin::PluginFactory< l1t::WriterProxy *()> WriterFactory
Transaction & transaction()
virtual void setToken(edm::ConsumesCollector cc)=0
std::string save(const edm::EventSetup &setup) const override
virtual std::string save(const edm::EventSetup &setup) const =0
cond::Hash storePayload(const T &payload, const boost::posix_time::ptime &creationTime=boost::posix_time::microsec_clock::universal_time())
edm::ESGetToken< Type, Record > rcdToken
cond::persistency::Session session() const