9 : m_name(pset.getUntrackedParameter<
std::
string>(
"name",
"L1TriggerScalerHandler")),
15 m_user(pset.getUntrackedParameter<
std::
string>(
"OnlineDBUser",
"CMS_RUNINFO")),
16 m_pass(pset.getUntrackedParameter<
std::
string>(
"OnlineDBPass",
"XXXXXXX"))
25 edm::LogInfo(
"L1TriggerScalerHandler") <<
"------- " <<
m_name <<
" - > getNewObjects\n" 34 edm::LogInfo(
"L1TriggerScalerHandler") <<
"size of last payload " << payload->m_run.size() << std::endl;
39 std::cerr <<
"Source implementation test ::getNewObjects : enter runnumber as a first since ! \n";
42 std::cout <<
"runnumber/first since = " << snc << std::endl;
50 std::vector<L1TriggerScaler::Lumi> l1lumiscaler_array;
52 l1lumiscaler_array = rn.
readData((
int)snc);
55 std::vector<L1TriggerScaler::Lumi>::iterator Iit;
56 for (Iit = l1lumiscaler_array.begin(); Iit != l1lumiscaler_array.end(); Iit++) {
58 r->
m_run.push_back(rnfill);
62 std::ostringstream
ss;
63 ss <<
"since =" << snc;
67 edm::LogInfo(
"L1TriggerScalerHandler") <<
"------- " <<
m_name <<
" - > getNewObjects" << std::endl;
std::string m_userTextLog
edm::Ref< Container > Ref
void getNewObjects() override
OldContainer m_to_transfer
~L1TriggerScalerHandler() override
cond::ValidityInterval lastInterval
std::vector< Lumi > m_run
std::vector< L1TriggerScaler::Lumi > readData(const int r_number)
std::string lastPayloadToken
L1TriggerScalerHandler(const edm::ParameterSet &pset)
std::string m_connectionString
cond::TagInfo_t const & tagInfo() const