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

Definition at line 10 of file MiscalibReaderFromXMLEcalBarrel.h.

Member Function Documentation

◆ getCellFromAttributes()

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

Definition at line 10 of file MiscalibReaderXMLEcalBarrel.cc.

10  {
11  EBDetId cell(ieta, iphi);
12  return cell;
13 }

References LEDCalibrationChannels::ieta, and LEDCalibrationChannels::iphi.

Referenced by parseCellEntry().

◆ parseCellEntry()

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

Implements MiscalibReaderFromXML.

Definition at line 4 of file MiscalibReaderXMLEcalBarrel.cc.

4  {
6  getIntAttribute(attribute, "phi_index"));
7  return cell;
8 }

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

EBDetId
Definition: EBDetId.h:17
LEDCalibrationChannels.iphi
iphi
Definition: LEDCalibrationChannels.py:64
MiscalibReaderFromXML::MiscalibReaderFromXML
MiscalibReaderFromXML(CaloMiscalibMap &)
Definition: MiscalibReaderXML.cc:24
LEDCalibrationChannels.ieta
ieta
Definition: LEDCalibrationChannels.py:63
MiscalibReaderFromXML::getIntAttribute
int getIntAttribute(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute, const std::string &attribute_name)
Definition: MiscalibReaderXML.cc:41
MiscalibReaderFromXMLEcalBarrel::getCellFromAttributes
EBDetId getCellFromAttributes(int ieta, int iphi)
Definition: MiscalibReaderXMLEcalBarrel.cc:10
genParticles_cff.map
map
Definition: genParticles_cff.py:11