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 ( CaloMiscalibMapEcal map)
inline

Definition at line 10 of file MiscalibReaderFromXMLEcalBarrel.h.

References getCellFromAttributes(), and parseCellEntry().

10 : MiscalibReaderFromXML(map){};
MiscalibReaderFromXML(CaloMiscalibMap &)

Member Function Documentation

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

Definition at line 10 of file MiscalibReaderXMLEcalBarrel.cc.

Referenced by MiscalibReaderFromXMLEcalBarrel(), and parseCellEntry().

10  {
11  EBDetId cell(ieta, iphi);
12  return cell;
13 }
DetId MiscalibReaderFromXMLEcalBarrel::parseCellEntry ( XERCES_CPP_NAMESPACE::DOMNamedNodeMap *  attribute)
overridevirtual

Implements MiscalibReaderFromXML.

Definition at line 4 of file MiscalibReaderXMLEcalBarrel.cc.

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

Referenced by MiscalibReaderFromXMLEcalBarrel().

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)