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"))
30 <<
" - > getNewObjects\n" <<
34 <<
", last object valid since " 41 edm::LogInfo (
"L1TriggerScalerHandler")<<
"size of last payload "<<
42 payload->m_run.size()<<std::endl;
47 std::cerr <<
"Source implementation test ::getNewObjects : enter runnumber as a first since ! \n";
53 std::cout<<
"runnumber/first since = "<< snc <<std::endl;
64 std::vector<L1TriggerScaler::Lumi> l1lumiscaler_array;
68 l1lumiscaler_array = rn.
readData((
int)snc );
71 std::vector<L1TriggerScaler::Lumi>::iterator Iit;
72 for(Iit = l1lumiscaler_array.begin() ; Iit != l1lumiscaler_array.end(); Iit++)
75 r->
m_run.push_back(rnfill);
79 std::ostringstream ss;
80 ss <<
"since =" << snc;
87 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
payload
payload postfix for testing
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