36 *
result = strtol(
c, &endptr, 0);
37 return !errno && *endptr ==
'\0';
41 const unsigned ind =
static_cast<unsigned>(subdet);
57 vector<string> tokens(istream_iterator<string>{iss}, istream_iterator<string>{});
58 if (tokens.size() == 4) {
static const unsigned nSsubdetNames
static bool parseSubdetector(const char *c, HcalSubdetector *result)
const char * hcalSubdetectorName(HcalSubdetector subdet)
static bool parse_int(const char *c, int *result)
HcalDetId parseHcalDetId(const std::string &s)
static const char * subdetNames[]