Public Member Functions | |
template<class T > | |
void | addAttribute (DOMElement *fElement, const std::string &fName, const T &fValue) |
void | addData (DOMElement *fData, const HcalPedestal &fItem) |
void | addData (DOMElement *fData, const HcalPedestalWidth &fItem) |
void | addData (DOMElement *fData, const HcalGain &fItem) |
void | addData (DOMElement *fData, const HcalRawGain &fItem) |
void | addData (DOMElement *fData, const HcalGainWidth &fItem) |
const DOMDocument * | document () |
DOMElement * | makeChId (DOMElement *fDataset, DetId fId) |
DOMElement * | makeData (DOMElement *fDataset, const HcalPedestal &fPed, const HcalPedestalWidth &fWidth) |
DOMElement * | makeData (DOMElement *fDataset) |
DOMElement * | makeDataset (DOMElement *fRoot, const std::string &fVersion) |
DOMElement * | makeElement (DOMElement *fRoot) |
DOMElement * | makeElementDataset (DOMElement *fElement, int fXMLId, DetId fDetId, const std::string &fVersion, const std::string &fKind, unsigned long fRun) |
DOMElement * | makeElementIOV (DOMElement *fElement, unsigned long long fIovBegin, unsigned long long fIovEnd=0) |
DOMElement * | makeElementTag (DOMElement *fElement, const std::string &fTagName, const std::string &fDetectorName, const std::string &fComment="Automatically created by HcalDbXml") |
DOMElement * | makeHeader (DOMElement *fRoot, const std::string &fExtensionName, unsigned long fRun) |
DOMElement * | makeMapDataset (DOMElement *fIov, int fXMLId) |
DOMElement * | makeMapIOV (DOMElement *fTag) |
DOMElement * | makeMaps (DOMElement *fRoot) |
DOMElement * | makeMapTag (DOMElement *fMap) |
DOMElement * | makeRun (DOMElement *fHeader, unsigned long fRun) |
DOMElement * | makeType (DOMElement *fHeader, const std::string &fExtensionName) |
template<class T > | |
DOMElement * | newElement (DOMElement *fParent, const T &fName) |
template<class T > | |
DOMElement * | newValue (DOMElement *fParent, const std::string &fName, const T &fValue) |
DOMElement * | root () |
void | streamOut (std::ostream &fOut) |
XMLDocument () | |
Private Attributes | |
DOMDocument * | mDoc |
DOMImplementation * | mDom |
Definition at line 60 of file HcalDbXml.cc.
XMLDocument::XMLDocument | ( | ) |
Definition at line 114 of file HcalDbXml.cc.
References mDoc, mDom, and cms::concurrency::xercesInitialize().
void XMLDocument::addAttribute | ( | DOMElement * | fElement, |
const std::string & | fName, | ||
const T & | fValue | ||
) |
Definition at line 138 of file HcalDbXml.cc.
References fileCollector2::fName.
Referenced by makeElementDataset(), makeElementIOV(), makeElementTag(), makeMapDataset(), makeMapIOV(), and makeMapTag().
void XMLDocument::addData | ( | DOMElement * | fData, |
const HcalPedestal & | fItem | ||
) |
Definition at line 255 of file HcalDbXml.cc.
References HcalPedestal::getValue(), and newValue().
void XMLDocument::addData | ( | DOMElement * | fData, |
const HcalPedestalWidth & | fItem | ||
) |
Definition at line 262 of file HcalDbXml.cc.
References HcalPedestalWidth::getSigma(), and newValue().
void XMLDocument::addData | ( | DOMElement * | fData, |
const HcalGain & | fItem | ||
) |
Definition at line 276 of file HcalDbXml.cc.
References HcalGain::getValue(), and newValue().
void XMLDocument::addData | ( | DOMElement * | fData, |
const HcalRawGain & | fItem | ||
) |
Definition at line 283 of file HcalDbXml.cc.
References HcalRawGain::getError(), HcalRawGain::getValue(), HcalRawGain::getVoltage(), newValue(), and HcalRawGain::strStatus().
void XMLDocument::addData | ( | DOMElement * | fData, |
const HcalGainWidth & | fItem | ||
) |
Definition at line 290 of file HcalDbXml.cc.
References HcalGainWidth::getValue(), and newValue().
const DOMDocument * XMLDocument::document | ( | ) |
DOMElement * XMLDocument::makeChId | ( | DOMElement * | fDataset, |
DetId | fId | ||
) |
Definition at line 171 of file HcalDbXml.cc.
References funct::abs(), PVValHelper::eta, newElement(), newValue(), writedatasetfile::parser, and DetId::rawId().
Referenced by makeElementDataset().
DOMElement * XMLDocument::makeData | ( | DOMElement * | fDataset, |
const HcalPedestal & | fPed, | ||
const HcalPedestalWidth & | fWidth | ||
) |
Definition at line 297 of file HcalDbXml.cc.
References data, HcalPedestalWidth::getSigma(), HcalPedestal::getValue(), newElement(), and newValue().
DOMElement * XMLDocument::makeData | ( | DOMElement * | fDataset | ) |
Definition at line 253 of file HcalDbXml.cc.
References newElement().
DOMElement * XMLDocument::makeDataset | ( | DOMElement * | fRoot, |
const std::string & | fVersion | ||
) |
Definition at line 165 of file HcalDbXml.cc.
References writedatasetfile::dataset, newElement(), and newValue().
DOMElement * XMLDocument::makeElement | ( | DOMElement * | fRoot | ) |
Definition at line 225 of file HcalDbXml.cc.
References newElement().
DOMElement * XMLDocument::makeElementDataset | ( | DOMElement * | fElement, |
int | fXMLId, | ||
DetId | fDetId, | ||
const std::string & | fVersion, | ||
const std::string & | fKind, | ||
unsigned long | fRun | ||
) |
Definition at line 185 of file HcalDbXml.cc.
References addAttribute(), writedatasetfile::dataset, makeChId(), makeRun(), newElement(), and newValue().
DOMElement * XMLDocument::makeElementIOV | ( | DOMElement * | fElement, |
unsigned long long | fIovBegin, | ||
unsigned long long | fIovEnd = 0 |
||
) |
Definition at line 200 of file HcalDbXml.cc.
References addAttribute(), newElement(), and newValue().
DOMElement * XMLDocument::makeElementTag | ( | DOMElement * | fElement, |
const std::string & | fTagName, | ||
const std::string & | fDetectorName, | ||
const std::string & | fComment = "Automatically created by HcalDbXml" |
||
) |
Definition at line 212 of file HcalDbXml.cc.
References addAttribute(), newElement(), newValue(), and makeGlobalPositionRcd_cfg::tag.
DOMElement * XMLDocument::makeHeader | ( | DOMElement * | fRoot, |
const std::string & | fExtensionName, | ||
unsigned long | fRun | ||
) |
Definition at line 144 of file HcalDbXml.cc.
References RecoTauValidation_cfi::header, makeRun(), makeType(), and newElement().
DOMElement * XMLDocument::makeMapDataset | ( | DOMElement * | fIov, |
int | fXMLId | ||
) |
Definition at line 247 of file HcalDbXml.cc.
References addAttribute(), and newElement().
DOMElement * XMLDocument::makeMapIOV | ( | DOMElement * | fTag | ) |
Definition at line 241 of file HcalDbXml.cc.
References addAttribute(), and newElement().
DOMElement * XMLDocument::makeMaps | ( | DOMElement * | fRoot | ) |
Definition at line 230 of file HcalDbXml.cc.
References genParticles_cff::map, and newElement().
DOMElement * XMLDocument::makeMapTag | ( | DOMElement * | fMap | ) |
Definition at line 235 of file HcalDbXml.cc.
References addAttribute(), newElement(), and makeGlobalPositionRcd_cfg::tag.
DOMElement * XMLDocument::makeRun | ( | DOMElement * | fHeader, |
unsigned long | fRun | ||
) |
Definition at line 158 of file HcalDbXml.cc.
References newElement(), newValue(), and writedatasetfile::run.
Referenced by makeElementDataset(), and makeHeader().
DOMElement * XMLDocument::makeType | ( | DOMElement * | fHeader, |
const std::string & | fExtensionName | ||
) |
Definition at line 151 of file HcalDbXml.cc.
References newElement(), and newValue().
Referenced by makeHeader().
DOMElement * XMLDocument::newElement | ( | DOMElement * | fParent, |
const T & | fName | ||
) |
Definition at line 123 of file HcalDbXml.cc.
References fileCollector2::fName, and mDoc.
Referenced by makeChId(), makeData(), makeDataset(), makeElement(), makeElementDataset(), makeElementIOV(), makeElementTag(), makeHeader(), makeMapDataset(), makeMapIOV(), makeMaps(), makeMapTag(), makeRun(), makeType(), and newValue().
DOMElement * XMLDocument::newValue | ( | DOMElement * | fParent, |
const std::string & | fName, | ||
const T & | fValue | ||
) |
Definition at line 130 of file HcalDbXml.cc.
References fileCollector2::fName, mDoc, newElement(), and submitPVValidationJobs::text.
Referenced by addData(), makeChId(), makeData(), makeDataset(), makeElementDataset(), makeElementIOV(), makeElementTag(), makeRun(), and makeType().
DOMElement * XMLDocument::root | ( | ) |
void XMLDocument::streamOut | ( | std::ostream & | fOut | ) |
Definition at line 320 of file HcalDbXml.cc.
References mDoc, mDom, and root().
|
private |
Definition at line 111 of file HcalDbXml.cc.
Referenced by document(), newElement(), newValue(), root(), streamOut(), and XMLDocument().
|
private |
Definition at line 110 of file HcalDbXml.cc.
Referenced by streamOut(), and XMLDocument().