CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
XERCES_CPP_NAMESPACE_USE Namespace Reference

Functions

unsigned int eta2Bits (unsigned int eta)
 
template<class T >
XMLCh * transcode (const T &fInput)
 

Function Documentation

unsigned int XERCES_CPP_NAMESPACE_USE::eta2Bits ( unsigned int  eta)

Definition at line 42 of file XMLConfigWriter.cc.

Referenced by XMLConfigWriter::writeAlgoMuon(), and XMLConfigWriter::writeEventData().

42  {
43  if (eta== 73) return 0b100000000;
44  else if (eta== 78) return 0b010000000;
45  else if (eta== 85) return 0b001000000;
46  else if (eta== 90) return 0b000100000;
47  else if (eta== 94) return 0b000010000;
48  else if (eta== 99) return 0b000001000;
49  else if (eta==103) return 0b000000100;
50  else if (eta==110) return 0b000000010;
51  else if (eta== 75) return 0b110000000;
52  else if (eta== 79) return 0b011000000;
53  else if (eta== 92) return 0b000110000;
54  else if (eta==115) return 0b000000001;
55  else if (eta==121) return 0b000000000;
56  else return 0b111111111; ;
57  }
template<class T >
XMLCh* XERCES_CPP_NAMESPACE_USE::transcode ( const T fInput)

Definition at line 6 of file HcalDQMDbInterface.cc.

Referenced by qtxml::_toDOMS(), _toDOMS(), qtxml::_toString(), _toString(), XMLProcessor::_toXMLCh(), XMLDocument::addAttribute(), CalibrationXML::addChild(), HcalHardwareXml::addHardware(), HcalHardwareXml::addPart(), ConfigurationDBHandler::characters(), TotemDAQMappingESSourceXML::ChipFramePosition(), ConfigurationDBHandler::ConfigurationDBHandler(), LutXml::create_lut_map(), HcalDQMDbInterface::createFooter(), HcalHLXMaskDbInterface::createHeader(), HcalDQMDbInterface::createIOV(), HcalDQMDbInterface::createTag(), ConfigurationDBHandler::cvt2String(), MuonAlignmentInputXML::do_setposition(), cscdqm::XMLFileErrorHandler::fatalError(), L1GtTriggerMenuXmlParser::findXMLChild(), xuti::fromNative(), TotemDAQMappingESSourceXML::GetChannels(), RPAlignmentCorrectionsMethods::GetCorrectionsData(), RPAlignmentCorrectionsMethods::GetCorrectionsDataFromFile(), XMLDOMBlock::getNewDocument(), TotemDAQMappingESSourceXML::GetNodeContent(), cscdqm::Collection::getNodeProperties(), TotemDAQMappingESSourceXML::GetNodeType(), TotemDAQMappingESSourceXML::GetNodeValue(), XMLDOMBlock::getTagAttribute(), L1GtTriggerMenuXmlParser::getXMLAttribute(), L1GtTriggerMenuXmlParser::getXMLTextValue(), MonitorXMLParser::handleElement(), HcalHardwareXml::HcalHardwareXml(), LutXml::init(), cond::XMLAuthenticationService::XMLAuthenticationService::initialize(), L1GtTriggerMenuXmlParser::initXML(), cscdqm::Collection::load(), MonitorXMLParser::load(), RPAlignmentCorrectionsDataSequence::LoadXMLFile(), HcalDQMDbInterface::makeMapDataset(), HcalDQMDbInterface::makeMapIOV(), HcalDQMDbInterface::makeMapTag(), MonitorXMLParser::MonitorXMLParser(), MuonAlignmentInputXML::MuonAlignmentInputXML(), MuonsGrabber::MuonsGrabber(), MuonAlignmentInputXML::newAlignableMuon(), HcalConstantsXMLWriter::newCellLine(), XMLDocument::newElement(), XMLDocument::newValue(), CalibrationXML::openFile(), XMLDOMBlock::parse(), L1GtTriggerMenuXmlParser::parseConditions(), MuonAlignmentInputXML::parseDouble(), TotemDAQMappingESSourceXML::ParseTreeDiamond(), TotemDAQMappingESSourceXML::ParseTreeRP(), SummaryPlotXmlParser::parseXML(), cond::XMLAuthenticationService::XMLAuthenticationService::processFile(), TotemDAQMappingESSourceXML::produce(), CalibrationXML::readAttribute(), l1t::XmlConfigReader::readContext(), LumiCorrectionSource::s2x(), LumiProducer::s2x(), CalibrationXML::saveFile(), XMLProcessor::serializeDOM(), HcalChannelDataXml::set_elements_comment(), HcalChannelDataXml::set_elements_dataset_id(), HcalChannelDataXml::set_elements_detector_name(), HcalChannelDataXml::set_elements_iov_begin(), HcalChannelDataXml::set_elements_iov_end(), HcalChannelDataXml::set_elements_iov_id(), HcalChannelDataXml::set_elements_tag_id(), HcalChannelDataXml::set_elements_tag_mode(), HcalChannelDataXml::set_elements_tag_name(), HcalChannelDataXml::set_header_channel_map(), HcalChannelDataXml::set_header_run_number(), HcalChannelDataXml::set_header_table_name(), HcalChannelDataXml::set_header_type(), HcalChannelDataXml::set_maps_dataset_idref(), HcalChannelDataXml::set_maps_iov_idref(), HcalChannelDataXml::set_maps_tag_idref(), lhef::LHEReader::XMLHandler::startElement(), StrX::StrX(), TotemDAQMappingESSourceXML::Test(), XMLProcessor::test(), xuti::toNative(), cscdqm::XMLFileErrorHandler::warning(), L1GtTriggerMenuXmlParser::workXML(), CalibrationXML::writeAttribute(), HcalConstantsXMLWriter::writeXML(), LumiCorrectionSource::x2s(), LumiProducer::x2s(), cscdqm::XercesStringTranscoder::XercesStringTranscoder(), xMLCh2String(), l1t::XmlConfigReader::XmlConfigReader(), XMLDocument::XMLDocument(), XMLDOMBlock::XMLDOMBlock(), XStr::XStr(), MonitorXMLParser::~MonitorXMLParser(), MuonsGrabber::~MuonsGrabber(), and TagNames::~TagNames().

6  {
7  std::ostringstream ost;
8  ost << fInput;
9  return XMLString::transcode(ost.str().c_str());
10  }
XMLCh * transcode(const T &fInput)