1 #ifndef CondTools_L1Trigger_WriterProxy_h
2 #define CondTools_L1Trigger_WriterProxy_h
47 template<
class Record,
class Type>
81 boost::shared_ptr<Type> pointer(
new Type (*(handle.
product ())));
93 #define REGISTER_L1_WRITER(record,type) \
94 template class l1t::WriterProxyT<record, type>; \
95 typedef l1t::WriterProxyT<record, type> record ## _ ## type ## _Writer; \
96 DEFINE_EDM_PLUGIN(l1t::WriterFactory, record ## _ ## type ## _Writer, #record "@" #type "@Writer")
virtual std::string save(const edm::EventSetup &setup) const
std::string classNameForTypeId(const std::type_info &typeInfo)
cond::DbSession session() const
int start(bool readOnly=false)
start transaction
std::string storeObject(const T *object, const std::string &containerName)
edmplugin::PluginFactory< l1t::WriterProxy *()> WriterFactory
virtual std::string save(const edm::EventSetup &setup) const =0
T const * product() const
int commit()
commit transaction. Will disconnect from database if connection timeout==0 or connectted time close t...
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")