#include <vector>
#include <string>
#include <cstdio>
#include <sstream>
#include <memory>
#include "DataFormats/HcalDetId/interface/HcalGenericDetId.h"
#include "DataFormats/HcalDetId/interface/HcalElectronicsId.h"
#include "DataFormats/HcalDetId/interface/HcalDcsDetId.h"
#include "CalibFormats/HcalObjects/interface/HcalText2DetIdConverter.h"
#include "CondFormats/HcalObjects/interface/AllObjects.h"
#include "CalibCalorimetry/HcalAlgos/interface/HcalDbASCIIIO.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
Go to the source code of this file.
Namespaces | |
HcalDbASCIIIO | |
Functions | |
template<> | |
std::unique_ptr< HcalDcsMap > | HcalDbASCIIIO::createObject< HcalDcsMap > (std::istream &fInput) |
template<> | |
std::unique_ptr< HcalElectronicsMap > | HcalDbASCIIIO::createObject< HcalElectronicsMap > (std::istream &fInput) |
template<> | |
std::unique_ptr< HcalFrontEndMap > | HcalDbASCIIIO::createObject< HcalFrontEndMap > (std::istream &fInput) |
template<> | |
std::unique_ptr< HcalSiPMCharacteristics > | HcalDbASCIIIO::createObject< HcalSiPMCharacteristics > (std::istream &fInput) |
template<class T > | |
bool | dumpHcalMatrixObject (std::ostream &fOutput, const T &fObject) |
template<class T > | |
bool | dumpHcalObject (std::ostream &fOutput, const T &fObject) |
template<class T > | |
bool | dumpHcalSingleFloatObject (std::ostream &fOutput, const T &fObject) |
template<class T > | |
bool | dumpHcalSingleIntObject (std::ostream &fOutput, const T &fObject) |
template<class T > | |
bool | from_string (T &t, const std::string &s, std::ios_base &(*f)(std::ios_base &)) |
template<class T , class S > | |
bool | getHcalMatrixObject (std::istream &fInput, T *fObject, S *fCondObject) |
template<class T , class S > | |
bool | getHcalObject (std::istream &fInput, T *fObject, S *fCondObject) |
template<class T , class S > | |
bool | getHcalSingleFloatObject (std::istream &fInput, T *fObject, S *fCondObject) |
template<class T , class S > | |
bool | getHcalSingleIntObject (std::istream &fInput, T *fObject, S *fCondObject) |
std::vector< std::string > | splitString (const std::string &fLine) |
std::vector< double > | splitStringToDoubleByComma (const std::string &fLine) |
std::vector< float > | splitStringToFloatByComma (const std::string &fLine) |
std::vector< unsigned int > | splitStringToIntByComma (const std::string &fLine) |
bool dumpHcalMatrixObject | ( | std::ostream & | fOutput, |
const T & | fObject | ||
) |
Definition at line 328 of file HcalDbASCIIIO.cc.
References HcalCalibrationQIEData::addCoder(), HcalQIEData::addCoder(), HcalCondObjectContainer< Item >::addValues(), stringResolutionProvider_cfi::bin, HcalMCParam::binOfMaximum(), edmScanValgrind::buffer, HcalRecoParam::correctForLeadingEdge(), HcalRecoParam::correctForPhaseContainment(), HcalRecoParam::correctForTimeslew(), HcalRecoParam::correctionPhaseNS(), HcalRecoParam::correctTiming(), dumpHcalObject(), dumpHcalSingleFloatObject(), dumpHcalSingleIntObject(), CastorDbASCIIIO::dumpId(), HcalDbASCIIIO::dumpId(), HcalDbASCIIIO::dumpIdShort(), HcalDbASCIIIO::dumpObject(), HcalRecoParam::firstAuxTS(), HcalRecoParam::firstSample(), HcalL1TriggerObjects::getAlgoString(), HcalCondObjectContainer< Item >::getAllChannels(), HcalCalibrationQIEData::getCoder(), HcalQIEData::getCoder(), HcalL1TriggerObject::getFlag(), getHcalObject(), getHcalSingleFloatObject(), getHcalSingleIntObject(), getId(), HcalDbASCIIIO::getId(), HcalDbASCIIIO::getObject(), HcalL1TriggerObject::getPedestal(), HcalL1TriggerObject::getRespGain(), HcalPedestalWidth::getSigma(), HcalL1TriggerObjects::getTagString(), HcalChannelStatus::getValue(), HcalPedestal::getValues(), HcalCondObjectContainer< Item >::getValues(), mps_fire::i, HcalPedestalWidths::isADC(), HcalPedestals::isADC(), HcalGenericDetId::isHcalZDCDetId(), HcalRecoParam::leakCorrectionID(), funct::m, HcalCalibrationQIECoder::minCharges(), HcalTimingParam::nhits(), HcalRecoParam::noiseFlaggingID(), HcalLongRecoParam::noiseTS(), HcalQIECoder::offset(), HcalRecoParam::packingScheme(), HcalMCParam::packingScheme(), HcalRecoParam::param1(), HcalMCParam::param1(), HcalRecoParam::param2(), HcalTimingParam::phase(), hcalRecAlgoESProd_cfi::phase, HcalRecoParam::pileupCleaningID(), HcalRecoParam::pulseShapeID(), HcalTimingParam::rms(), HcalRecoParam::samplesToAdd(), HcalL1TriggerObjects::setAlgoString(), HcalCalibrationQIECoder::setMinCharges(), HcalQIECoder::setOffset(), HcalPedestalWidth::setSigma(), HcalQIECoder::setSlope(), HcalL1TriggerObjects::setTagString(), HcalPedestals::setUnitADC(), HcalPedestalWidths::setUnitADC(), HcalMCParam::signalShape(), HcalLongRecoParam::signalTS(), HcalQIECoder::slope(), HcalCalibrationQIEData::sort(), HcalQIEData::sort(), HcalRecoParam::specialCaseID(), splitString(), splitStringToIntByComma(), AlCaHLTBitMon_QueryRunRegistry::string, HcalMCParam::syncPhase(), HcalMCParam::timePhase(), HcalRecoParam::timeslewCorrectionID(), HcalMCParam::timeSmearing(), HcalRecoParam::useLeakCorrection(), and MuonErrorMatrixValues_cff::values.
bool dumpHcalObject | ( | std::ostream & | fOutput, |
const T & | fObject | ||
) |
Definition at line 193 of file HcalDbASCIIIO.cc.
References edmScanValgrind::buffer, HcalDbASCIIIO::dumpId(), and MuonErrorMatrixValues_cff::values.
Referenced by dumpHcalMatrixObject().
bool dumpHcalSingleFloatObject | ( | std::ostream & | fOutput, |
const T & | fObject | ||
) |
Definition at line 240 of file HcalDbASCIIIO.cc.
References edmScanValgrind::buffer, and HcalDbASCIIIO::dumpId().
Referenced by dumpHcalMatrixObject().
bool dumpHcalSingleIntObject | ( | std::ostream & | fOutput, |
const T & | fObject | ||
) |
Definition at line 285 of file HcalDbASCIIIO.cc.
References edmScanValgrind::buffer, and HcalDbASCIIIO::dumpId().
Referenced by dumpHcalMatrixObject().
bool from_string | ( | T & | t, |
const std::string & | s, | ||
std::ios_base &(*)(std::ios_base &) | f | ||
) |
Definition at line 159 of file HcalDbASCIIIO.cc.
References f, cmsPerfPublish::fail(), and lumiQTWidget::t.
bool getHcalMatrixObject | ( | std::istream & | fInput, |
T * | fObject, | ||
S * | fCondObject | ||
) |
Definition at line 304 of file HcalDbASCIIIO.cc.
References edmScanValgrind::buffer, HcalDbASCIIIO::getId(), mps_fire::i, DetId::rawId(), S(), splitString(), and AlCaHLTBitMon_QueryRunRegistry::string.
bool getHcalObject | ( | std::istream & | fInput, |
T * | fObject, | ||
S * | fCondObject | ||
) |
Definition at line 165 of file HcalDbASCIIIO.cc.
References edmScanValgrind::buffer, HcalDbASCIIIO::getId(), S(), splitString(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by dumpHcalMatrixObject().
bool getHcalSingleFloatObject | ( | std::istream & | fInput, |
T * | fObject, | ||
S * | fCondObject | ||
) |
Definition at line 214 of file HcalDbASCIIIO.cc.
References edmScanValgrind::buffer, HcalDbASCIIIO::getId(), S(), splitString(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by dumpHcalMatrixObject().
bool getHcalSingleIntObject | ( | std::istream & | fInput, |
T * | fObject, | ||
S * | fCondObject | ||
) |
Definition at line 259 of file HcalDbASCIIIO.cc.
References edmScanValgrind::buffer, HcalDbASCIIIO::getId(), S(), splitString(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by dumpHcalMatrixObject().
std::vector<std::string> splitString | ( | const std::string & | fLine | ) |
Definition at line 54 of file HcalDbASCIIIO.cc.
References relativeConstraints::empty, mps_fire::i, mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by EgHLTOfflineClient::createLooseTightTrigEff(), HcalDbASCIIIO::createObject< HcalDcsMap >(), HcalDbASCIIIO::createObject< HcalElectronicsMap >(), HcalDbASCIIIO::createObject< HcalFrontEndMap >(), HcalDbASCIIIO::createObject< HcalSiPMCharacteristics >(), dumpHcalMatrixObject(), ElectronEnergyCalibrator::ElectronEnergyCalibrator(), getHcalMatrixObject(), getHcalObject(), getHcalSingleFloatObject(), getHcalSingleIntObject(), HcalQIEManager::getHfQieTable(), HcalQIEManager::getQIETableFromFile(), egHLT::MonElemFuncs::initTightLooseDiObjTrigHistsTrigCuts(), egHLT::MonElemFuncs::initTightLooseTrigHists(), and egHLT::MonElemFuncs::initTightLooseTrigHistsTrigCuts().
std::vector<double> splitStringToDoubleByComma | ( | const std::string & | fLine | ) |
Definition at line 114 of file HcalDbASCIIIO.cc.
References edmScanValgrind::buffer, HcalDbASCIIIO::dumpId(), HcalDbASCIIIO::dumpIdShort(), relativeConstraints::empty, HcalText2DetIdConverter::getField1(), HcalText2DetIdConverter::getField2(), HcalText2DetIdConverter::getField3(), HcalText2DetIdConverter::getFlavor(), HcalText2DetIdConverter::getId(), HcalDbASCIIIO::getId(), mps_fire::i, mps_monitormerge::items, mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by HcalDbASCIIIO::createObject< HcalDcsMap >().
std::vector<float> splitStringToFloatByComma | ( | const std::string & | fLine | ) |
Definition at line 94 of file HcalDbASCIIIO.cc.
References relativeConstraints::empty, mps_fire::i, mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.
std::vector<unsigned int> splitStringToIntByComma | ( | const std::string & | fLine | ) |
Definition at line 74 of file HcalDbASCIIIO.cc.
References relativeConstraints::empty, mps_fire::i, mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by dumpHcalMatrixObject().