9 edm::LogInfo(
"SiStripHistoryDQMService") <<
"[SiStripHistoryDQMService::SiStripHistoryDQMService]";
14 edm::LogInfo(
"SiStripHistoryDQMService") <<
"[SiStripHistoryDQMService::~SiStripHistoryDQMService]";
19 if ( otherMetaData.empty() )
22 uint32_t previousRun=atoi(otherMetaData.substr(otherMetaData.find(
"Run ")+4).c_str());
24 edm::LogInfo(
"DQMHistoryServiceBase") <<
"[DQMHistoryServiceBase::checkForCompatibility] extracted string " << previousRun ;
34 std::vector<std::string> userDBContent;
37 for (
const auto&
quant : histoParams.getUntrackedParameter<std::vector<std::string> >(
"quantitiesToExtract") ) {
38 if (
quant ==
"landau" )
40 else if (
quant ==
"gauss" )
42 else if (
quant ==
"stat" )
51 ss <<
"[DQMHistoryServiceBase::scanTreeAndFillSummary] QUANTITIES TO BE INSERTED IN DB :" << std::endl;
53 ss << iCont<< std::endl;
61 edm::LogInfo(
"HDQMSummary") <<
"\nSTARTING TO FILL OBJECT ";
62 for (
const auto& histoParams : histoList_ ) {
T getUntrackedParameter(std::string const &, T const &) const
std::vector< MonitorElement * > getAllContents(std::string const &path, uint32_t runNumber=0, uint32_t lumi=0)
void setRunNr(int inputRunNr)
void dqmEndJob(DQMStore::IBooker &booker, DQMStore::IGetter &getter) override
bool checkForCompatibility(const std::string &otherMetaData)
virtual bool setDBLabelsForUser(const std::string &keyName, std::vector< std::string > &userDBContent, const std::string &quantity) const
~SiStripPopConHistoryDQMBase() override
std::vector< edm::ParameterSet > VParameters
virtual bool setDBLabelsForStat(const std::string &keyName, std::vector< std::string > &userDBContent) const
void setUserDBContent(const std::vector< std::string > &userDBContent)
virtual bool setDBLabelsForLandau(const std::string &keyName, std::vector< std::string > &userDBContent) const
virtual void scanTreeAndFillSummary(const std::vector< MonitorElement * > &MEs, HDQMSummary *summary, const std::string &histoName, const std::vector< std::string > &Quantities) const
uint32_t getRunNumber() const
HDQMSummary * getObj() const override
virtual bool setDBLabelsForGauss(const std::string &keyName, std::vector< std::string > &userDBContent) const
std::vector< std::string > getUserDBContent() const
SiStripPopConHistoryDQMBase(const edm::ParameterSet &pset)