CMS 3D CMS Logo

Public Member Functions

MiscalibReaderFromXMLEcalBarrel Class Reference

#include <MiscalibReaderFromXMLEcalBarrel.h>

Inheritance diagram for MiscalibReaderFromXMLEcalBarrel:
MiscalibReaderFromXML

List of all members.

Public Member Functions

EBDetId getCellFromAttributes (int ieta, int iphi)
 MiscalibReaderFromXMLEcalBarrel (CaloMiscalibMapEcal &map)
virtual DetId parseCellEntry (XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute)

Detailed Description

Definition at line 10 of file MiscalibReaderFromXMLEcalBarrel.h.


Constructor & Destructor Documentation

MiscalibReaderFromXMLEcalBarrel::MiscalibReaderFromXMLEcalBarrel ( CaloMiscalibMapEcal map) [inline]

Definition at line 13 of file MiscalibReaderFromXMLEcalBarrel.h.


Member Function Documentation

EBDetId MiscalibReaderFromXMLEcalBarrel::getCellFromAttributes ( int  ieta,
int  iphi 
)

Definition at line 16 of file MiscalibReaderXMLEcalBarrel.cc.

Referenced by parseCellEntry().

{
EBDetId cell(ieta,iphi);
return cell;
}
DetId MiscalibReaderFromXMLEcalBarrel::parseCellEntry ( XERCES_CPP_NAMESPACE::DOMNamedNodeMap *  attribute) [virtual]

Implements MiscalibReaderFromXML.

Definition at line 6 of file MiscalibReaderXMLEcalBarrel.cc.

References getCellFromAttributes(), and MiscalibReaderFromXML::getIntAttribute().

{

EBDetId cell= MiscalibReaderFromXMLEcalBarrel::getCellFromAttributes(
                                            getIntAttribute(attribute,"eta_index"),
                                            getIntAttribute(attribute,"phi_index")
                                            );
return cell;
}