26 map<string, vector<MEData> >::iterator dItr(
meData.find(
name_));
28 throw cms::Exception(
"InvalidCall") <<
"MonitorElement setup data not found for " <<
name_ << std::endl;
30 vector<MEData>
const& vData(dItr->second);
31 MEs_.resize(vData.size());
33 for(
unsigned iME(0); iME <
MEs_.size(); iME++){
43 for(
unsigned iME(0); iME <
MEs_.size(); iME++)
50 for(
unsigned iME(0); iME <
MEs_.size(); iME++)
57 for(
unsigned iME(0); iME <
MEs_.size(); iME++)
83 return new MESetTrend(_fullpath, _data, _readOnly);
85 unsigned logicalDimensions;
88 logicalDimensions = 0;
92 logicalDimensions = 1;
96 logicalDimensions = 2;
99 throw cms::Exception(
"InvalidCall") <<
"Histogram type " << kind <<
" not supported" << std::endl;
107 if(logicalDimensions != 0)
108 throw cms::Exception(
"InvalidCall") <<
"Report can only be a DQM_KIND_REAL" << std::endl;
112 return new MESetEcal(_fullpath, _data, logicalDimensions, _readOnly);
114 if(logicalDimensions == 0)
115 return new MESetDet0D(_fullpath, _data, _readOnly);
117 if(logicalDimensions == 1)
118 return new MESetDet1D(_fullpath, _data, _readOnly);
120 if(logicalDimensions == 2)
121 return new MESetDet2D(_fullpath, _data, _readOnly);
133 if(workerFactories_.find(_name) != workerFactories_.end())
return workerFactories_[_name];
T getUntrackedParameter(std::string const &, T const &) const
BinService::ObjectType otype
BinService::AxisSpecs * yaxis
MonitorElement::Kind kind
static void setMEData(std::vector< MEData > &)
static std::map< std::string, WorkerFactory > workerFactories_
BinService::BinningType btype
DQWorker(const edm::ParameterSet &, const edm::ParameterSet &, std::string const &)
DQWorker *(* WorkerFactory)(const edm::ParameterSet &, const edm::ParameterSet &)
static WorkerFactory findFactory(const std::string &)
std::vector< MESet * > MEs_
char data[epos_bytes_allocation]
MESet * createMESet_(std::string const &, MEData const &, bool _readOnly=false) const
volatile std::atomic< bool > shutdown_flag false
static std::map< std::string, std::vector< MEData > > meData