Typedefs | |
typedef std::basic_string< XMLCh > | XercesString |
Define an intermediate type. More... | |
Functions | |
const std::string | ADCToGeVConstant_tag ("EcalADCToGeVConstant") |
const std::string | AlignmentConstant_tag ("EcalAlignmentConstant") |
const std::string | Barrel_tag ("BarrelValue") |
const std::string | Cell_tag ("cell") |
const std::string | ChannelStatus_tag ("EcalChannelStatus") |
const std::string | ChannelStatusCode_tag ("ChannelStatusCode") |
const std::string | DAQStatusCode_tag ("DAQStatusCode") |
const std::string | DAQTowerStatus_tag ("EcalDAQTowerStatus") |
const std::string | DCSStatusCode_tag ("DCSStatusCode") |
const std::string | DCSTowerStatus_tag ("EcalDCSTowerStatus") |
const std::string | EcalFloatCondObjectContainer_tag ("EcalFloatCondObjectContainer") |
const std::string | EcalTBWeight_tag ("EcalTBWeight") |
const std::string | EcalTBWeights_tag ("EcalTBWeights") |
const std::string | EcalTDCId_tag ("EcalTDCId") |
const std::string | EcalWeightSet_tag ("EcalWeightSet") |
const std::string | EcalXtalGroupId_tag ("EcalXtalGroupId") |
const std::string | Endcap_tag ("EndcapValue") |
const std::string | ESGain_tag ("ESGain") |
XercesString | fromNative (const char *str) |
XercesString | fromNative (const std::string &str) |
const std::string | Gain12Over6_tag ("Gain12Over6") |
const std::string | Gain6Over1_tag ("Gain6Over1") |
const std::string | GainRatios_tag ("EcalGainRatios") |
xercesc::DOMNode * | getChildNode (xercesc::DOMNode *node, const std::string &nodename) |
get the child of More... | |
template<class T > | |
void | GetNodeData (xercesc::DOMNode *node, T &value) |
get the node data More... | |
void | GetNodeStringData (xercesc::DOMNode *node, std::string &value) |
get the node data as string. Needs to be used to avoid splitting More... | |
const std::string | Header_datasourcetag ("datasource") |
const std::string | Header_datetag ("date") |
const std::string | Header_methodtag ("method") |
const std::string | Header_sincetag ("since") |
const std::string | Header_tag ("EcalCondHeader") |
const std::string | Header_tagtag ("tag") |
const std::string | Header_versiontag ("version") |
const std::string | id_tag ("id") |
const std::string | iEta_tag ("iEta") |
const std::string | IntercalibConstant_tag ("IntercalibConstant") |
const std::string | IntercalibConstants_tag ("EcalIntercalibConstants") |
const std::string | IntercalibError_tag ("IntercalibError") |
const std::string | iPhi_tag ("iPhi") |
const std::string | ix_tag ("ix") |
const std::string | ixSC_tag ("ixSC") |
const std::string | iy_tag ("iy") |
const std::string | iySC_tag ("iySC") |
const std::string | Laser_p1_tag ("p1") |
const std::string | Laser_p2_tag ("p2") |
const std::string | Laser_p3_tag ("p3") |
const std::string | Laser_t1_tag ("t1") |
const std::string | Laser_t2_tag ("t2") |
const std::string | Laser_t3_tag ("t3") |
const std::string | Laser_tag ("EcalLaserAPDPNRatios") |
const std::string | LinearCorrections_tag ("EcalLinearCorrections") |
const std::string | Linearization_m12_tag ("mult12") |
const std::string | Linearization_m1_tag ("mult1") |
const std::string | Linearization_m6_tag ("mult6") |
const std::string | Linearization_s12_tag ("shift12") |
const std::string | Linearization_s1_tag ("shift1") |
const std::string | Linearization_s6_tag ("shift6") |
const std::string | Linearization_tag ("EcalTPGLinearizationConts") |
const std::string | mean12_tag ("mean_x12") |
const std::string | mean1_tag ("mean_x1") |
const std::string | mean6_tag ("mean_x6") |
const std::string | Pedestals_tag ("EcalPedestals") |
const std::string | Phi_tag ("Phi") |
const std::string | Psi_tag ("Psi") |
const std::string | PulseShapes_tag ("EcalPulseShapes") |
const std::string | PulseSymmCovariances_tag ("EcalPulseSymmCovariances") |
const DetId | readCellId (xercesc::DOMElement *node) |
Assuming. More... | |
void | readHeader (xercesc::DOMNode *parentNode, EcalCondHeader &header) |
read header from More... | |
int | readHeader (const std::string &filename, EcalCondHeader &header) |
read header from any xml file, return -1 in case of error More... | |
const std::string | rms12_tag ("rms_x12") |
const std::string | rms1_tag ("rms_x1") |
const std::string | rms6_tag ("rms_x6") |
const std::string | row_tag ("row") |
const std::string | sample0_tag ("sample_0") |
const std::string | sample10_tag ("sample_10") |
const std::string | sample11_tag ("sample_11") |
const std::string | sample1_tag ("sample_1") |
const std::string | sample2_tag ("sample_2") |
const std::string | sample3_tag ("sample_3") |
const std::string | sample4_tag ("sample_4") |
const std::string | sample5_tag ("sample_5") |
const std::string | sample6_tag ("sample_6") |
const std::string | sample7_tag ("sample_7") |
const std::string | sample8_tag ("sample_8") |
const std::string | sample9_tag ("sample_9") |
const std::string | subdet_tag ("SubDet") |
const std::string | Theta_tag ("Theta") |
const std::string | TimeOffsetConstant_tag ("EcalTimeOffsetConstant") |
std::string | toNative (const XMLCh *str) |
std::string | toNative (const XercesString &str) |
const std::string | TPGCrystalStatus_tag ("EcalTPGCrystalStatus") |
const std::string | TPGStripStatus_tag ("EcalTPGStripStatus") |
const std::string | TPGTowerStatus_tag ("EcalTPGTowerStatus") |
const std::string | Value_tag ("Value") |
const std::string | WeightGroup_tag ("EcalWeightGroup") |
const std::string | WeightGroups_tag ("EcalWeightGroups") |
const std::string | wgtAfterSwitch_tag ("WeightAfterSwitch") |
const std::string | wgtBeforeSwitch_tag ("WeightBeforeSwitch") |
const std::string | wgtChi2AfterSwitch_tag ("Chi2WeightAfterSwitch") |
const std::string | wgtChi2BeforeSwitch_tag ("Chi2WeightBeforeSwitch") |
xercesc::DOMElement * | writeCell (xercesc::DOMNode *node, const DetId &detid) |
Append a Cell node with attributes to. More... | |
void | writeHeader (xercesc::DOMNode *parentNode, const EcalCondHeader &header) |
write More... | |
template<class T > | |
void | WriteNodeWithValue (xercesc::DOMNode *parentNode, const std::string &tag, const T &value) |
write a node with More... | |
const std::string | x_tag ("x") |
const std::string | y_tag ("y") |
const std::string | z_tag ("z") |
const std::string | zside_tag ("zside") |
Helper function for converting Ecal DB Objects to XML
Utility functions to convert from unhandy XMLCh * to std::string and back
To convert a XMLCh* into a std::string:
std::string aString= toNative(const XMLCh* str);
to convert a std::string into XMLCh* and not worry about memory:
XMLCh * aCh = fromNative(std::string str).c_str();
typedef std::basic_string<XMLCh> xuti::XercesString |
Define an intermediate type.
Definition at line 28 of file XercesString.h.
const std::string xuti::ADCToGeVConstant_tag | ( | "EcalADCToGeVConstant" | ) |
Referenced by ESGainXMLTranslator::dumpXML(), and EcalADCToGeVXMLTranslator::dumpXML().
const std::string xuti::AlignmentConstant_tag | ( | "EcalAlignmentConstant" | ) |
Referenced by EcalAlignmentXMLTranslator::dumpXML().
const std::string xuti::Barrel_tag | ( | "BarrelValue" | ) |
const std::string xuti::Cell_tag | ( | "cell" | ) |
Referenced by EcalAlignmentXMLTranslator::dumpXML(), EcalTPGStripStatusXMLTranslator::dumpXML(), EcalDCSTowerStatusXMLTranslator::readXML(), EcalPedestalsXMLTranslator::readXML(), EcalPulseShapesXMLTranslator::readXML(), EcalChannelStatusXMLTranslator::readXML(), EcalPulseSymmCovariancesXMLTranslator::readXML(), EcalDAQTowerStatusXMLTranslator::readXML(), EcalGainRatiosXMLTranslator::readXML(), EcalWeightGroupXMLTranslator::readXML(), EcalFloatCondObjectContainerXMLTranslator::readXML(), EcalLinearCorrectionsXMLTranslator::readXML(), EcalLaserAPDPNRatiosXMLTranslator::readXML(), and writeCell().
const std::string xuti::ChannelStatus_tag | ( | "EcalChannelStatus" | ) |
Referenced by EcalChannelStatusXMLTranslator::dumpXML().
const std::string xuti::ChannelStatusCode_tag | ( | "ChannelStatusCode" | ) |
Referenced by EcalChannelStatusXMLTranslator::dumpXML(), and EcalChannelStatusXMLTranslator::readXML().
const std::string xuti::DAQStatusCode_tag | ( | "DAQStatusCode" | ) |
Referenced by EcalDAQTowerStatusXMLTranslator::dumpXML(), and EcalDAQTowerStatusXMLTranslator::readXML().
const std::string xuti::DAQTowerStatus_tag | ( | "EcalDAQTowerStatus" | ) |
Referenced by EcalDAQTowerStatusXMLTranslator::dumpXML().
const std::string xuti::DCSStatusCode_tag | ( | "DCSStatusCode" | ) |
Referenced by EcalDCSTowerStatusXMLTranslator::dumpXML(), and EcalDCSTowerStatusXMLTranslator::readXML().
const std::string xuti::DCSTowerStatus_tag | ( | "EcalDCSTowerStatus" | ) |
Referenced by EcalDCSTowerStatusXMLTranslator::dumpXML().
const std::string xuti::EcalFloatCondObjectContainer_tag | ( | "EcalFloatCondObjectContainer" | ) |
Referenced by EcalFloatCondObjectContainerXMLTranslator::dumpXML().
const std::string xuti::EcalTBWeight_tag | ( | "EcalTBWeight" | ) |
Referenced by EcalTBWeightsXMLTranslator::dumpXML(), and EcalTBWeightsXMLTranslator::readXML().
const std::string xuti::EcalTBWeights_tag | ( | "EcalTBWeights" | ) |
Referenced by EcalTBWeightsXMLTranslator::dumpXML().
const std::string xuti::EcalTDCId_tag | ( | "EcalTDCId" | ) |
Referenced by EcalTBWeightsXMLTranslator::dumpXML(), and EcalTBWeightsXMLTranslator::readXML().
const std::string xuti::EcalWeightSet_tag | ( | "EcalWeightSet" | ) |
const std::string xuti::EcalXtalGroupId_tag | ( | "EcalXtalGroupId" | ) |
Referenced by EcalTBWeightsXMLTranslator::dumpXML(), and EcalTBWeightsXMLTranslator::readXML().
const std::string xuti::Endcap_tag | ( | "EndcapValue" | ) |
const std::string xuti::ESGain_tag | ( | "ESGain" | ) |
Referenced by ESGainXMLTranslator::dumpXML().
|
inline |
Definition at line 31 of file XercesString.h.
References XERCES_CPP_NAMESPACE_USE::transcode().
Referenced by EcalTPGCrystalStatusXMLTranslator::dumpXML(), ESGainXMLTranslator::dumpXML(), EcalTimeBiasCorrectionsXMLTranslator::dumpXML(), EcalAlignmentXMLTranslator::dumpXML(), EcalTPGTowerStatusXMLTranslator::dumpXML(), EcalTPGStripStatusXMLTranslator::dumpXML(), EcalDCSTowerStatusXMLTranslator::dumpXML(), EcalPedestalsXMLTranslator::dumpXML(), EcalChannelStatusXMLTranslator::dumpXML(), EcalPulseShapesXMLTranslator::dumpXML(), EcalPulseSymmCovariancesXMLTranslator::dumpXML(), EcalTPGLinearizationConstXMLTranslator::dumpXML(), EcalGainRatiosXMLTranslator::dumpXML(), EcalClusterCrackCorrXMLTranslator::dumpXML(), EcalDAQTowerStatusXMLTranslator::dumpXML(), EcalADCToGeVXMLTranslator::dumpXML(), EcalTimeOffsetXMLTranslator::dumpXML(), EcalWeightGroupXMLTranslator::dumpXML(), EcalClusterEnergyCorrectionObjectSpecificXMLTranslator::dumpXML(), EcalClusterEnergyCorrectionXMLTranslator::dumpXML(), EcalClusterLocalContCorrXMLTranslator::dumpXML(), EcalTBWeightsXMLTranslator::dumpXML(), EcalWeightSetXMLTranslator::dumpXML(), EcalLinearCorrectionsXMLTranslator::dumpXML(), EcalLaserAPDPNRatiosXMLTranslator::dumpXML(), EcalFloatCondObjectContainerXMLTranslator::dumpXML(), fromNative(), readCellId(), EcalTBWeightsXMLTranslator::readWeightSet(), EcalWeightSetXMLTranslator::readXML(), EcalWeightSetXMLTranslator::write10x10(), EcalWeightSetXMLTranslator::write3x10(), writeCell(), EcalTBWeightsXMLTranslator::writeChi2WeightMatrix(), writeHeader(), WriteNodeWithValue(), EcalTBWeightsXMLTranslator::writeWeightMatrix(), and EcalTBWeightsXMLTranslator::writeWeightSet().
|
inline |
const std::string xuti::Gain12Over6_tag | ( | "Gain12Over6" | ) |
Referenced by EcalGainRatiosXMLTranslator::dumpXML(), and EcalGainRatiosXMLTranslator::readXML().
const std::string xuti::Gain6Over1_tag | ( | "Gain6Over1" | ) |
Referenced by EcalGainRatiosXMLTranslator::dumpXML(), and EcalGainRatiosXMLTranslator::readXML().
const std::string xuti::GainRatios_tag | ( | "EcalGainRatios" | ) |
Referenced by EcalGainRatiosXMLTranslator::dumpXML().
xercesc::DOMNode* xuti::getChildNode | ( | xercesc::DOMNode * | node, |
const std::string & | nodename | ||
) |
get the child of
node | called |
nodedame,return | 0 if not found |
Referenced by readHeader(), EcalTBWeightsXMLTranslator::readWeightSet(), EcalDCSTowerStatusXMLTranslator::readXML(), EcalPedestalsXMLTranslator::readXML(), EcalPulseShapesXMLTranslator::readXML(), EcalPulseSymmCovariancesXMLTranslator::readXML(), EcalChannelStatusXMLTranslator::readXML(), EcalGainRatiosXMLTranslator::readXML(), EcalADCToGeVXMLTranslator::readXML(), EcalDAQTowerStatusXMLTranslator::readXML(), EcalTimeOffsetXMLTranslator::readXML(), EcalWeightGroupXMLTranslator::readXML(), EcalFloatCondObjectContainerXMLTranslator::readXML(), EcalTBWeightsXMLTranslator::readXML(), EcalWeightSetXMLTranslator::readXML(), EcalLinearCorrectionsXMLTranslator::readXML(), and EcalLaserAPDPNRatiosXMLTranslator::readXML().
void xuti::GetNodeData | ( | xercesc::DOMNode * | node, |
T & | value | ||
) |
get the node data
Definition at line 43 of file DOMHelperFunctions.h.
References AlCaHLTBitMon_QueryRunRegistry::string, toNative(), and relativeConstraints::value.
Referenced by popcon::EcalSRPHandler::importDccConfigFile(), readHeader(), EcalDCSTowerStatusXMLTranslator::readXML(), EcalPedestalsXMLTranslator::readXML(), EcalPulseShapesXMLTranslator::readXML(), EcalChannelStatusXMLTranslator::readXML(), EcalPulseSymmCovariancesXMLTranslator::readXML(), EcalDAQTowerStatusXMLTranslator::readXML(), EcalADCToGeVXMLTranslator::readXML(), EcalTimeOffsetXMLTranslator::readXML(), EcalGainRatiosXMLTranslator::readXML(), EcalWeightGroupXMLTranslator::readXML(), EcalFloatCondObjectContainerXMLTranslator::readXML(), EcalTBWeightsXMLTranslator::readXML(), EcalLinearCorrectionsXMLTranslator::readXML(), and EcalLaserAPDPNRatiosXMLTranslator::readXML().
void xuti::GetNodeStringData | ( | xercesc::DOMNode * | node, |
std::string & | value | ||
) |
get the node data as string. Needs to be used to avoid splitting
Definition at line 244 of file DOMHelperFunctions.cc.
References toNative().
Referenced by readHeader().
const std::string xuti::Header_datasourcetag | ( | "datasource" | ) |
Referenced by readHeader(), and writeHeader().
const std::string xuti::Header_datetag | ( | "date" | ) |
Referenced by readHeader(), and writeHeader().
const std::string xuti::Header_methodtag | ( | "method" | ) |
Referenced by readHeader(), and writeHeader().
const std::string xuti::Header_sincetag | ( | "since" | ) |
Referenced by readHeader(), and writeHeader().
const std::string xuti::Header_tag | ( | "EcalCondHeader" | ) |
Referenced by readHeader(), and writeHeader().
const std::string xuti::Header_tagtag | ( | "tag" | ) |
Referenced by readHeader(), and writeHeader().
const std::string xuti::Header_versiontag | ( | "version" | ) |
Referenced by readHeader(), and writeHeader().
const std::string xuti::id_tag | ( | "id" | ) |
Referenced by HLTTauRefProducer::doElectrons(), EcalAlignmentXMLTranslator::dumpXML(), EcalTBWeightsXMLTranslator::readWeightSet(), EcalWeightSetXMLTranslator::readXML(), EcalWeightSetXMLTranslator::write10x10(), EcalWeightSetXMLTranslator::write3x10(), EcalTBWeightsXMLTranslator::writeChi2WeightMatrix(), and EcalTBWeightsXMLTranslator::writeWeightMatrix().
const std::string xuti::iEta_tag | ( | "iEta" | ) |
Referenced by readCellId(), and writeCell().
const std::string xuti::IntercalibConstant_tag | ( | "IntercalibConstant" | ) |
const std::string xuti::IntercalibConstants_tag | ( | "EcalIntercalibConstants" | ) |
Referenced by EcalTimeBiasCorrectionsXMLTranslator::dumpXML().
const std::string xuti::IntercalibError_tag | ( | "IntercalibError" | ) |
const std::string xuti::iPhi_tag | ( | "iPhi" | ) |
Referenced by readCellId(), and writeCell().
const std::string xuti::ix_tag | ( | "ix" | ) |
Referenced by readCellId(), and writeCell().
const std::string xuti::ixSC_tag | ( | "ixSC" | ) |
Referenced by readCellId(), and writeCell().
const std::string xuti::iy_tag | ( | "iy" | ) |
Referenced by readCellId(), and writeCell().
const std::string xuti::iySC_tag | ( | "iySC" | ) |
Referenced by readCellId(), and writeCell().
const std::string xuti::Laser_p1_tag | ( | "p1" | ) |
const std::string xuti::Laser_p2_tag | ( | "p2" | ) |
const std::string xuti::Laser_p3_tag | ( | "p3" | ) |
const std::string xuti::Laser_t1_tag | ( | "t1" | ) |
const std::string xuti::Laser_t2_tag | ( | "t2" | ) |
const std::string xuti::Laser_t3_tag | ( | "t3" | ) |
const std::string xuti::Laser_tag | ( | "EcalLaserAPDPNRatios" | ) |
const std::string xuti::LinearCorrections_tag | ( | "EcalLinearCorrections" | ) |
const std::string xuti::Linearization_m12_tag | ( | "mult12" | ) |
Referenced by EcalTPGLinearizationConstXMLTranslator::dumpXML().
const std::string xuti::Linearization_m1_tag | ( | "mult1" | ) |
Referenced by EcalTPGLinearizationConstXMLTranslator::dumpXML().
const std::string xuti::Linearization_m6_tag | ( | "mult6" | ) |
Referenced by EcalTPGLinearizationConstXMLTranslator::dumpXML().
const std::string xuti::Linearization_s12_tag | ( | "shift12" | ) |
Referenced by EcalTPGLinearizationConstXMLTranslator::dumpXML().
const std::string xuti::Linearization_s1_tag | ( | "shift1" | ) |
Referenced by EcalTPGLinearizationConstXMLTranslator::dumpXML().
const std::string xuti::Linearization_s6_tag | ( | "shift6" | ) |
Referenced by EcalTPGLinearizationConstXMLTranslator::dumpXML().
const std::string xuti::Linearization_tag | ( | "EcalTPGLinearizationConts" | ) |
Referenced by EcalTPGLinearizationConstXMLTranslator::dumpXML().
const std::string xuti::mean12_tag | ( | "mean_x12" | ) |
Referenced by EcalPedestalsXMLTranslator::dumpXML(), and EcalPedestalsXMLTranslator::readXML().
const std::string xuti::mean1_tag | ( | "mean_x1" | ) |
Referenced by EcalPedestalsXMLTranslator::dumpXML(), and EcalPedestalsXMLTranslator::readXML().
const std::string xuti::mean6_tag | ( | "mean_x6" | ) |
Referenced by EcalPedestalsXMLTranslator::dumpXML(), and EcalPedestalsXMLTranslator::readXML().
const std::string xuti::Pedestals_tag | ( | "EcalPedestals" | ) |
Referenced by EcalPedestalsXMLTranslator::dumpXML().
const std::string xuti::Phi_tag | ( | "Phi" | ) |
Referenced by EcalAlignmentXMLTranslator::dumpXML().
const std::string xuti::Psi_tag | ( | "Psi" | ) |
Referenced by EcalAlignmentXMLTranslator::dumpXML().
const std::string xuti::PulseShapes_tag | ( | "EcalPulseShapes" | ) |
Referenced by EcalPulseShapesXMLTranslator::dumpXML().
const std::string xuti::PulseSymmCovariances_tag | ( | "EcalPulseSymmCovariances" | ) |
Referenced by EcalPulseSymmCovariancesXMLTranslator::dumpXML().
const DetId xuti::readCellId | ( | xercesc::DOMElement * | node | ) |
Assuming.
node | is a <cell> node, read the id |
Definition at line 25 of file DOMHelperFunctions.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, fromNative(), iEta_tag(), iPhi_tag(), ix_tag(), ixSC_tag(), iy_tag(), iySC_tag(), toNative(), ecaldqm::zside(), and zside_tag().
Referenced by EcalDCSTowerStatusXMLTranslator::readXML(), EcalPedestalsXMLTranslator::readXML(), EcalPulseShapesXMLTranslator::readXML(), EcalPulseSymmCovariancesXMLTranslator::readXML(), EcalChannelStatusXMLTranslator::readXML(), EcalDAQTowerStatusXMLTranslator::readXML(), EcalGainRatiosXMLTranslator::readXML(), EcalWeightGroupXMLTranslator::readXML(), EcalFloatCondObjectContainerXMLTranslator::readXML(), EcalLinearCorrectionsXMLTranslator::readXML(), and EcalLaserAPDPNRatiosXMLTranslator::readXML().
void xuti::readHeader | ( | xercesc::DOMNode * | parentNode, |
EcalCondHeader & | header | ||
) |
read header from
parentNode |
Definition at line 189 of file DOMHelperFunctions.cc.
References EcalCondHeader::datasource_, EcalCondHeader::date_, getChildNode(), GetNodeData(), GetNodeStringData(), Header_datasourcetag(), Header_datetag(), Header_methodtag(), Header_sincetag(), Header_tag(), Header_tagtag(), Header_versiontag(), EcalCondHeader::method_, EcalCondHeader::since_, EcalCondHeader::tag_, and EcalCondHeader::version_.
Referenced by EcalFloatCondObjectContainerHandler::id(), readHeader(), EcalTimeBiasCorrectionsXMLTranslator::readXML(), EcalTPGStripStatusXMLTranslator::readXML(), EcalTPGTowerStatusXMLTranslator::readXML(), EcalDCSTowerStatusXMLTranslator::readXML(), EcalPulseShapesXMLTranslator::readXML(), EcalPulseSymmCovariancesXMLTranslator::readXML(), EcalChannelStatusXMLTranslator::readXML(), EcalClusterCrackCorrXMLTranslator::readXML(), EcalPedestalsXMLTranslator::readXML(), EcalClusterLocalContCorrXMLTranslator::readXML(), EcalDAQTowerStatusXMLTranslator::readXML(), EcalGainRatiosXMLTranslator::readXML(), EcalTimeOffsetXMLTranslator::readXML(), EcalClusterEnergyCorrectionXMLTranslator::readXML(), EcalClusterEnergyCorrectionObjectSpecificXMLTranslator::readXML(), EcalADCToGeVXMLTranslator::readXML(), EcalFloatCondObjectContainerXMLTranslator::readXML(), EcalWeightGroupXMLTranslator::readXML(), EcalTBWeightsXMLTranslator::readXML(), EcalWeightSetXMLTranslator::readXML(), EcalLinearCorrectionsXMLTranslator::readXML(), and EcalLaserAPDPNRatiosXMLTranslator::readXML().
int xuti::readHeader | ( | const std::string & | filename, |
EcalCondHeader & | header | ||
) |
read header from any xml file, return -1 in case of error
Definition at line 215 of file DOMHelperFunctions.cc.
References gather_cfg::cout, createfilelist::parser, readHeader(), cms::concurrency::xercesInitialize(), and cms::concurrency::xercesTerminate().
const std::string xuti::rms12_tag | ( | "rms_x12" | ) |
Referenced by EcalPedestalsXMLTranslator::dumpXML(), and EcalPedestalsXMLTranslator::readXML().
const std::string xuti::rms1_tag | ( | "rms_x1" | ) |
Referenced by EcalPedestalsXMLTranslator::dumpXML(), and EcalPedestalsXMLTranslator::readXML().
const std::string xuti::rms6_tag | ( | "rms_x6" | ) |
Referenced by EcalPedestalsXMLTranslator::dumpXML(), and EcalPedestalsXMLTranslator::readXML().
const std::string xuti::row_tag | ( | "row" | ) |
const std::string xuti::sample0_tag | ( | "sample_0" | ) |
Referenced by EcalPulseShapesXMLTranslator::dumpXML(), and EcalPulseShapesXMLTranslator::readXML().
const std::string xuti::sample10_tag | ( | "sample_10" | ) |
Referenced by EcalPulseShapesXMLTranslator::dumpXML(), and EcalPulseShapesXMLTranslator::readXML().
const std::string xuti::sample11_tag | ( | "sample_11" | ) |
Referenced by EcalPulseShapesXMLTranslator::dumpXML(), and EcalPulseShapesXMLTranslator::readXML().
const std::string xuti::sample1_tag | ( | "sample_1" | ) |
Referenced by EcalPulseShapesXMLTranslator::dumpXML(), and EcalPulseShapesXMLTranslator::readXML().
const std::string xuti::sample2_tag | ( | "sample_2" | ) |
Referenced by EcalPulseShapesXMLTranslator::dumpXML(), and EcalPulseShapesXMLTranslator::readXML().
const std::string xuti::sample3_tag | ( | "sample_3" | ) |
Referenced by EcalPulseShapesXMLTranslator::dumpXML(), and EcalPulseShapesXMLTranslator::readXML().
const std::string xuti::sample4_tag | ( | "sample_4" | ) |
Referenced by EcalPulseShapesXMLTranslator::dumpXML(), and EcalPulseShapesXMLTranslator::readXML().
const std::string xuti::sample5_tag | ( | "sample_5" | ) |
Referenced by EcalPulseShapesXMLTranslator::dumpXML(), and EcalPulseShapesXMLTranslator::readXML().
const std::string xuti::sample6_tag | ( | "sample_6" | ) |
Referenced by EcalPulseShapesXMLTranslator::dumpXML(), and EcalPulseShapesXMLTranslator::readXML().
const std::string xuti::sample7_tag | ( | "sample_7" | ) |
Referenced by EcalPulseShapesXMLTranslator::dumpXML(), and EcalPulseShapesXMLTranslator::readXML().
const std::string xuti::sample8_tag | ( | "sample_8" | ) |
Referenced by EcalPulseShapesXMLTranslator::dumpXML(), and EcalPulseShapesXMLTranslator::readXML().
const std::string xuti::sample9_tag | ( | "sample_9" | ) |
Referenced by EcalPulseShapesXMLTranslator::dumpXML(), and EcalPulseShapesXMLTranslator::readXML().
const std::string xuti::subdet_tag | ( | "SubDet" | ) |
const std::string xuti::Theta_tag | ( | "Theta" | ) |
Referenced by EcalAlignmentXMLTranslator::dumpXML().
const std::string xuti::TimeOffsetConstant_tag | ( | "EcalTimeOffsetConstant" | ) |
Referenced by EcalTimeOffsetXMLTranslator::dumpXML().
|
inline |
Definition at line 42 of file XercesString.h.
References AlCaHLTBitMon_QueryRunRegistry::string, and XERCES_CPP_NAMESPACE_USE::transcode().
Referenced by EcalTPGCrystalStatusXMLTranslator::dumpXML(), ESGainXMLTranslator::dumpXML(), EcalTimeBiasCorrectionsXMLTranslator::dumpXML(), EcalAlignmentXMLTranslator::dumpXML(), EcalTPGStripStatusXMLTranslator::dumpXML(), EcalTPGTowerStatusXMLTranslator::dumpXML(), EcalDCSTowerStatusXMLTranslator::dumpXML(), EcalPedestalsXMLTranslator::dumpXML(), EcalPulseShapesXMLTranslator::dumpXML(), EcalPulseSymmCovariancesXMLTranslator::dumpXML(), EcalChannelStatusXMLTranslator::dumpXML(), EcalTPGLinearizationConstXMLTranslator::dumpXML(), EcalClusterCrackCorrXMLTranslator::dumpXML(), EcalTimeOffsetXMLTranslator::dumpXML(), EcalDAQTowerStatusXMLTranslator::dumpXML(), EcalADCToGeVXMLTranslator::dumpXML(), EcalGainRatiosXMLTranslator::dumpXML(), EcalClusterEnergyCorrectionObjectSpecificXMLTranslator::dumpXML(), EcalClusterEnergyCorrectionXMLTranslator::dumpXML(), EcalClusterLocalContCorrXMLTranslator::dumpXML(), EcalWeightGroupXMLTranslator::dumpXML(), EcalTBWeightsXMLTranslator::dumpXML(), EcalWeightSetXMLTranslator::dumpXML(), EcalLinearCorrectionsXMLTranslator::dumpXML(), EcalLaserAPDPNRatiosXMLTranslator::dumpXML(), EcalFloatCondObjectContainerXMLTranslator::dumpXML(), GetNodeData(), GetNodeStringData(), popcon::EcalSRPHandler::importDccConfigFile(), readCellId(), EcalTBWeightsXMLTranslator::readWeightSet(), EcalWeightSetXMLTranslator::readXML(), toNative(), EcalWeightSetXMLTranslator::write10x10(), and EcalWeightSetXMLTranslator::write3x10().
|
inline |
const std::string xuti::TPGCrystalStatus_tag | ( | "EcalTPGCrystalStatus" | ) |
Referenced by EcalTPGCrystalStatusXMLTranslator::dumpXML().
const std::string xuti::TPGStripStatus_tag | ( | "EcalTPGStripStatus" | ) |
Referenced by EcalTPGStripStatusXMLTranslator::dumpXML().
const std::string xuti::TPGTowerStatus_tag | ( | "EcalTPGTowerStatus" | ) |
Referenced by EcalTPGTowerStatusXMLTranslator::dumpXML().
const std::string xuti::Value_tag | ( | "Value" | ) |
Referenced by EcalTimeBiasCorrectionsXMLTranslator::dumpXML(), EcalClusterCrackCorrXMLTranslator::dumpXML(), EcalClusterEnergyCorrectionObjectSpecificXMLTranslator::dumpXML(), EcalClusterLocalContCorrXMLTranslator::dumpXML(), EcalClusterEnergyCorrectionXMLTranslator::dumpXML(), EcalFloatCondObjectContainerXMLTranslator::dumpXML(), and EcalFloatCondObjectContainerXMLTranslator::readXML().
const std::string xuti::WeightGroup_tag | ( | "EcalWeightGroup" | ) |
Referenced by EcalWeightGroupXMLTranslator::dumpXML(), and EcalWeightGroupXMLTranslator::readXML().
const std::string xuti::WeightGroups_tag | ( | "EcalWeightGroups" | ) |
Referenced by EcalWeightGroupXMLTranslator::dumpXML().
const std::string xuti::wgtAfterSwitch_tag | ( | "WeightAfterSwitch" | ) |
const std::string xuti::wgtBeforeSwitch_tag | ( | "WeightBeforeSwitch" | ) |
const std::string xuti::wgtChi2AfterSwitch_tag | ( | "Chi2WeightAfterSwitch" | ) |
const std::string xuti::wgtChi2BeforeSwitch_tag | ( | "Chi2WeightBeforeSwitch" | ) |
DOMElement * xuti::writeCell | ( | xercesc::DOMNode * | node, |
const DetId & | detid | ||
) |
Append a Cell node with attributes to.
node |
Definition at line 72 of file DOMHelperFunctions.cc.
References Cell_tag(), EcalBarrel, EcalEndcap, EcalTriggerTower, fromNative(), EcalTrigTowerDetId::ieta(), EBDetId::ieta(), iEta_tag(), EBDetId::iphi(), EcalTrigTowerDetId::iphi(), iPhi_tag(), EcalScDetId::ix(), EEDetId::ix(), ix_tag(), ixSC_tag(), EcalScDetId::iy(), EEDetId::iy(), iy_tag(), iySC_tag(), DetId::rawId(), DetId::subdetId(), EcalScDetId::zside(), EEDetId::zside(), and zside_tag().
Referenced by EcalTPGCrystalStatusXMLTranslator::dumpXML(), EcalTPGTowerStatusXMLTranslator::dumpXML(), EcalDCSTowerStatusXMLTranslator::dumpXML(), EcalPulseShapesXMLTranslator::dumpXML(), EcalPedestalsXMLTranslator::dumpXML(), EcalPulseSymmCovariancesXMLTranslator::dumpXML(), EcalChannelStatusXMLTranslator::dumpXML(), EcalTPGLinearizationConstXMLTranslator::dumpXML(), EcalDAQTowerStatusXMLTranslator::dumpXML(), EcalGainRatiosXMLTranslator::dumpXML(), EcalWeightGroupXMLTranslator::dumpXML(), EcalLinearCorrectionsXMLTranslator::dumpXML(), EcalLaserAPDPNRatiosXMLTranslator::dumpXML(), and EcalFloatCondObjectContainerXMLTranslator::dumpXML().
void xuti::writeHeader | ( | xercesc::DOMNode * | parentNode, |
const EcalCondHeader & | header | ||
) |
write
header | under |
parentNode |
Definition at line 169 of file DOMHelperFunctions.cc.
References EcalCondHeader::datasource_, EcalCondHeader::date_, fromNative(), Header_datasourcetag(), Header_datetag(), Header_methodtag(), Header_sincetag(), Header_tag(), Header_tagtag(), Header_versiontag(), EcalCondHeader::method_, EcalCondHeader::since_, EcalCondHeader::tag_, EcalCondHeader::version_, and WriteNodeWithValue().
Referenced by EcalTPGCrystalStatusXMLTranslator::dumpXML(), EcalTimeBiasCorrectionsXMLTranslator::dumpXML(), ESGainXMLTranslator::dumpXML(), EcalAlignmentXMLTranslator::dumpXML(), EcalTPGStripStatusXMLTranslator::dumpXML(), EcalTPGTowerStatusXMLTranslator::dumpXML(), EcalDCSTowerStatusXMLTranslator::dumpXML(), EcalPulseSymmCovariancesXMLTranslator::dumpXML(), EcalTPGLinearizationConstXMLTranslator::dumpXML(), EcalChannelStatusXMLTranslator::dumpXML(), EcalPedestalsXMLTranslator::dumpXML(), EcalPulseShapesXMLTranslator::dumpXML(), EcalTimeOffsetXMLTranslator::dumpXML(), EcalADCToGeVXMLTranslator::dumpXML(), EcalDAQTowerStatusXMLTranslator::dumpXML(), EcalClusterCrackCorrXMLTranslator::dumpXML(), EcalGainRatiosXMLTranslator::dumpXML(), EcalClusterEnergyCorrectionObjectSpecificXMLTranslator::dumpXML(), EcalWeightGroupXMLTranslator::dumpXML(), EcalClusterEnergyCorrectionXMLTranslator::dumpXML(), EcalClusterLocalContCorrXMLTranslator::dumpXML(), EcalTBWeightsXMLTranslator::dumpXML(), EcalWeightSetXMLTranslator::dumpXML(), EcalLinearCorrectionsXMLTranslator::dumpXML(), EcalLaserAPDPNRatiosXMLTranslator::dumpXML(), and EcalFloatCondObjectContainerXMLTranslator::dumpXML().
void xuti::WriteNodeWithValue | ( | xercesc::DOMNode * | parentNode, |
const std::string & | tag, | ||
const T & | value | ||
) |
write a node with
tag | and |
value | under |
parentNode |
Definition at line 52 of file DOMHelperFunctions.h.
References fromNative(), and relativeConstraints::value.
Referenced by EcalTPGCrystalStatusXMLTranslator::dumpXML(), EcalTimeBiasCorrectionsXMLTranslator::dumpXML(), ESGainXMLTranslator::dumpXML(), EcalAlignmentXMLTranslator::dumpXML(), EcalTPGStripStatusXMLTranslator::dumpXML(), EcalTPGTowerStatusXMLTranslator::dumpXML(), EcalDCSTowerStatusXMLTranslator::dumpXML(), EcalPulseSymmCovariancesXMLTranslator::dumpXML(), EcalPulseShapesXMLTranslator::dumpXML(), EcalChannelStatusXMLTranslator::dumpXML(), EcalTPGLinearizationConstXMLTranslator::dumpXML(), EcalPedestalsXMLTranslator::dumpXML(), EcalDAQTowerStatusXMLTranslator::dumpXML(), EcalClusterCrackCorrXMLTranslator::dumpXML(), EcalTimeOffsetXMLTranslator::dumpXML(), EcalGainRatiosXMLTranslator::dumpXML(), EcalADCToGeVXMLTranslator::dumpXML(), EcalClusterEnergyCorrectionXMLTranslator::dumpXML(), EcalClusterEnergyCorrectionObjectSpecificXMLTranslator::dumpXML(), EcalClusterLocalContCorrXMLTranslator::dumpXML(), EcalWeightGroupXMLTranslator::dumpXML(), EcalTBWeightsXMLTranslator::dumpXML(), EcalLinearCorrectionsXMLTranslator::dumpXML(), EcalLaserAPDPNRatiosXMLTranslator::dumpXML(), EcalFloatCondObjectContainerXMLTranslator::dumpXML(), and writeHeader().
const std::string xuti::x_tag | ( | "x" | ) |
Referenced by EcalAlignmentXMLTranslator::dumpXML().
const std::string xuti::y_tag | ( | "y" | ) |
Referenced by EcalAlignmentXMLTranslator::dumpXML().
const std::string xuti::z_tag | ( | "z" | ) |
Referenced by EcalAlignmentXMLTranslator::dumpXML().
const std::string xuti::zside_tag | ( | "zside" | ) |
Referenced by readCellId(), and writeCell().