#include <vector>
#include <string>
#include <cstdio>
#include <sstream>
#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.
Functions | |
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 327 of file HcalDbASCIIIO.cc.
References HcalDbASCIIIO::dumpId(), i, j, m, and python.multivaluedict::sort().
bool dumpHcalObject | ( | std::ostream & | fOutput, |
const T & | fObject | ||
) |
Definition at line 192 of file HcalDbASCIIIO.cc.
References HcalDbASCIIIO::dumpId(), python.multivaluedict::sort(), and makeHLTPrescaleTable::values.
bool dumpHcalSingleFloatObject | ( | std::ostream & | fOutput, |
const T & | fObject | ||
) |
Definition at line 239 of file HcalDbASCIIIO.cc.
References HcalDbASCIIIO::dumpId(), python.multivaluedict::sort(), and relativeConstraints::value.
bool dumpHcalSingleIntObject | ( | std::ostream & | fOutput, |
const T & | fObject | ||
) |
Definition at line 284 of file HcalDbASCIIIO.cc.
References HcalDbASCIIIO::dumpId(), python.multivaluedict::sort(), and relativeConstraints::value.
bool HcalDbOmds::from_string | ( | T & | t, |
const std::string & | s, | ||
std::ios_base &(*)(std::ios_base &) | f | ||
) |
Definition at line 158 of file HcalDbASCIIIO.cc.
bool getHcalMatrixObject | ( | std::istream & | fInput, |
T * | fObject, | ||
S * | fCondObject | ||
) |
Definition at line 303 of file HcalDbASCIIIO.cc.
References HcalDbASCIIIO::getId(), i, j, DetId::rawId(), splitString(), and AlCaHLTBitMon_QueryRunRegistry::string.
bool getHcalObject | ( | std::istream & | fInput, |
T * | fObject, | ||
S * | fCondObject | ||
) |
Definition at line 164 of file HcalDbASCIIIO.cc.
References HcalDbASCIIIO::getId(), splitString(), and AlCaHLTBitMon_QueryRunRegistry::string.
bool getHcalSingleFloatObject | ( | std::istream & | fInput, |
T * | fObject, | ||
S * | fCondObject | ||
) |
Definition at line 213 of file HcalDbASCIIIO.cc.
References HcalDbASCIIIO::getId(), splitString(), and AlCaHLTBitMon_QueryRunRegistry::string.
bool getHcalSingleIntObject | ( | std::istream & | fInput, |
T * | fObject, | ||
S * | fCondObject | ||
) |
Definition at line 258 of file HcalDbASCIIIO.cc.
References HcalDbASCIIIO::getId(), splitString(), and AlCaHLTBitMon_QueryRunRegistry::string.
std::vector<std::string> splitString | ( | const std::string & | fLine | ) |
Definition at line 53 of file HcalDbASCIIIO.cc.
References relativeConstraints::empty, i, query::result, dqm_diff::start, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by EgHLTOfflineClient::createLooseTightTrigEff(), getHcalMatrixObject(), getHcalObject(), getHcalSingleFloatObject(), getHcalSingleIntObject(), HcalQIEManager::getHfQieTable(), HcalQIEManager::getQIETableFromFile(), ElectronEnergyCalibrator::init(), egHLT::MonElemFuncs::initTightLooseDiObjTrigHistsTrigCuts(), egHLT::MonElemFuncs::initTightLooseTrigHists(), and egHLT::MonElemFuncs::initTightLooseTrigHistsTrigCuts().
std::vector<double> splitStringToDoubleByComma | ( | const std::string & | fLine | ) |
Definition at line 113 of file HcalDbASCIIIO.cc.
References relativeConstraints::empty, i, query::result, dqm_diff::start, and AlCaHLTBitMon_QueryRunRegistry::string.
std::vector<float> splitStringToFloatByComma | ( | const std::string & | fLine | ) |
Definition at line 93 of file HcalDbASCIIIO.cc.
References relativeConstraints::empty, i, query::result, dqm_diff::start, and AlCaHLTBitMon_QueryRunRegistry::string.
std::vector<unsigned int> splitStringToIntByComma | ( | const std::string & | fLine | ) |
Definition at line 73 of file HcalDbASCIIIO.cc.
References relativeConstraints::empty, i, query::result, dqm_diff::start, and AlCaHLTBitMon_QueryRunRegistry::string.