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
void getNewObjects() override
~L1TriggerScalerHandler() override
std::vector< Lumi > m_run
std::vector< L1TriggerScaler::Lumi > readData(const int r_number)
std::vector< std::pair< L1TriggerScaler *, Time_t > > m_to_transfer
Log< level::Info, false > LogInfo
L1TriggerScalerHandler(const edm::ParameterSet &pset)
std::unique_ptr< L1TriggerScaler > Ref
std::string m_connectionString
tuple size
Write out results.
cond::TagInfo_t const & tagInfo() const