CMS 3D CMS Logo

MiscalibReaderXMLHcal.cc
Go to the documentation of this file.
3 
4 DetId MiscalibReaderFromXMLHcal::parseCellEntry(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute) {
6  getIntAttribute(attribute, "eta_index"),
7  getIntAttribute(attribute, "phi_index"),
8  getIntAttribute(attribute, "depth_index"));
9  return cell;
10 }
11 
13  try {
14  HcalDetId cell((HcalSubdetector)idet, ieta, iphi, idepth);
15  return cell;
16  } catch (...) {
17  std::cout << "Null coordinates = " << idet << "," << ieta << "," << iphi << "," << idepth << std::endl;
18  return HcalDetId(0);
19  }
20 }
gather_cfg.cout
cout
Definition: gather_cfg.py:144
LEDCalibrationChannels.iphi
iphi
Definition: LEDCalibrationChannels.py:64
DetId
Definition: DetId.h:17
LEDCalibrationChannels.ieta
ieta
Definition: LEDCalibrationChannels.py:63
HcalDetId.h
HcalDetId
Definition: HcalDetId.h:12
MiscalibReaderFromXMLHcal::parseCellEntry
DetId parseCellEntry(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute) override
Definition: MiscalibReaderXMLHcal.cc:4
MiscalibReaderFromXMLHcal.h
MiscalibReaderFromXML::getIntAttribute
int getIntAttribute(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute, const std::string &attribute_name)
Definition: MiscalibReaderXML.cc:41
HcalSubdetector
HcalSubdetector
Definition: HcalAssistant.h:31
MiscalibReaderFromXMLHcal::getCellFromAttributes
HcalDetId getCellFromAttributes(int idet, int ieta, int iphi, int idepth)
Definition: MiscalibReaderXMLHcal.cc:12