16 : m_name(
pset.getUntrackedParameter<
std::
string>(
"name",
"RpcData")),
19 passw(
pset.getUntrackedParameter<
std::
string>(
"passw",
"source password")),
20 m_since(
pset.getUntrackedParameter<unsigned long long>(
"since", 5)),
21 m_till(
pset.getUntrackedParameter<unsigned long long>(
"till", 0)) {}
26 std::cout <<
"------- " << m_name <<
" - > getNewObjects\n" 27 <<
"got offlineInfo" <<
tagInfo().name <<
", size " <<
tagInfo().size <<
", last object valid since " 28 <<
tagInfo().lastInterval.since <<
" token " <<
tagInfo().lastInterval.payloadId << std::endl;
30 std::cout <<
" ------ last entry info regarding the payload (if existing): " << logDBEntry().usertext
31 <<
"last record with the correct tag has been written in the db: " << logDBEntry().destinationDB
36 std::cout << std::endl <<
"==========================================" << std::endl;
37 std::cout << std::endl <<
"=============== PVSS MAP ===============" << std::endl;
38 std::cout << std::endl <<
"==========================================" << std::endl << std::endl;
40 std::cout <<
">> Range mode [" << snc <<
", " << m_till <<
"]" << std::endl;
41 std::cout << std::endl <<
"=============================================" << std::endl << std::endl;
44 std::vector<RPCObPVSSmap::Item> IDMapcheck;
49 std::vector<RPCObPVSSmap::Item>::iterator Iit;
50 for (Iit = IDMapcheck.begin(); Iit != IDMapcheck.end(); Iit++) {
52 IDMapdata->ObIDMap_rpc.push_back(Ifill);
54 std::cout <<
" >> Final object size: " << IDMapdata->ObIDMap_rpc.size() << std::endl;
56 if (!IDMapdata->ObIDMap_rpc.empty()) {
60 std::cout <<
"NO DATA TO BE STORED" << std::endl;
66 edm::Timestamp tmstamp((
unsigned long long)tv.tv_sec * 1000000 + (
unsigned long long)tv.tv_usec);
70 daqtime = (daqtime << 32) + tv.tv_usec;
75 std::cout <<
"===> New IOV: since is = " << niov << std::endl;
76 m_to_transfer.push_back(std::make_pair((
RPCObPVSSmap*)IDMapdata, niov));
RPCObPVSSmapData(const edm::ParameterSet &pset)
std::vector< RPCObPVSSmap::Item > createIDMAP()
~RPCObPVSSmapData() override
void getNewObjects() override
unsigned long long TimeValue_t
TimeValue_t value() const