CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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)
 
virtual DetId parseCellEntry (XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute)
 
- 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 10 of file MiscalibReaderFromXMLEcalBarrel.h.

Constructor & Destructor Documentation

MiscalibReaderFromXMLEcalBarrel::MiscalibReaderFromXMLEcalBarrel ( CaloMiscalibMapEcal map)
inline

Definition at line 13 of file MiscalibReaderFromXMLEcalBarrel.h.

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

Member Function Documentation

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

Definition at line 16 of file MiscalibReaderXMLEcalBarrel.cc.

Referenced by parseCellEntry().

17 {
18 EBDetId cell(ieta,iphi);
19 return cell;
20 }
DetId MiscalibReaderFromXMLEcalBarrel::parseCellEntry ( XERCES_CPP_NAMESPACE::DOMNamedNodeMap *  attribute)
virtual

Implements MiscalibReaderFromXML.

Definition at line 6 of file MiscalibReaderXMLEcalBarrel.cc.

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

7 {
8 
10  getIntAttribute(attribute,"eta_index"),
11  getIntAttribute(attribute,"phi_index")
12  );
13 return cell;
14 }
EBDetId getCellFromAttributes(int ieta, int iphi)
int getIntAttribute(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute, const std::string &attribute_name)