#include <MiscalibReaderFromXMLHcal.h>
Public Member Functions | |
HcalDetId | getCellFromAttributes (int idet, int ieta, int iphi, int idepth) |
MiscalibReaderFromXMLHcal (CaloMiscalibMapHcal &map) | |
virtual DetId | parseCellEntry (XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attribute) |
Definition at line 10 of file MiscalibReaderFromXMLHcal.h.
MiscalibReaderFromXMLHcal::MiscalibReaderFromXMLHcal | ( | CaloMiscalibMapHcal & | map | ) | [inline] |
Definition at line 13 of file MiscalibReaderFromXMLHcal.h.
:MiscalibReaderFromXML(map){};
HcalDetId MiscalibReaderFromXMLHcal::getCellFromAttributes | ( | int | idet, |
int | ieta, | ||
int | iphi, | ||
int | idepth | ||
) |
Definition at line 18 of file MiscalibReaderXMLHcal.cc.
References gather_cfg::cout.
Referenced by parseCellEntry().
DetId MiscalibReaderFromXMLHcal::parseCellEntry | ( | XERCES_CPP_NAMESPACE::DOMNamedNodeMap * | attribute | ) | [virtual] |
Implements MiscalibReaderFromXML.
Definition at line 6 of file MiscalibReaderXMLHcal.cc.
References getCellFromAttributes(), and MiscalibReaderFromXML::getIntAttribute().
{ HcalDetId cell= MiscalibReaderFromXMLHcal::getCellFromAttributes( getIntAttribute(attribute,"det_index"), getIntAttribute(attribute,"eta_index"), getIntAttribute(attribute,"phi_index"), getIntAttribute(attribute,"depth_index") ); return cell; }