Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
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.5