CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2_patch1/src/CalibCalorimetry/CaloMiscalibTools/src/MiscalibReaderXMLEcalBarrel.cc

Go to the documentation of this file.
00001 #include "DataFormats/EcalDetId/interface/EBDetId.h"
00002 #include "CalibCalorimetry/CaloMiscalibTools/interface/MiscalibReaderFromXMLEcalBarrel.h"
00003 
00004 
00005 
00006 DetId MiscalibReaderFromXMLEcalBarrel::parseCellEntry(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute)
00007 {
00008 
00009 EBDetId cell= MiscalibReaderFromXMLEcalBarrel::getCellFromAttributes(
00010                                             getIntAttribute(attribute,"eta_index"),
00011                                             getIntAttribute(attribute,"phi_index")
00012                                             );
00013 return cell;
00014 }
00015 
00016 EBDetId MiscalibReaderFromXMLEcalBarrel::getCellFromAttributes(int ieta, int iphi)
00017 {
00018 EBDetId cell(ieta,iphi);
00019 return cell;
00020 }
00021