src
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
}
MiscalibReaderFromXMLEcalBarrel::parseCellEntry
DetId parseCellEntry(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute) override
Definition:
MiscalibReaderXMLEcalBarrel.cc:4
EBDetId
Definition:
EBDetId.h:17
MiscalibReaderFromXMLEcalBarrel::getCellFromAttributes
EBDetId getCellFromAttributes(int ieta, int iphi)
Definition:
MiscalibReaderXMLEcalBarrel.cc:10
hcalRecHitTable_cff.ieta
ieta
Definition:
hcalRecHitTable_cff.py:15
hcalRecHitTable_cff.iphi
iphi
Definition:
hcalRecHitTable_cff.py:16
DetId
Definition:
DetId.h:17
MiscalibReaderFromXMLEcalBarrel.h
EBDetId.h
MiscalibReaderFromXML::getIntAttribute
int getIntAttribute(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute, const std::string &attribute_name)
Definition:
MiscalibReaderXML.cc:41
Generated for CMSSW Reference Manual by
1.8.14