CMS 3D CMS Logo

Functions
SiPixelConfigParser.cc File Reference
#include "DQM/SiPixelMonitorClient/interface/ANSIColors.h"
#include "DQM/SiPixelMonitorClient/interface/SiPixelConfigParser.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <iostream>

Go to the source code of this file.

Functions

static bool readMEListHelper (boost::property_tree::ptree &config, string const &tagname, vector< string > &me_names)
 

Function Documentation

◆ readMEListHelper()

static bool readMEListHelper ( boost::property_tree::ptree &  config,
string const &  tagname,
vector< string > &  me_names 
)
static

Definition at line 28 of file SiPixelConfigParser.cc.

28  {
29  for (auto &kv : config) {
30  if (kv.first == tagname) {
31  for (auto &mekv : kv.second) {
32  if (mekv.first == "MonElement") {
33  me_names.push_back(mekv.second.get<std::string>("<xmlattr>.name"));
34  }
35  }
36  return true;
37  }
38  }
39  return false;
40 }

References AlCaHLTBitMon_QueryRunRegistry::string, and createPayload::tagname.

Referenced by SiPixelConfigParser::getMENamesForBarrelSummary(), SiPixelConfigParser::getMENamesForEndcapSummary(), SiPixelConfigParser::getMENamesForFEDErrorSummary(), SiPixelConfigParser::getMENamesForGrandBarrelSummary(), SiPixelConfigParser::getMENamesForGrandEndcapSummary(), SiPixelConfigParser::getMENamesForTrackerMap(), and SiPixelConfigParser::getMENamesForTree().

config
Definition: config.py:1
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
createPayload.tagname
tagname
Definition: createPayload.py:183