51 hasXaxis ? &
xaxis :
nullptr,
52 hasYaxis ? &
yaxis :
nullptr,
53 hasZaxis ? &
zaxis :
nullptr);
64 unsigned logicalDimensions(-1);
67 logicalDimensions = 0;
71 logicalDimensions = 1;
75 logicalDimensions = 2;
84 logicalDimensions = 1;
95 hasXaxis ? &
xaxis :
nullptr,
96 hasYaxis ? &
yaxis :
nullptr,
97 hasZaxis ? &
zaxis :
nullptr);
98 else if (logicalDimensions == 0)
100 else if (logicalDimensions == 1)
102 else if (logicalDimensions == 2)
107 typedef std::vector<std::string> VString;
110 VString replacementNames(multiParams.getParameterNames());
111 if (replacementNames.empty())
112 throw cms::Exception(
"InvalidConfiguration") <<
"0 multiplicity for MESet at " <<
path;
115 for (
unsigned iD(0); iD != replacementNames.size(); ++iD) {
117 if (multiParams.existsAs<VString>(replacementNames[iD],
false))
118 reps = multiParams.getUntrackedParameter<VString>(replacementNames[iD]);
119 else if (multiParams.existsAs<std::vector<int>>(replacementNames[iD],
false)) {
120 std::vector<int> repInts(multiParams.getUntrackedParameter<std::vector<int>>(replacementNames[iD]));
121 for (
unsigned iR(0); iR != repInts.size(); ++iR)
126 throw cms::Exception(
"InvalidConfiguration") <<
"0 multiplicity for MESet at " <<
path;
136 throw cms::Exception(
"InvalidConfiguration") <<
"MESet " <<
path <<
" could not be initialized";
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
dqm::impl::MonitorElement MonitorElement
ParameterSet getUntrackedParameterSet(std::string const &name, ParameterSet const &defaultValue) const
bool existsAs(std::string const ¶meterName, bool trackiness=true) const
checks if a parameter exists as a given type
ParameterWildcardBase * addWildcardUntracked(U const &pattern)
static std::string to_string(const XMLCh *ch)
ObjectType translateObjectType(std::string const &)
std::map< std::string, std::vector< std::string > > ReplCandidates
T getUntrackedParameter(std::string const &, T const &) const
dqm::legacy::MonitorElement::Kind translateKind(std::string const &)
void fillAxisDescriptions(edm::ParameterSetDescription &)
ParameterDescriptionBase * addOptionalUntracked(U const &iLabel, T const &value)
BinningType translateBinningType(std::string const &)
AxisSpecs formAxis(edm::ParameterSet const &)
MESet * createMESet(edm::ParameterSet const &)
void fillMESetDescriptions(edm::ParameterSetDescription &)