Main Page
Namespaces
Classes
Package Documentation
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
5
6
DetId
MiscalibReaderFromXMLEcalBarrel::parseCellEntry
(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute)
7
{
8
9
EBDetId
cell=
MiscalibReaderFromXMLEcalBarrel::getCellFromAttributes
(
10
getIntAttribute
(attribute,
"eta_index"
),
11
getIntAttribute
(attribute,
"phi_index"
)
12
);
13
return
cell;
14
}
15
16
EBDetId
MiscalibReaderFromXMLEcalBarrel::getCellFromAttributes
(
int
ieta,
int
iphi)
17
{
18
EBDetId
cell(ieta,iphi);
19
return
cell;
20
}
21
EBDetId
Definition:
EBDetId.h:19
MiscalibReaderFromXMLEcalBarrel::getCellFromAttributes
EBDetId getCellFromAttributes(int ieta, int iphi)
Definition:
MiscalibReaderXMLEcalBarrel.cc:16
DetId
Definition:
DetId.h:18
MiscalibReaderFromXMLEcalBarrel.h
MiscalibReaderFromXMLEcalBarrel::parseCellEntry
virtual DetId parseCellEntry(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute)
Definition:
MiscalibReaderXMLEcalBarrel.cc:6
EBDetId.h
MiscalibReaderFromXML::getIntAttribute
int getIntAttribute(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute, const std::string &attribute_name)
Definition:
MiscalibReaderXML.cc:51
Generated for CMSSW Reference Manual by
1.8.11