CMS 3D CMS Logo

List of all members | Public Member Functions
MiscalibReaderFromXMLEcalBarrel Class Reference

#include <MiscalibReaderFromXMLEcalBarrel.h>

Inheritance diagram for MiscalibReaderFromXMLEcalBarrel:
MiscalibReaderFromXML

Public Member Functions

EBDetId getCellFromAttributes (int ieta, int iphi)
 
 MiscalibReaderFromXMLEcalBarrel (CaloMiscalibMapEcal &map)
 
DetId parseCellEntry (XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute) override
 
- Public Member Functions inherited from MiscalibReaderFromXML
double getFloatAttribute (XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute, const std::string &attribute_name)
 
int getIntAttribute (XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute, const std::string &attribute_name)
 
double getScalingFactor (XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute)
 
 MiscalibReaderFromXML (CaloMiscalibMap &)
 
bool parseXMLMiscalibFile (std::string configFile)
 
virtual ~MiscalibReaderFromXML ()
 

Detailed Description

Definition at line 8 of file MiscalibReaderFromXMLEcalBarrel.h.

Constructor & Destructor Documentation

◆ MiscalibReaderFromXMLEcalBarrel()

MiscalibReaderFromXMLEcalBarrel::MiscalibReaderFromXMLEcalBarrel ( CaloMiscalibMapEcal map)
inline

Member Function Documentation

◆ getCellFromAttributes()

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

◆ parseCellEntry()

DetId MiscalibReaderFromXMLEcalBarrel::parseCellEntry ( XERCES_CPP_NAMESPACE::DOMNamedNodeMap *  attribute)
overridevirtual

Implements MiscalibReaderFromXML.

Definition at line 4 of file MiscalibReaderXMLEcalBarrel.cc.

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

4  {
6  getIntAttribute(attribute, "phi_index"));
7  return cell;
8 }
EBDetId getCellFromAttributes(int ieta, int iphi)
int getIntAttribute(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute, const std::string &attribute_name)