11 int levelPart =
get(
"level");
12 int superPart =
get(
"super");
13 int basePart =
get(
"base");
14 int startCopyNo =
get(
"xml_starts_with_copyno");
18 edm::LogError(
"Geometry") <<
"MuonNumbering finds unusual base constant:" << basePart;
20 if (superPart < 100) {
21 edm::LogError(
"Geometry") <<
"MuonNumbering finds unusual super constant:" << superPart;
23 if (levelPart < 10 * superPart) {
24 edm::LogError(
"Geometry") <<
"MuonNumbering finds unusual level constant:" << levelPart;
26 if ((startCopyNo != 0) && (startCopyNo != 1)) {
27 edm::LogError(
"Geometry") <<
"MuonNumbering finds unusual start value for copy numbers:" << startCopyNo;
30 for (
auto const& it : nodes.
tags) {
31 int tag = it / levelPart;
34 int copyno = nodes.
copyNos[
ctr] + offset % superPart;
35 int super = offset / superPart;
36 num.
addBase(tag, super, copyno - startCopyNo);
45 auto const& it = values_.find(key);
46 if (it !=
end(values_))
void addBase(const int level, const int super, const int base)
Log< level::Error, false > LogError
std::vector< int > copyNos
std::vector< double > offsets
tuple key
prepare the HTCondor submission files and eventually submit them
const MuonBaseNumber geoHistoryToBaseNumber(const cms::ExpandedNodes &) const
#define TYPELOOKUP_DATA_REG(_dataclass_)
const int get(const char *) const
std::vector< double > tags
void put(std::string_view, int)