1 #ifndef POPCON_POPCON_H
2 #define POPCON_POPCON_H
37 template <
typename Source>
71 static constexpr
const char*
const s_version =
"5.0";
74 template <
typename Source>
80 Container
const&
iovs = *ret.first;
84 size_t niovs = iovs.size();
88 s <<
"Since " << (*iovs.begin()).
first <<
"; ";
90 s <<
"first payload Since " << (*iovs.begin()).
first <<
", "
91 <<
"last payload Since " << (*iovs.rbegin()).
first <<
"; ";
96 s <<
"PopCon v" <<
s_version <<
"; " << msg << ret.second;
100 edm::LogInfo(
"PopCon") <<
"Since " << it.first << std::endl;
109 #endif // POPCON_POPCON_H
tuple ret
prodAgent to be discontinued
cond::LogDBEntry_t m_logDBEntry
void finalize(Time_t lastTill)
void write(Source const &source)
cond::persistency::Session m_targetSession
Container::value_type value_type
unsigned long long Time_t
std::string m_targetConnectionString
cond::TagInfo_t m_tagInfo
PopCon(const edm::ParameterSet &pset)
void setLogHeaderForRecord(const std::string &recordName, const std::string &provenance, const std::string &usertext)
Log< level::Info, false > LogInfo
static constexpr const char *const s_version
cond::persistency::Session initialize()
void writeMany(const std::map< Time_t, std::shared_ptr< T > > &iovAndPayloads, const std::string &recordName)
edm::AssociationVector< reco::JetRefBaseProd, Values > Container
std::string m_payload_name
static std::string const source
edm::Service< cond::service::PoolDBOutputService > m_dbService