51 std::cout <<
"Starting to import payload " <<
payloadTag <<
" from text files." << std::endl;
65 std::vector<std::string> sections;
67 if ( sections.size() == 0 ) {
71 for ( std::vector<std::string>::const_iterator isectbegin = sections.begin(), isectend = sections.end(), isect = isectbegin;
72 isect != isectend; ++isect ) {
74 std::cout <<
"Added " << ilev +
"_" + *isect <<
" to record " <<
i << std::endl;
77 std::cout <<
"Added record " <<
i << std::endl;
85 std::cout <<
"Opening PoolDBOutputService" << std::endl;
T getUntrackedParameter(std::string const &, T const &) const
virtual void endJob() override
JetCorrectorDBWriter(const edm::ParameterSet &)
virtual void analyze(const edm::Event &, const edm::EventSetup &) override
static std::string findLabel(key_type k)
void push_back(key_type i, value_type const &j, label_type const &flav="")
#define DEFINE_FWK_MODULE(type)
void appendSinceTime(T *payloadObj, cond::Time_t sinceTime, const std::string &recordName, bool withlogging=false)
bool isNewTagRequest(const std::string &recordName)
cond::Time_t beginOfTime() const
void createNewIOV(T *firstPayloadObj, cond::Time_t firstSinceTime, cond::Time_t firstTillTime, const std::string &recordName, bool withlogging=false)
cond::Time_t endOfTime() const
static void getSections(std::string inputFile, std::vector< std::string > &outputs)
std::string fullPath() const
virtual void beginJob() override