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) {
60 int ieta, iphi,
depth;
const edm::EventSetup & c
const char * hcalSubdetectorName(HcalSubdetector subdet)
static const unsigned nSsubdetNames
static bool parseSubdetector(const char *c, HcalSubdetector *result)
HcalDetId parseHcalDetId(const std::string &s)
static bool parse_int(const char *c, int *result)
static const char * subdetNames[]