CalibCalorimetry
CaloMiscalibTools
src
MiscalibReaderXMLEcalBarrel.cc
Go to the documentation of this file.
1
#include "
DataFormats/EcalDetId/interface/EBDetId.h
"
2
#include "
CalibCalorimetry/CaloMiscalibTools/interface/MiscalibReaderFromXMLEcalBarrel.h
"
3
4
DetId
MiscalibReaderFromXMLEcalBarrel::parseCellEntry
(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute) {
5
EBDetId
cell =
MiscalibReaderFromXMLEcalBarrel::getCellFromAttributes
(
getIntAttribute
(attribute,
"eta_index"
),
6
getIntAttribute
(attribute,
"phi_index"
));
7
return
cell;
8
}
9
10
EBDetId
MiscalibReaderFromXMLEcalBarrel::getCellFromAttributes
(
int
ieta
,
int
iphi
) {
11
EBDetId
cell(
ieta
,
iphi
);
12
return
cell;
13
}
EBDetId
Definition:
EBDetId.h:17
MiscalibReaderFromXMLEcalBarrel.h
EBDetId.h
LEDCalibrationChannels.iphi
iphi
Definition:
LEDCalibrationChannels.py:64
DetId
Definition:
DetId.h:17
LEDCalibrationChannels.ieta
ieta
Definition:
LEDCalibrationChannels.py:63
MiscalibReaderFromXMLEcalBarrel::parseCellEntry
DetId parseCellEntry(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute) override
Definition:
MiscalibReaderXMLEcalBarrel.cc:4
MiscalibReaderFromXML::getIntAttribute
int getIntAttribute(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute, const std::string &attribute_name)
Definition:
MiscalibReaderXML.cc:41
MiscalibReaderFromXMLEcalBarrel::getCellFromAttributes
EBDetId getCellFromAttributes(int ieta, int iphi)
Definition:
MiscalibReaderXMLEcalBarrel.cc:10
Generated for CMSSW Reference Manual by
1.8.16