#include <vector>
#include <string>
#include <cstdio>
#include <sstream>
#include <memory>
#include <iostream>
#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) |
bool | HcalDbASCIIIO::dumpObject (std::ostream &fOutput, const HcalGains &fObject) |
bool | HcalDbASCIIIO::dumpObject (std::ostream &fOutput, const HcalGainWidths &fObject) |
bool | HcalDbASCIIIO::dumpObject (std::ostream &fOutput, const HcalQIETypes &fObject) |
bool | HcalDbASCIIIO::dumpObject (std::ostream &fOutput, const HcalRespCorrs &fObject) |
bool | HcalDbASCIIIO::dumpObject (std::ostream &fOutput, const HcalLUTCorrs &fObject) |
bool | HcalDbASCIIIO::dumpObject (std::ostream &fOutput, const HcalPFCorrs &fObject) |
bool | HcalDbASCIIIO::dumpObject (std::ostream &fOutput, const HcalTimeCorrs &fObject) |
bool | HcalDbASCIIIO::dumpObject (std::ostream &fOutput, const HcalZSThresholds &fObject) |
bool | HcalDbASCIIIO::dumpObject (std::ostream &fOutput, const HcalValidationCorrs &fObject) |
bool | HcalDbASCIIIO::dumpObject (std::ostream &fOutput, const HcalZDCLowGainFractions &fObject) |
template<class T > | |
bool | from_string (T &t, const std::string &s, std::ios_base &(*f)(std::ios_base &)) |
template<class S , class T > | |
bool | getHcalMatrixObject (std::istream &fInput, T *fObject, S *fCondObject) |
template<class S , class T > | |
bool | getHcalObject (std::istream &fInput, T *fObject) |
template<class ObjectPrimitiveType , class S , class T > | |
bool | getHcalSingleObject (std::istream &fInput, T *fObject) |
bool | HcalDbASCIIIO::getObject (std::istream &fInput, HcalGains *fObject) |
bool | HcalDbASCIIIO::getObject (std::istream &fInput, HcalGainWidths *fObject) |
bool | HcalDbASCIIIO::getObject (std::istream &fInput, HcalQIETypes *fObject) |
bool | HcalDbASCIIIO::getObject (std::istream &fInput, HcalRespCorrs *fObject) |
bool | HcalDbASCIIIO::getObject (std::istream &fInput, HcalLUTCorrs *fObject) |
bool | HcalDbASCIIIO::getObject (std::istream &fInput, HcalPFCorrs *fObject) |
bool | HcalDbASCIIIO::getObject (std::istream &fInput, HcalTimeCorrs *fObject) |
bool | HcalDbASCIIIO::getObject (std::istream &fInput, HcalZSThresholds *fObject) |
bool | HcalDbASCIIIO::getObject (std::istream &fInput, HcalValidationCorrs *fObject) |
bool | HcalDbASCIIIO::getObject (std::istream &fInput, HcalZDCLowGainFractions *fObject) |
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 327 of file HcalDbASCIIIO.cc.
References edmScanValgrind::buffer, ewkTauDQM_cfi::channels, HcalDbASCIIIO::dumpId(), mps_fire::i, dqmiolumiharvest::j, visualization-live-secondInstance_cfg::m, and jetsAK4_CHS_cff::sort.
bool dumpHcalObject | ( | std::ostream & | fOutput, |
const T & | fObject | ||
) |
Definition at line 204 of file HcalDbASCIIIO.cc.
References edmScanValgrind::buffer, ewkTauDQM_cfi::channels, HcalDbASCIIIO::dumpId(), jetsAK4_CHS_cff::sort, and contentValuesCheck::values.
Referenced by HcalDbASCIIIO::dumpObject().
bool dumpHcalSingleFloatObject | ( | std::ostream & | fOutput, |
const T & | fObject | ||
) |
Definition at line 265 of file HcalDbASCIIIO.cc.
References edmScanValgrind::buffer, ewkTauDQM_cfi::channels, HcalDbASCIIIO::dumpId(), and jetsAK4_CHS_cff::sort.
Referenced by HcalDbASCIIIO::dumpObject().
bool dumpHcalSingleIntObject | ( | std::ostream & | fOutput, |
const T & | fObject | ||
) |
Definition at line 281 of file HcalDbASCIIIO.cc.
References edmScanValgrind::buffer, ewkTauDQM_cfi::channels, HcalDbASCIIIO::dumpId(), and jetsAK4_CHS_cff::sort.
Referenced by HcalDbASCIIIO::dumpObject().
bool from_string | ( | T & | t, |
const std::string & | s, | ||
std::ios_base &(*)(std::ios_base &) | f | ||
) |
Definition at line 167 of file HcalDbASCIIIO.cc.
References f, alignCSCRings::s, and submitPVValidationJobs::t.
bool getHcalMatrixObject | ( | std::istream & | fInput, |
T * | fObject, | ||
S * | fCondObject | ||
) |
Definition at line 297 of file HcalDbASCIIIO.cc.
References edmScanValgrind::buffer, HcalDbASCIIIO::getId(), mps_fire::i, mps_monitormerge::items, dqmiolumiharvest::j, DetId::rawId(), splitString(), and AlCaHLTBitMon_QueryRunRegistry::string.
bool getHcalObject | ( | std::istream & | fInput, |
T * | fObject | ||
) |
Definition at line 173 of file HcalDbASCIIIO.cc.
References edmScanValgrind::buffer, HcalDbASCIIIO::getId(), mps_monitormerge::items, splitString(), and AlCaHLTBitMon_QueryRunRegistry::string.
bool getHcalSingleObject | ( | std::istream & | fInput, |
T * | fObject | ||
) |
Definition at line 233 of file HcalDbASCIIIO.cc.
References edmScanValgrind::buffer, HcalDbASCIIIO::getId(), mps_monitormerge::items, splitString(), contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, and x.
std::vector<std::string> splitString | ( | const std::string & | fLine | ) |
Definition at line 55 of file HcalDbASCIIIO.cc.
References relativeConstraints::empty, mps_fire::i, B2GTnPMonitor_cfi::item, mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by EgHLTOfflineClient::createLooseTightTrigEff(), HcalDbASCIIIO::createObject< HcalDcsMap >(), HcalDbASCIIIO::createObject< HcalElectronicsMap >(), HcalDbASCIIIO::createObject< HcalFrontEndMap >(), HcalDbASCIIIO::createObject< HcalSiPMCharacteristics >(), getHcalMatrixObject(), getHcalObject(), getHcalSingleObject(), HcalQIEManager::getHfQieTable(), HcalQIEManager::getQIETableFromFile(), HGCalNumberingScheme::HGCalNumberingScheme(), HGCScintSD::HGCScintSD(), egHLT::MonElemFuncs::initTightLooseDiObjTrigHistsTrigCuts(), egHLT::MonElemFuncs::initTightLooseTrigHists(), and egHLT::MonElemFuncs::initTightLooseTrigHistsTrigCuts().
std::vector<double> splitStringToDoubleByComma | ( | const std::string & | fLine | ) |
Definition at line 115 of file HcalDbASCIIIO.cc.
References relativeConstraints::empty, mps_fire::i, mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.
std::vector<float> splitStringToFloatByComma | ( | const std::string & | fLine | ) |
Definition at line 95 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 75 of file HcalDbASCIIIO.cc.
References relativeConstraints::empty, mps_fire::i, mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.